wok-next diff gnome-calculator/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 6fab3264ba87
children a20a093a9790
line diff
     1.1 --- a/gnome-calculator/receipt	Fri Dec 25 15:23:46 2015 +0200
     1.2 +++ b/gnome-calculator/receipt	Wed Jun 27 13:35:43 2018 +0300
     1.3 @@ -1,39 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gnome-calculator"
     1.8 -VERSION="3.10.2"
     1.9 +VERSION="3.28.1"
    1.10  CATEGORY="utilities"
    1.11 +SHORT_DESC="GNOME Calculator is a powerful graphical calculator with \
    1.12 +financial, logical and scientific modes"
    1.13 +MAINTAINER="yuripourre@gmail.com"
    1.14  LICENSE="GPL3"
    1.15 -SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes."
    1.16 -MAINTAINER="yuripourre@gmail.com"
    1.17 +WEB_SITE="https://wiki.gnome.org/Apps/Calculator"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20 -WEB_SITE="https://wiki.gnome.org/Apps/Calculator"
    1.21 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.22 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.23  
    1.24 -DEPENDS="gtk+3 glib"
    1.25 -BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala"
    1.26 +BUILD_DEPENDS="meson ninja vala gtk+3-dev gtksourceview3-dev libsoup-dev \
    1.27 +gettext mpfr-dev gmp-dev mpc-library-dev itstool yelp-xsl"
    1.28  
    1.29 -L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \
    1.30 -de dz el en_CA en_GB en@shaw en_US eo es et eu fa fi fr ga gl gu he hi hr hu \
    1.31 -hy id it ja ka kk km kn ko ku lt lv mai mg mk ml mn mr ms my nb ne nl nn oc or \
    1.32 -pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \
    1.33 -xh zh_CN zh_HK zh_TW"
    1.34 -
    1.35 -# Rules to configure and make the package.
    1.36 -compile_rules()
    1.37 -{
    1.38 -	# SliTaz icon theme has no symbolic icons
    1.39 -	sed -i 's|-symbolic||g' $src/data/buttons*.ui
    1.40 -
    1.41 -	./configure \
    1.42 -		--prefix=/usr \
    1.43 -		$CONFIGURE_ARGS &&
    1.44 -	make &&
    1.45 -	make DESTDIR=$DESTDIR install
    1.46 +compile_rules() {
    1.47 +	meson-wrapper build &&
    1.48 +	ninja -C build &&
    1.49 +	DESTDIR="$install" ninja -C build install
    1.50  }
    1.51  
    1.52 -genpkg_rules()
    1.53 -{
    1.54 -	cp -a $install/usr $fs
    1.55 -	rm -rf $fs/usr/share/locale
    1.56 +genpkg_rules() {
    1.57 +	copy @std
    1.58 +	DEPENDS="atk glib gtk+3 gtksourceview3 libsoup libxml2 mpc-library mpfr"
    1.59  }