wok-next rev 20777

gnome-calculator: up (3.28.1); go-bin and go: up (1.10.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 22:02:40 2018 +0300 (2018-06-06)
parents b179f9dccd74
children f08ef8cf230f
files gnome-calculator/receipt go-bin/receipt go/receipt
line diff
     1.1 --- a/gnome-calculator/receipt	Wed Jun 06 20:53:55 2018 +0300
     1.2 +++ b/gnome-calculator/receipt	Wed Jun 06 22:02:40 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  }
     2.1 --- a/go-bin/receipt	Wed Jun 06 20:53:55 2018 +0300
     2.2 +++ b/go-bin/receipt	Wed Jun 06 22:02:40 2018 +0300
     2.3 @@ -1,22 +1,26 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="go-bin"
     2.7 -VERSION="1.9.2"
     2.8 +VERSION="1.10.2"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The Go programming language, binary distribution"
    2.11  MAINTAINER="al.bobylev@gmail.com"
    2.12  LICENSE="BSD"
    2.13 -WEB_SITE="http://golang.org/"
    2.14 +WEB_SITE="https://golang.org/"
    2.15  
    2.16 -TARBALL="go$VERSION.linux-386.tar.gz"
    2.17 -WGET_URL="https://redirector.gvt1.com/edgedl/go/$TARBALL"
    2.18 +case $ARCH in
    2.19 +	i?86)   TARBALL="go$VERSION.linux-386.tar.gz";;
    2.20 +	x86_64) TARBALL="go$VERSION.linux-amd64.tar.gz";;
    2.21 +esac
    2.22 +WGET_URL="https://dl.google.com/go/$TARBALL"
    2.23  
    2.24 -COOKOPTS="!strip"	# stripping an *.a archives producing errors
    2.25 +COOKOPTS="!strip !zip"	# stripping an *.a archives producing errors;
    2.26 +# *.zip archives have weird content and fail to recompress
    2.27  
    2.28  compile_rules() {
    2.29 -	mkdir -p $install/usr/lib/go/
    2.30 +	mkdir -p     $install/usr/lib/go/
    2.31  	cp -a $src/* $install/usr/lib/go/
    2.32 -	rm -rf $install/usr/lib/go/blog/	# blog?!
    2.33 +	rm -rf       $install/usr/lib/go/blog/	# blog?!
    2.34  }
    2.35  
    2.36  genpkg_rules() {
     3.1 --- a/go/receipt	Wed Jun 06 20:53:55 2018 +0300
     3.2 +++ b/go/receipt	Wed Jun 06 22:02:40 2018 +0300
     3.3 @@ -1,15 +1,15 @@
     3.4  # SliTaz package receipt v2.
     3.5  
     3.6  PACKAGE="go"
     3.7 -VERSION="1.9.2"
     3.8 +VERSION="1.10.2"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="The Go programming language"
    3.11  MAINTAINER="domcox@slitaz.org"
    3.12  LICENSE="BSD"
    3.13  WEB_SITE="http://golang.org/"
    3.14  
    3.15 -TARBALL="$PACKAGE$VERSION.tar.gz"
    3.16 -WGET_URL="https://go.googlesource.com/go/+archive/$TARBALL"
    3.17 +TARBALL="$PACKAGE$VERSION.src.tar.gz"
    3.18 +WGET_URL="https://dl.google.com/go/$TARBALL"
    3.19  
    3.20  BUILD_DEPENDS="go-bin bash bison make ed"
    3.21  SPLIT="go-sources emacs-pkg-go-mode go"