2017-04-20 13:03:46 +02:00
|
|
|
|
# Description: VLC, özgür ve açık kaynak kodlu, platformlar arası, bir ortam oynatıcı ve çatıdır.
|
2016-03-30 15:50:34 +02:00
|
|
|
|
# URL: http://www.videolan.org/vlc/
|
2017-08-07 20:47:54 +02:00
|
|
|
|
# Packager: milisarge
|
2017-08-07 21:47:45 +02:00
|
|
|
|
# Depends on: opus libssh2 qt5 x264 flac libmad glib dbus libupnp libidn librsvg alsa-lib xorg-libxinerama xorg-libxpm libvpx libcdio vcdimager live libdvdcss libdvdread libdvdnav libogg libtheora lame faac libvorbis ffmpeg28 faad2 liba52 libmpeg2 libmpcdec fribidi lua libdv speex
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=vlc
|
2017-08-07 20:47:54 +02:00
|
|
|
|
version=2.2.6
|
|
|
|
|
release=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-08-07 20:47:54 +02:00
|
|
|
|
source=(https://download.videolan.org/${name}/${version}/${name}-${version}.tar.xz
|
|
|
|
|
lua53_compat.patch)
|
2016-07-29 11:31:54 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
build() {
|
2016-07-29 11:31:54 +02:00
|
|
|
|
|
2017-08-07 20:47:54 +02:00
|
|
|
|
cd $name-$version
|
|
|
|
|
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
|
|
|
|
|
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
|
|
|
|
|
patch -p1 < "${SRC}/lua53_compat.patch"
|
|
|
|
|
|
|
|
|
|
sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh
|
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig"
|
|
|
|
|
export CXXFLAGS+=" -std=c++11"
|
|
|
|
|
export LUAC=/usr/bin/luac
|
|
|
|
|
export LUA_LIBS="`pkg-config --libs lua`"
|
|
|
|
|
export RCC=/usr/bin/rcc-qt5
|
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--disable-rpath \
|
|
|
|
|
--enable-faad \
|
|
|
|
|
--enable-nls \
|
|
|
|
|
--enable-lirc \
|
|
|
|
|
--enable-ncurses \
|
|
|
|
|
--enable-realrtsp \
|
|
|
|
|
--enable-aa \
|
|
|
|
|
--enable-vcdx \
|
|
|
|
|
--enable-upnp \
|
2017-08-07 21:47:45 +02:00
|
|
|
|
--enable-bluray \
|
2017-08-07 20:47:54 +02:00
|
|
|
|
--enable-opus \
|
|
|
|
|
--enable-sftp
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
for res in 16 32 48 128; do
|
|
|
|
|
install -Dm 644 "${SRC}/vlc-${version}/share/icons/${res}x${res}/vlc.png" \
|
|
|
|
|
"${PKG}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
|
|
|
|
|
done
|
2016-10-09 00:00:40 +02:00
|
|
|
|
|
2016-07-23 16:36:11 +02:00
|
|
|
|
}
|