summaryrefslogtreecommitdiffstats
path: root/extra/vlc/Pkgfile
blob: 5cf92478c8a895d58e00136ad349346116e52a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Description: Lecteur multimedia
# URL: http://www.videolan.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: lua, libshout, sysfsutils, ffmpeg, flac, freetype, fribidi, goom, lame, libcdio, libdvbpsi, libdvdcss, libdvdread, libdvdnav, libebml, libiconv, libid3tag, libmad, libmatroska, libogg, libpng, speex, libtheora, libvorbis, libxml2, libmpeg2, openslp, portaudio, lame, vcdimager, x264, aalib, libcaca, libmpeg2, libopendaap, libmp4v2, live, libdca, sdl_image, qt, libnotify, libmpcdec, hal, taglib, samba3
# Run on: lua,libshout,sysfsutils,ffmpeg,flac,freetype,fribidi,goom,lame,libcdio,libdvbpsi,libdvdcss,libdvdread,libdvdnav,libebml,libiconv,libid3tag,libmad,libmatroska,libogg,libpng,speex,libtheora,libvorbis,libxml2,libmpeg2,openslp,portaudio,lame,vcdimager,x264,aalib,libcaca,libmpeg2,libopendaap,libmp4v2,live,libdca,sdl_image,qt,libnotify,libmpcdec,hal,taglib

name=vlc
version=1.1.5
release=1
source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.bz2)

build() {
	cd $name-$version
	export LDFLAGS_ffmpeg="-lfaad -la52 -lxvidcore -lmp3lame -lx264"
		./configure --prefix=/usr \
	--enable-dvdread \
	--enable-dvdnav \
	--enable-madi \
	--disable-pulse \
    	--enable-ffmpeg \
	--disable-rpath \
	--enable-wxwidget \
	--enable-faad \
	--enable-alsa \
	--enable-skins2 \
	--enable-dvb \
	--enable-dmo \
	--with-ffmpeg-faac \
	--with-ffmpeg-vorbis \
	--with-ffmpeg-dts \
	--with-ffmpeg-ogg \
	--with-ffmpeg-theora \
	--with-ffmpeg-tree=../ffmpeg/ \
	--with-ffmpeg-config-path=../ffmpeg/ \
	--enable-livedotcom \
	--enable-v4l \
	--enable-theora \
	--enable-snapshot \
	--enable-hal \
	--enable-dbus-control  \
	--enable-ogg \
	--enable-dbus-control \
	--enable-shared \
	--enable-nls \
	--enable-lirc \
	--enable-shout \
	--enable-pvr \
	--enable-release \
	--program-suffix= \
	--with-dv-raw1394=/usr/include/libraw1394 \
	--enable-loader \
	--enable-live555 \
	--with-live555-tree=/usr/lib/live
	make
	make DESTDIR=$PKG install

        for res in 16 32 48 128; do
            install -D -m644 $SRC/vlc-$version/share/icons/${res}x${res}/vlc.png \
        $PKG/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png
        done

  rm -rf $PKG/usr/lib/mozilla
}