wok-6.x annotate vlc/receipt @ rev 22442

vlc: remove these deps -> did not help at all
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Dec 23 15:27:45 2019 +0000 (2019-12-23)
parents 5e9bcb010ae6
children bfa15512b83b
rev   line source
jozee@2944 1 # SliTaz package receipt.
jozee@2944 2
jozee@2944 3 PACKAGE="vlc"
Hans-G?nter@22111 4 VERSION="3.0.8"
jozee@2944 5 CATEGORY="multimedia"
Hans-G?nter@22111 6 TAGS="audio video multimedia movie player"
Hans-G?nter@22111 7 SHORT_DESC="MPEG, VCD/DVD, and DivX player."
jozee@2944 8 MAINTAINER="jozee@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@22111 10 WEB_SITE="http://www.videolan.org/vlc/"
Hans-G?nter@22111 11
domcox@12849 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
jozee@2944 13 WGET_URL="http://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
Hans-G?nter@22111 14
pascal@21807 15 COOKOPTS="!fixdesktops"
Hans-G?nter@22111 16 DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc"
Hans-G?nter@22111 17 BUILD_DEPENDS="alsa-lib-dev dbus-dev expat-dev ffmpeg-dev flac-dev fribidi-dev
erkan@22441 18 gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev libarchive-dev libgnutls libmad-dev
Hans-G?nter@22111 19 libegl-mesa libsamplerate-dev libupnp-dev libxml2-dev lua5.1-dev
Hans-G?nter@22111 20 ncurses-dev opus-dev Qt4-dev taglib-dev tar util-linux-uuid-dev
erkan@22441 21 x264-dev x265-dev xcb-util-dev yasm zvbi-dev
erkan@22442 22 libarchive-dev libraw1394-dev libdvdread-dev libdvdnav-dev
erkan@22442 23 libcddb-dev libmodplug-dev libmpeg2-dev libvorbis-dev speex-dev
erkan@22442 24 libtheora-enc fluidsynth-dev xcb-util-keysyms-dev
erkan@22441 25 libsdl-image-dev librsvg-dev cairo-dev libcaca-dev jack-audio-connection-kit-dev
erkan@22441 26 chromaprint-dev protobuf-dev libmtp-dev libsecret-dev libnotify-gtk3-dev"
jozee@2944 27
jozee@2944 28 compile_rules()
jozee@2944 29 {
domcox@12849 30 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id
pascal@13863 31 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac
paul@19119 32 # export ncurses paths
paul@19119 33 export NCURSES_CFLAGS="-I/usr/include"
paul@19119 34 export NCURSES_LIBS="-L/lib -lncurses -ltinfo"
pascal@21805 35 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83
Hans-G?nter@22111 36
Hans-G?nter@22111 37 ./configure \
Hans-G?nter@22111 38 --prefix=/usr \
Hans-G?nter@22111 39 --disable-pulse \
Hans-G?nter@22111 40 --disable-a52 \
Hans-G?nter@22111 41 --disable-sout \
Hans-G?nter@22111 42 --disable-libgcrypt \
Hans-G?nter@22111 43 --enable-ncurses \
erkan@22411 44 --enable-run-as-root \
slaxemulator@10101 45 $CONFIGURE_ARGS &&
jozee@2944 46 make &&
slaxemulator@9842 47 make install
pascal@13862 48 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac
jozee@2944 49 }
jozee@2944 50
jozee@2944 51 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2944 52 genpkg_rules()
jozee@2944 53 {
pascal@4617 54 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@22111 55
Hans-G?nter@22111 56 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22111 57 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@22111 58
domcox@12849 59 #Remove extra icons
jozee@2944 60 rm $fs/usr/share/$PACKAGE/*.ico
Hans-G?nter@22111 61
jozee@2944 62 #copy vlc icon
pascal@13862 63 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps
Hans-G?nter@22111 64
jozee@2944 65 #Remove unnecessary fonts
pascal@19582 66 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true
jozee@2944 67 }