forked from pool/libbluray
Accepting request 265729 from home:enzokiel:branches:multimedia:libs
- Enable BD-J support. OBS-URL: https://build.opensuse.org/request/show/265729 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=23
This commit is contained in:
parent
c48314343c
commit
a0b7759053
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 18 11:15:47 UTC 2014 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Enable BD-J support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 17 16:17:23 UTC 2014 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
|
@ -17,6 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define soname 1
|
||||
|
||||
Name: libbluray
|
||||
Version: 0.6.2
|
||||
Release: 0
|
||||
@ -31,6 +33,7 @@ BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
||||
BuildRequires: ant
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -38,11 +41,11 @@ This library is written for the purpose of playing Blu-ray movies. It is
|
||||
intended for software that want to support Blu-ray playback (such as VLC and
|
||||
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
|
||||
%package -n libbluray1
|
||||
%package -n libbluray%{soname}
|
||||
Summary: Library to access Blu-Ray disk
|
||||
Group: Productivity/Multimedia/Other
|
||||
|
||||
%description -n libbluray1
|
||||
%description -n libbluray%{soname}
|
||||
This library is written for the purpose of playing Blu-ray movies. It is
|
||||
intended for software that want to support Blu-ray playback (such as VLC and
|
||||
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
@ -59,34 +62,46 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
%package devel
|
||||
Summary: Library to access Blu-Ray disks - Development files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libbluray1 = %{version}
|
||||
Requires: libbluray%{soname} = %{version}
|
||||
|
||||
%description devel
|
||||
This library is written for the purpose of playing Blu-ray movies. It is
|
||||
intended for software that want to support Blu-ray playback (such as VLC and
|
||||
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
|
||||
%package bdj
|
||||
Summary: Library to access Blu-Ray disk - BD-J support
|
||||
Group: Development/Libraries/Java
|
||||
Requires: java >= 1.6
|
||||
Requires: jpackage-utils
|
||||
BuildArch: noarch
|
||||
|
||||
%description bdj
|
||||
This library is written for the purpose of playing Blu-ray movies. It is
|
||||
intended for software that want to support Blu-ray playback (such as VLC and
|
||||
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --disable-static
|
||||
%configure --disable-static --enable-bdjava
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libbluray1 -p /sbin/ldconfig
|
||||
%post -n libbluray%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbluray1 -p /sbin/ldconfig
|
||||
%postun -n libbluray%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/bd_info
|
||||
|
||||
%files -n libbluray1
|
||||
%files -n libbluray%{soname}
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libbluray.so.*
|
||||
@ -97,4 +112,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/libbluray.so
|
||||
%{_libdir}/pkgconfig/libbluray.pc
|
||||
|
||||
%files bdj
|
||||
%defattr(-, root, root)
|
||||
%{_javadir}/libbluray-j2se-%{version}.jar
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user