From b272f872e0af832d4b13ed44d78deda2cf67fa81 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Dec 2009 02:18:54 +0100 Subject: [PATCH] Added libdvdnav-4.1.3 build template. --HG-- extra : convert_revision : c31ca606e7b87f5ae5e46920a19732a72169f59a --- srcpkgs/libdvdnav-devel | 1 + srcpkgs/libdvdnav/depends | 2 ++ srcpkgs/libdvdnav/libdvdnav-devel.template | 19 ++++++++++++++ srcpkgs/libdvdnav/template | 29 ++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 120000 srcpkgs/libdvdnav-devel create mode 100644 srcpkgs/libdvdnav/depends create mode 100644 srcpkgs/libdvdnav/libdvdnav-devel.template create mode 100644 srcpkgs/libdvdnav/template diff --git a/srcpkgs/libdvdnav-devel b/srcpkgs/libdvdnav-devel new file mode 120000 index 00000000000..ab8c67834e3 --- /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 00000000000..81d23b88dfb --- /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 00000000000..39ec9e0eedc --- /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 00000000000..f399b4b4700 --- /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 +}