vlc: added libmtp dependency.

This commit is contained in:
Juan RP 2010-05-09 19:44:42 +02:00
parent 97adf4e62a
commit e514b75180

View file

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