milis/talimatname/genel/v/vlc/talimat

50 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: VLC, özgür ve açık kaynak kodlu, platformlar arası, bir ortam oynatıcı ve çatıdır.
# URL: http://www.videolan.org/vlc/
# 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
isim=vlc
surum=2.2.6
devir=1
kaynak=(https://download.videolan.org/${isim}/${surum}/${isim}-${surum}.tar.xz
lua53_compat.patch)
derle() {
cd $isim-$surum
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 \
--enable-bluray \
--enable-opus \
--enable-sftp
make
make DESTDIR=$PKG install
for res in 16 32 48 128; do
install -Dm 644 "${SRC}/vlc-${surum}/share/icons/${res}x${res}/vlc.png" \
"${PKG}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
done
}