From e514b751800c6a2038bd50b252b9a5b83ed64dcd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 May 2010 19:44:42 +0200 Subject: [PATCH] vlc: added libmtp dependency. --- srcpkgs/vlc/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/vlc/template b/srcpkgs/vlc/template index 1fef7f9dbc0..13f46839e47 100644 --- a/srcpkgs/vlc/template +++ b/srcpkgs/vlc/template @@ -1,13 +1,13 @@ # Template file for 'vlc' pkgname=vlc version=1.0.6 -revision=1 +revision=2 distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2" build_style=gnu_configure -configure_args="--disable-hal --disable-mtp --disable-gme +configure_args="--disable-hal --disable-gme --disable-libtar --disable-telepathy --disable-lua --disable-live555 --disable-pulse --enable-dvdread --disable-smb --disable-vcdinfo --enable-cddax ---disable-libtar --enable-flac --enable-xvmc --enable-snapshot" +--enable-flac --enable-xvmc --enable-snapshot" short_desc="VideoLan Client" maintainer="Juan RP " checksum=f521933e7a1021746d8ecde6caa2f9d1b43187ab2e13df6abc07540e415e1842 @@ -21,7 +21,7 @@ long_desc=" over unicast or multicast and IPv4 or IPv6. It doesn't need any external codec, program or codec pack to work." -# XXX Add missing deps: libmtp, gme, telepathy, lua, live555, pulse +# XXX Add missing deps: gme, telepathy, lua, live555, pulse # smbclient, libtar (for skins2). Add_dependency run glibc @@ -83,6 +83,9 @@ Add_dependency run libcdio Add_dependency run libdvdread Add_dependency run libdvdnav Add_dependency run libsysfs +Add_dependency run libusb-compat +Add_dependency run libmtp + Add_dependency build pkg-config Add_dependency build glibc-devel Add_dependency build videoproto @@ -143,6 +146,8 @@ Add_dependency build libcdio-devel Add_dependency build libdvdread-devel Add_dependency build libdvdnav-devel Add_dependency build libsysfs-devel +Add_dependency build libusb-compat-devel +Add_dependency build libmtp-devel Add_dependency build coreutils pre_configure() @@ -161,7 +166,7 @@ post_install() rm -f ${DESTDIR}/usr/bin/vlc-config rm -f ${DESTDIR}/usr/share/man/man1/vlc-config.1 - mkdir -p ${DESTDIR}/usr/share/pixmaps + install -d ${DESTDIR}/usr/share/pixmaps || return 1 cd ${DESTDIR}/usr/share/pixmaps && \ ln -sf ../vlc/vlc48x48.png vlc.png || return 1 }