diff options
author | piernov <piernov@piernov.org> | 2012-03-03 13:58:42 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-03-03 13:58:42 +0100 |
commit | e86b777e27630f90def2c58e776bcebd1d2e182d (patch) | |
tree | db1a94b5fbaac4a938130e0534785d9f565baf55 /vlc/Pkgfile | |
parent | 19a227b326d67bb44514cd99915011e9681218f4 (diff) | |
download | nutyx-extra-e86b777e27630f90def2c58e776bcebd1d2e182d.tar.gz nutyx-extra-e86b777e27630f90def2c58e776bcebd1d2e182d.tar.bz2 nutyx-extra-e86b777e27630f90def2c58e776bcebd1d2e182d.tar.xz nutyx-extra-e86b777e27630f90def2c58e776bcebd1d2e182d.zip |
vlc 2.0.0-1 màj port
Diffstat (limited to 'vlc/Pkgfile')
-rw-r--r-- | vlc/Pkgfile | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/vlc/Pkgfile b/vlc/Pkgfile index 1bbaccd71..9c8e747cb 100644 --- a/vlc/Pkgfile +++ b/vlc/Pkgfile @@ -6,22 +6,27 @@ # Run on: libshout,lua,ffmpeg,flac,freetype,fribidi,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,librsvg,libraw1394,libavc1394,samba3,taglib,gnutls,pulseaudio,gnome-vfs,vdpau-video,sdl_image name=vlc -version=1.1.13 +version=2.0.0 release=1 -source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2) +source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.xz + access_smb_link_to_smbclient.patch) build() { cd vlc-$version - sed -i -e 's|truetype/freefont/FreeSerifBold.ttf|TTF/DejaVuSerif-Bold.ttf|' modules/misc/freetype.c + sed -i -e 's|truetype/freefont/FreeSerifBold.ttf|TTF/DejaVuSerif-Bold.ttf|' modules/text_renderer/freetype.c + patch -p1 < ../access_smb_link_to_smbclient.patch - if [ "${CARCH}" = "i686" ]; then EXTRAFEATURES="--enable-loader"; fi - if [ "${CARCH}" = "x86_64" ]; then EXTRAFEATURES="--enable-fast-install"; fi + case `uname -m` in + x86_64) + export EXTRAFEATURES="--enable-fast-install" + export CFLAGS="${CFLAGS} -fPIC";; + i?86) + export EXTRAFEATURES="--enable-loader";; + esac ./configure --prefix=/usr \ --disable-rpath \ - --disable-zvbi \ - --disable-mozilla \ --enable-gnomevfs \ --enable-libass \ --enable-dvdread \ @@ -30,11 +35,8 @@ build() { --enable-faad \ --enable-alsa \ --enable-skins2 \ - --enable-dvb \ - --enable-v4l \ --enable-theora \ --enable-flac \ - --enable-snapshot \ --enable-dbus \ --enable-ogg \ --enable-dbus-control \ @@ -49,15 +51,17 @@ build() { --enable-gnutls \ --enable-pulse \ --enable-bonjour \ + --enable-aa \ + --enable-xosd \ + --enable-vcdx \ + --enable-real \ --enable-realrtsp \ --enable-live555 \ - --with-live555-tree=/usr/lib/live \ + --enable-media-library \ --with-kde-solid=/usr/share/kde4/apps/solid/actions/ \ --program-suffix= \ ${EXTRAFEATURES} - export CFLAGS="${CFLAGS} -fPIC" - make make DESTDIR=$PKG install |