diff --git a/common/shlibs b/common/shlibs index 57b2ffc64f4..0a2c959bb10 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1436,3 +1436,4 @@ libgfxdr.so.0 libglusterfs-3.4.1_1 libgfapi.so.0 libglusterfs-3.4.1_1 libsnapper.so.2 libsnapper-0.1.7_1 libtsm.so.3 libtsm-3_1 +libxine.so.2 libxine-1.2.4_1 diff --git a/srcpkgs/libxine b/srcpkgs/libxine new file mode 120000 index 00000000000..8834feeccde --- /dev/null +++ b/srcpkgs/libxine @@ -0,0 +1 @@ +xine-lib \ No newline at end of file diff --git a/srcpkgs/xine-lib-devel b/srcpkgs/xine-lib-devel new file mode 120000 index 00000000000..8834feeccde --- /dev/null +++ b/srcpkgs/xine-lib-devel @@ -0,0 +1 @@ +xine-lib \ No newline at end of file diff --git a/srcpkgs/xine-lib/template b/srcpkgs/xine-lib/template new file mode 100644 index 00000000000..5e82c38dce4 --- /dev/null +++ b/srcpkgs/xine-lib/template @@ -0,0 +1,55 @@ +# Template file for 'xine-lib' +pkgname=xine-lib +version=1.2.4 +revision=1 +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 " +license="GPL, LGPL" +homepage="http://www.xine-project.org" +distfiles="${SOURCEFORGE_SITE}/xine/$pkgname-$version.tar.xz" +checksum=9c5b1b4ef7bd0591962c322a3afa709eeaa5bae664678548f1340e64f43abbdd + +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" + } +} + +xine-lib_package() { + pkg_install() { + vmove all + } +}