wok-next view gnome-mahjongg/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-mahjongg"
4 VERSION="3.22.0"
5 CATEGORY="games"
6 SHORT_DESC="Disassemble a pile of tiles by removing matching pairs"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Apps/Mahjongg"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="vala glib-dev gtk3-dev librsvg-dev intltool itstool"
16 compile_rules() {
17 # In order to shrink its size, patch svg icon to fix compressor errors like:
18 # Error: valid FuncIRI(#linearGradient10640) with fallback value is not supported.
19 sed -i 's|) rgb(0, 0, 0)|)|g' data/icons/hicolor/scalable/gnome-mahjongg.svg
20 # Then size shrinks 23690 -> 4705
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make install || return 1
26 fix symlinks
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="libcairo gdk-pixbuf glib gtk3 librsvg"
32 }