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
|
Wed Dec 17 16:17:23 UTC 2014 - joerg.lorenzen@ki.tng.de
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname 1
|
||||||
|
|
||||||
Name: libbluray
|
Name: libbluray
|
||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -31,6 +33,7 @@ BuildRequires: libtool
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(freetype2)
|
BuildRequires: pkgconfig(freetype2)
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6
|
||||||
|
BuildRequires: ant
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%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
|
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.
|
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
|
Summary: Library to access Blu-Ray disk
|
||||||
Group: Productivity/Multimedia/Other
|
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
|
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
|
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.
|
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
|
%package devel
|
||||||
Summary: Library to access Blu-Ray disks - Development files
|
Summary: Library to access Blu-Ray disks - Development files
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libbluray1 = %{version}
|
Requires: libbluray%{soname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library is written for the purpose of playing Blu-ray movies. It is
|
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
|
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.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --disable-static
|
%configure --disable-static --enable-bdjava
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
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
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/bd_info
|
%{_bindir}/bd_info
|
||||||
|
|
||||||
%files -n libbluray1
|
%files -n libbluray%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/libbluray.so.*
|
%{_libdir}/libbluray.so.*
|
||||||
@ -97,4 +112,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/libbluray.so
|
%{_libdir}/libbluray.so
|
||||||
%{_libdir}/pkgconfig/libbluray.pc
|
%{_libdir}/pkgconfig/libbluray.pc
|
||||||
|
|
||||||
|
%files bdj
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_javadir}/libbluray-j2se-%{version}.jar
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user