milis/talimatname/genel/libvlc/talimat

30 lines
870 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Library from vlc
# URL: http://www.slackware.com/~alien/slackbuilds/vlc/
# Packager: tnut at nutyx dot org
2016-07-29 11:31:54 +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=libvlc
2016-07-29 11:31:54 +02:00
version=3.0.0
release=20160606
2016-02-24 01:27:23 +01:00
2016-07-29 11:31:54 +02:00
source=( http://anduin.linuxfromscratch.org/BLFS/vlc/vlc-$version-$release.tar.xz
lua53_compat.patch)
2016-02-24 01:27:23 +01:00
build() {
2016-07-29 11:31:54 +02:00
cd vlc-$version-$release
2016-02-24 01:27:23 +01:00
2016-07-29 11:31:54 +02:00
sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh
BUILDCC=gcc \
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
2016-07-29 11:31:54 +02:00
--sysconfdir=/etc \
--enable-bluray \
--enable-opus \
RCC=/usr/bin/rcc-qt5
2016-02-24 01:27:23 +01:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{lib/vlc,share,bin}
}