wok annotate rhythmcat2/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children
rev   line source
al@19535 1 # SliTaz package receipt.
al@19535 2
al@19535 3 PACKAGE="rhythmcat2"
al@19535 4 VERSION="1.9.5"
al@19535 5 COMMIT="cca12d7"
al@19535 6 CATEGORY="multimedia"
al@19535 7 SHORT_DESC="RhythmCat2 music player"
al@19535 8 MAINTAINER="al.bobylev@gmail.com"
al@19535 9 LICENSE="GPL3"
al@19535 10 WEB_SITE="https://github.com/supercatexpert/RhythmCat2"
al@19535 11 TARBALL="$PACKAGE-$COMMIT.tar.gz"
al@19535 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
al@19535 13
al@19535 14 DEPENDS="gst-plugins-base gtk+3 xorg-libXdamage"
al@19535 15 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev gtk+3-dev curl-dev"
al@19535 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
al@19535 23 # Rules to configure and make the package.
al@19535 24 compile_rules()
al@19535 25 {
al@19535 26 patch -p1 -i $stuff/rhythmcat2.patch
al@19535 27 cp $stuff/ru.po $src/po
al@19535 28
al@19535 29 ./configure \
al@19535 30 --disable-gtk-doc-html \
al@19535 31 --disable-introspection \
al@19535 32 --with-native-plugins \
al@19535 33 $CONFIGURE_ARGS &&
al@19535 34 make && make install
al@19535 35 }
al@19535 36
al@19535 37 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19535 38 genpkg_rules()
al@19535 39 {
al@19535 40 cook_copy_files RhythmCat2 *.so* *.PNG *.desktop *.mo
al@19535 41 }