milis/talimatname/genel/vlc/talimat

49 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-03-30 15:50:34 +02:00
# Description: The cross-platform media player and streaming server
# URL: http://www.videolan.org/vlc/
# Packager: milisarge@gmail.com
2016-07-30 09:59:38 +02:00
# Depends on: libbluray opus qt5 x264 flac libmad glib librsvg alsa-lib xorg-libxinerama xorg-libxpm libvpx libcdio vcdimager live libdvdcss libdvdread libdvdnav libogg libtheora lame faac libvorbis ffmpeg faad2 liba52 libmpeg2 libmpcdec fribidi lua libdv speex
2016-02-24 01:27:23 +01:00
name=vlc
2016-07-29 11:31:54 +02:00
version=3.0.0
2016-07-30 17:16:15 +02:00
_version=20160704
2016-03-30 15:50:34 +02:00
release=1
2016-02-24 01:27:23 +01:00
2016-07-30 17:16:15 +02:00
source=( http://altair.videolan.org/build/source/$name-$version-${_version}-0536.tar.xz
2016-07-29 11:31:54 +02:00
lua53_compat.patch
update-vlc-plugin-cache.hook)
2016-02-24 01:27:23 +01:00
build() {
2016-07-29 11:31:54 +02:00
2016-07-30 17:16:15 +02:00
cd vlc-3.0.0-git
2016-07-23 16:36:11 +02:00
2016-07-30 17:16:15 +02:00
RCC=/usr/bin/rcc-qt5
./bootstrap
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype/freetype.c
CXXFLAGS="$CXXFLAGS -fPIC"
2016-07-23 16:36:11 +02:00
2016-07-29 11:31:54 +02:00
BUILDCC=gcc \
2016-07-23 16:36:11 +02:00
./configure --prefix=/usr \
2016-07-29 11:31:54 +02:00
--sysconfdir=/etc \
2016-07-30 17:16:15 +02:00
--enable-qt \
--disable-rpath \
--enable-faad \
--enable-nls \
--enable-lirc \
--enable-pvr \
--enable-ncurses \
--enable-realrtsp \
--enable-xosd \
--enable-aa \
--enable-vcdx \
--enable-opus
make -i
2016-07-23 16:36:11 +02:00
make DESTDIR=$PKG docdir=/usr/share/doc/$name-$version install
install -Dm644 ../update-vlc-plugin-cache.hook $PKG/usr/share/libalpm/hooks/update-vlc-plugin-cache.hook
rm -rf $PKG/usr/share/doc
}