wok view rhythmcat2/receipt @ rev 25524

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