wok-6.x annotate vlc/receipt @ rev 23674
Up lemon, libsqlite, libsqlite-tcl (3.31.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 09:06:07 2020 +0000 (2020-04-26) |
parents | cdae1ee585d2 |
children | 73fd97cf0fa8 |
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@22449 | 26 protobuf-dev libmtp-dev libsecret-dev |
erkan@22451 | 27 hicolor-icon-theme libavc1394-dev libtheora-dev pango-dev" |
jozee@2944 | 28 |
jozee@2944 | 29 compile_rules() |
jozee@2944 | 30 { |
domcox@12849 | 31 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id |
pascal@13863 | 32 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac |
paul@19119 | 33 # export ncurses paths |
paul@19119 | 34 export NCURSES_CFLAGS="-I/usr/include" |
paul@19119 | 35 export NCURSES_LIBS="-L/lib -lncurses -ltinfo" |
pascal@21805 | 36 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83 |
Hans-G?nter@22111 | 37 |
Hans-G?nter@22111 | 38 ./configure \ |
Hans-G?nter@22111 | 39 --prefix=/usr \ |
Hans-G?nter@22111 | 40 --disable-pulse \ |
Hans-G?nter@22111 | 41 --disable-a52 \ |
Hans-G?nter@22111 | 42 --disable-sout \ |
Hans-G?nter@22111 | 43 --disable-libgcrypt \ |
Hans-G?nter@22111 | 44 --enable-ncurses \ |
erkan@22411 | 45 --enable-run-as-root \ |
slaxemulator@10101 | 46 $CONFIGURE_ARGS && |
jozee@2944 | 47 make && |
slaxemulator@9842 | 48 make install |
pascal@13862 | 49 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac |
jozee@2944 | 50 } |
jozee@2944 | 51 |
jozee@2944 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2944 | 53 genpkg_rules() |
jozee@2944 | 54 { |
pascal@4617 | 55 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22111 | 56 |
Hans-G?nter@22111 | 57 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22111 | 58 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@22111 | 59 |
domcox@12849 | 60 #Remove extra icons |
jozee@2944 | 61 rm $fs/usr/share/$PACKAGE/*.ico |
Hans-G?nter@22111 | 62 |
jozee@2944 | 63 #copy vlc icon |
pascal@13862 | 64 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png $fs/usr/share/pixmaps |
Hans-G?nter@22111 | 65 |
jozee@2944 | 66 #Remove unnecessary fonts |
pascal@19582 | 67 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true |
jozee@2944 | 68 } |