libdvdnav: cross build support.
This commit is contained in:
parent
10f949c418
commit
12bc14d882
1 changed files with 10 additions and 15 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'libdvdnav'
|
# Template file for 'libdvdnav'
|
||||||
pkgname=libdvdnav
|
pkgname=libdvdnav
|
||||||
version=4.2.0
|
version=4.2.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-dvdread-config=/bin/true"
|
||||||
hostmakedepends="libtool automake"
|
hostmakedepends="libtool automake"
|
||||||
makedepends="libdvdread-devel"
|
makedepends="libdvdread-devel"
|
||||||
short_desc="Library to navigate DVDs"
|
short_desc="Library to navigate DVDs"
|
||||||
|
@ -11,34 +12,28 @@ license="GPL-2"
|
||||||
homepage="http://dvdnav.mplayerhq.hu/"
|
homepage="http://dvdnav.mplayerhq.hu/"
|
||||||
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2"
|
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2"
|
||||||
checksum=8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550
|
checksum=8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550
|
||||||
long_desc="
|
|
||||||
libdvdnav is a library that allows easy use of sophisticated DVD navigation
|
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
|
||||||
features such as DVD menus, multiangle playback and even interactive DVD
|
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
|
||||||
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."
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
libdvdnav-devel_package() {
|
libdvdnav-devel_package() {
|
||||||
depends="libdvdread-devel libdvdnav>=${version}"
|
depends="libdvdread-devel libdvdnav>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin
|
vmove usr/bin
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libdvdnav_package() {
|
libdvdnav_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue