void-packages/srcpkgs/xine-lib/template

50 lines
1.5 KiB
Text
Raw Normal View History

2013-11-16 08:05:08 +00:00
# Template file for 'xine-lib'
pkgname=xine-lib
2014-04-16 07:16:48 +00:00
version=1.2.5
revision=1
2013-11-16 08:05:08 +00:00
build_style=gnu-configure
configure_args="
--disable-vcd --disable-gnomevfs --without-esound --disable-dxr3 --disable-oss"
hostmakedepends="libtool pkg-config perl"
makedepends="
zlib-devel alsa-lib-devel libxcb-devel libSM-devel libXext-devel libXv-devel
libXvMC-devel liba52-devel libmad-devel ffmpeg-devel pulseaudio-devel
jack-devel samba-devel libflac-devel libmodplug-devel libmpcdec-devel
speex-devel libtheora-devel libvorbis-devel libdca-devel faad2-devel
libcdio-devel libbluray-devel aalib-devel libcaca-devel libXinerama-devel
libjpeg-turbo-devel libmng-devel"
short_desc="A multimedia playback engine"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL"
homepage="http://www.xine-project.org"
distfiles="${SOURCEFORGE_SITE}/xine/$pkgname-$version.tar.xz"
2014-04-16 07:16:48 +00:00
checksum=c8ea4090d1fa83f8b6887118730547aa918862d60f43ea670089f9053e54ab7c
2013-11-16 08:05:08 +00:00
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
makedepends+=" libva-devel libvdpau-devel glu-devel"
fi
pre_configure() {
libtoolize -f
}
libxine_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
xine-lib-devel_package() {
short_desc+=" - development files"
depends="libxine>=${version}_${revision}"
pkg_install() {
vmove usr/bin/xine-config
vmove usr/share/aclocal
vmove usr/share/man/man1/xine-config.1
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}