diff --git a/srcpkgs/libdvdnav-devel b/srcpkgs/libdvdnav-devel new file mode 120000 index 0000000000..ab8c67834e --- /dev/null +++ b/srcpkgs/libdvdnav-devel @@ -0,0 +1 @@ +libdvdnav \ No newline at end of file diff --git a/srcpkgs/libdvdnav/depends b/srcpkgs/libdvdnav/depends new file mode 100644 index 0000000000..81d23b88df --- /dev/null +++ b/srcpkgs/libdvdnav/depends @@ -0,0 +1,2 @@ +abi_depends=">=4.1.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/libdvdnav/libdvdnav-devel.template b/srcpkgs/libdvdnav/libdvdnav-devel.template new file mode 100644 index 0000000000..39ec9e0eed --- /dev/null +++ b/srcpkgs/libdvdnav/libdvdnav-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libdvdread-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libdvdread-devel +Add_dependency run libdvdnav + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/libdvdnav/template b/srcpkgs/libdvdnav/template new file mode 100644 index 0000000000..f399b4b470 --- /dev/null +++ b/srcpkgs/libdvdnav/template @@ -0,0 +1,29 @@ +# Template file for 'libdvdnav' +pkgname=libdvdnav +version=4.1.3 +distfiles="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Library to navigate DVDs" +maintainer="Juan RP " +checksum=e82a3d7b3c342a895a332fc0fb2281f40ff9978cb8cbb8bf1343fcad0063759d +long_desc=" + libdvdnav is a library that allows easy use of sophisticated DVD navigation + features such as DVD menus, multiangle playback and even interactive DVD + games. All this functionality is provided through a simple API which + provides the DVD playback as a single logical stream of blocks, intermitted + by special dvdnav events to report certain conditions. The main usage of + libdvdnav is a loop regularly calling a function to get the next block, + surrounded by additional calls to tell the library of user interaction. + The whole DVD virtual machine and internal playback states are completely + encapsulated." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run libdvdread +Add_dependency build automake +Add_dependency build libdvdread-devel + +pre_configure() +{ + cd ${wrksrc} && autoreconf -vi +}