wok annotate vlc/receipt @ rev 25068
updated alsa-tools packages (1.1.5 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:52:51 2022 +0100 (2022-06-10) |
parents | 73fd97cf0fa8 |
children | 3bfddcf4d28c |
rev | line source |
---|---|
jozee@2944 | 1 # SliTaz package receipt. |
jozee@2944 | 2 |
jozee@2944 | 3 PACKAGE="vlc" |
Hans-G?nter@23726 | 4 VERSION="3.0.10" |
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@23726 | 10 WEB_SITE="https://www.videolan.org/vlc/" |
Hans-G?nter@22111 | 11 |
domcox@12849 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@23726 | 13 WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL" |
Hans-G?nter@23726 | 14 |
Hans-G?nter@23726 | 15 DEPENDS="gcc83-lib-base libQtCore libQtGui libvlc" |
Hans-G?nter@23726 | 16 BUILD_DEPENDS="alsa-lib-dev cairo-dev dbus-dev expat-dev ffmpeg-dev flac-dev |
Hans-G?nter@23726 | 17 fluidsynth-dev fribidi-dev gcc83 gcc83-lib-base gettext gmp-dev gnutls-dev |
Hans-G?nter@23726 | 18 hicolor-icon-theme jack-audio-connection-kit-dev libarchive-dev |
Hans-G?nter@23726 | 19 libavc1394-dev libcaca-dev libcddb-dev libdvdread-dev libdvdnav-dev |
Hans-G?nter@23726 | 20 libegl-mesa libgnutls libmad-dev libmodplug-dev libmpeg2-dev libmtp-dev |
Hans-G?nter@23726 | 21 libraw1394-dev librsvg-dev libsamplerate-dev libsdl-image-dev libsecret-dev |
Hans-G?nter@23726 | 22 libtheora-dev libtheora-enc libupnp-dev libvorbis-dev libxml2-dev lua5.1-dev |
Hans-G?nter@23726 | 23 ncurses-dev opus-dev pango-dev protobuf-dev Qt4-dev speex-dev taglib-dev tar |
Hans-G?nter@23726 | 24 util-linux-uuid-dev x264-dev x265-dev xcb-util-dev xcb-util-keysyms-dev yasm |
Hans-G?nter@23726 | 25 zvbi-dev" |
Hans-G?nter@22111 | 26 |
pascal@21807 | 27 COOKOPTS="!fixdesktops" |
Hans-G?nter@23726 | 28 |
Hans-G?nter@23726 | 29 # @maintainer: Please update also: libvlc and libvlc-dev |
jozee@2944 | 30 |
pascal@24462 | 31 # What is the latest version available today? |
pascal@24462 | 32 current_version() |
pascal@24462 | 33 { |
pascal@24462 | 34 wget -O - http://www.videolan.org/vlc/download-sources.html 2>/dev/null | \ |
pascal@24462 | 35 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24462 | 36 } |
pascal@24462 | 37 |
jozee@2944 | 38 compile_rules() |
jozee@2944 | 39 { |
domcox@12849 | 40 [ -s /var/lib/dbus/machine-id ] || dbus-uuidgen > /var/lib/dbus/machine-id |
pascal@13863 | 41 [ -e /usr/bin/luac ] || ln -s luac5.1 /usr/bin/luac |
paul@19119 | 42 # export ncurses paths |
paul@19119 | 43 export NCURSES_CFLAGS="-I/usr/include" |
paul@19119 | 44 export NCURSES_LIBS="-L/lib -lncurses -ltinfo" |
pascal@21805 | 45 export CC=gcc-83 CXX=g++-83 BUILDCC=gcc-83 |
Hans-G?nter@22111 | 46 |
Hans-G?nter@22111 | 47 ./configure \ |
Hans-G?nter@22111 | 48 --prefix=/usr \ |
Hans-G?nter@22111 | 49 --disable-pulse \ |
Hans-G?nter@22111 | 50 --disable-a52 \ |
Hans-G?nter@22111 | 51 --disable-sout \ |
Hans-G?nter@22111 | 52 --disable-libgcrypt \ |
Hans-G?nter@22111 | 53 --enable-ncurses \ |
Hans-G?nter@23726 | 54 --enable-run-as-root \ |
slaxemulator@10101 | 55 $CONFIGURE_ARGS && |
jozee@2944 | 56 make && |
slaxemulator@9842 | 57 make install |
pascal@13862 | 58 [ -L /usr/bin/luac ] && rm -f /usr/bin/luac |
jozee@2944 | 59 } |
jozee@2944 | 60 |
jozee@2944 | 61 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2944 | 62 genpkg_rules() |
jozee@2944 | 63 { |
pascal@4617 | 64 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22111 | 65 |
Hans-G?nter@22111 | 66 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22111 | 67 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@22111 | 68 |
domcox@12849 | 69 #Remove extra icons |
Hans-G?nter@23726 | 70 rm $fs/usr/share/$PACKAGE/*.ico |
Hans-G?nter@22111 | 71 |
jozee@2944 | 72 #copy vlc icon |
Hans-G?nter@23726 | 73 cp -a $install/usr/share/icons/hicolor/16x16/apps/vlc.png \ |
Hans-G?nter@23726 | 74 $fs/usr/share/pixmaps |
Hans-G?nter@22111 | 75 |
jozee@2944 | 76 #Remove unnecessary fonts |
pascal@19582 | 77 rm $fs/usr/share/$PACKAGE/skins2/fonts/* 2> /dev/null || true |
jozee@2944 | 78 } |