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