3 # Contributor: Adrian C. <anrxc..sysphere.org>
9 pkgdesc="A MPEG, VCD, DVD and DivX player with minimal dependencies"
10 arch=("i686" "x86_64")
11 url="http://www.videolan.org/vlc/"
13 depends=("libmad" "ffmpeg" "fribidi" "sysfsutils" "qt"
14 "libdvdread" "libxml2" "libraw1394" "a52dec" "x264"
15 "libmpeg2" "libv4l" "libavc1394" "live-media" "libxcb"
17 makedepends=("pkgconfig" "live-media" "lirc-utils" "ncurses")
18 optdepends=("libdvdcss: for decoding encrypted DVDs"
19 "lirc-utils: for lirc plugin"
20 "ncurses: for ncurses interface support")
23 backup=("usr/share/vlc/http/.hosts"
24 "usr/share/vlc/http/dialogs/.hosts")
26 install="${pkgname}.install"
27 source=("http://download.videolan.org/pub/videolan/${basename}/${pkgver}/${basename}-${pkgver}.tar.bz2")
28 md5sums=("9678fb7a04808b6e0de63746d35e4bb1")
32 cd "${srcdir}/${basename}-${pkgver}"
35 sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
36 ./configure --prefix=/usr \
37 --enable-loader --enable-live555 --with-live555-tree=/usr/lib/live \
38 --enable-optimize-memory --enable-optimizations \
39 --enable-sout --enable-dv --enable-dvdread --enable-vcd \
40 --enable-libass --enable-mad --enable-qt4 --enable-vlc \
41 --enable-a52 --enable-flac --enable-httpd --enable-realrtsp \
42 --enable-vorbis --enable-ogg --enable-theora --enable-snapshot \
43 --enable-xvideo --enable-xcb --enable-freetype --enable-fribidi \
44 --enable-fontconfig --enable-libxml2 --enable-alsa --enable-screen \
45 --enable-libmpeg2 --enable-faad --enable-vlm --enable-v4l --enable-v4l2 \
46 --enable-avcodec --enable-avformat --enable-x264 \
47 --enable-lirc --enable-ncurses \
48 --disable-udev --disable-dbus --disable-nls --disable-rpath --disable-mtp \
49 --disable-dbus-control --disable-telepathy --disable-debug \
50 --disable-gprof --disable-cprof --disable-run-as-root \
51 --disable-coverage --disable-switcher --disable-shout \
52 --disable-lua --disable-libproxy --disable-dvdnav --disable-oss \
53 --disable-libcddb --disable-growl --disable-notify \
54 --disable-taglib --disable-dc1394 --disable-pvr --disable-gnomevfs \
55 --disable-dshow --disable-bda --disable-opencv --disable-smb \
56 --disable-vcdx --disable-dvb --disable-libtar --disable-dca \
57 --disable-mkv --disable-mod --disable-mpc --disable-wma-fixed \
58 --disable-gme --disable-id3tag --disable-swscale --disable-shine \
59 --disable-postproc --disable-png --disable-fluidsynth \
60 --disable-twolame --disable-quicktime --disable-real \
61 --disable-dirac --disable-schroedinger --disable-opengl \
62 --disable-zvbi --disable-telx --disable-asademux --disable-tiger \
63 --disable-kate --disable-glx --disable-tremor --disable-speex \
64 --disable-sdl-image --disable-svg --disable-sdl \
65 --disable-hd1000v --disable-directx --disable-fb \
66 --disable-svgalib --disable-directfb --disable-ggi --disable-activex \
67 --disable-aa --disable-caca --disable-wingdi --disable-mozilla \
68 --disable-pulse --disable-portaudio --disable-omapfb \
69 --disable-waveout --disable-macosx-audio --disable-hd1000a \
70 --disable-jack --disable-cyberlink --disable-upnp \
71 --disable-skins2 --disable-fbosd --disable-visual \
72 --disable-macosx --disable-xosd --disable-goom --disable-atmo \
73 --disable-bonjour --disable-libgcrypt --disable-gnutls \
74 --disable-remoteosd --disable-update-check --disable-loader
77 make DESTDIR=${pkgdir}/ install
80 for res in 16 32 48 128; do
81 install -D -m644 ${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png \
82 ${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png