wok-next view gnome-mahjongg/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | b15beafb58c2 |
children | 82b613cfd1e0 |
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="cairo gdk-pixbuf glib gtk3 librsvg"
32 }