milis/talimatname/genel/v/vlc/talimat

50 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 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-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: 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
2017-10-28 14:10:23 +02:00
isim=vlc
surum=2.2.6
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(https://download.videolan.org/${isim}/${surum}/${isim}-${surum}.tar.xz
2017-08-07 20:47:54 +02:00
lua53_compat.patch)
2016-07-29 11:31:54 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2016-07-29 11:31:54 +02:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-08-07 20:47:54 +02:00
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
2017-10-28 14:10:23 +02:00
install -Dm 644 "${SRC}/vlc-${surum}/share/icons/${res}x${res}/vlc.png" \
2017-08-07 20:47:54 +02:00
"${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
}