summaryrefslogtreecommitdiffstats
path: root/extra/vlc/Pkgfile
blob: 5263122c9fbc16fdd98ff3f6f094b8f71cc4eb84 (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
# Description: Lecteur multimedia
# URL: http://www.videolan.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libmad, ffmpeg, qt, libdvdnav, liba52, libgcrypt, lua
# Run on:

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

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--enable-nls \
		--disable-fribidi \
		--disable-httpd \
		--enable-dbus \
		--enable-alsa \
		--disable-remoteosd \
		--enable-lua \
		--enable-realrtsp
	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
}