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