Added libdvdnav-4.1.3 build template.

--HG--
extra : convert_revision : c31ca606e7b87f5ae5e46920a19732a72169f59a
This commit is contained in:
Juan RP 2009-12-30 02:18:54 +01:00
parent 2816ffb829
commit b272f872e0
4 changed files with 51 additions and 0 deletions

1
srcpkgs/libdvdnav-devel Symbolic link
View File

@ -0,0 +1 @@
libdvdnav

View File

@ -0,0 +1,2 @@
abi_depends=">=4.1.3"
api_depends="${abi_depends}"

View File

@ -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
}

View File

@ -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 <xtraeme@gmail.com>"
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
}