wok-next rev 20951

Update cantarell-fonts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Sep 02 10:44:45 2018 +0300 (2018-09-02)
parents 60916ed64ca0
children 15f1e7e9a1c9
files appstream-glib/receipt cantarell-fonts/receipt gcab/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/appstream-glib/receipt	Sun Sep 02 10:44:45 2018 +0300
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="appstream-glib"
     1.7 +VERSION="0.7.12"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="Library for AppStream metadata"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="https://people.freedesktop.org/~hughsient/appstream-glib/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15 +WGET_URL="https://people.freedesktop.org/~hughsient/appstream-glib/releases/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="meson ninja util-linux-uuid-dev glib-dev libarchive-dev \
    1.18 +libsoup-dev json-glib-dev gdk-pixbuf-dev gtk+3-dev yaml-dev gperf \
    1.19 +gobject-introspection-dev gettext libxslt docbook-xsl"
    1.20 +SPLIT="$PACKAGE-dev"
    1.21 +
    1.22 +compile_rules() {
    1.23 +	mkdir build
    1.24 +	cd    build
    1.25 +
    1.26 +	meson-wrapper \
    1.27 +		-D rpm=false \
    1.28 +		-D stemmer=false &&
    1.29 +	ninja &&
    1.30 +	ninja install
    1.31 +}
    1.32 +
    1.33 +genpkg_rules() {
    1.34 +	case $PACKAGE in
    1.35 +		appstream-glib)
    1.36 +			copy bin/ *.so*
    1.37 +			DEPENDS="cairo fontconfig freetype gdk-pixbuf glib gtk+3 json-glib \
    1.38 +			libarchive libsoup pango util-linux-uuid yaml"
    1.39 +			;;
    1.40 +		*-dev)
    1.41 +			copy @std @dev @rm
    1.42 +			DEPENDS="appstream-glib gdk-pixbuf-dev glib-dev libarchive-dev \
    1.43 +			util-linux-uuid-dev"
    1.44 +			;;
    1.45 +	esac
    1.46 +}
     2.1 --- a/cantarell-fonts/receipt	Sat Sep 01 17:44:19 2018 +0300
     2.2 +++ b/cantarell-fonts/receipt	Sun Sep 02 10:44:45 2018 +0300
     2.3 @@ -1,31 +1,30 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="cantarell-fonts"
     2.7 -VERSION="0.0.25"
     2.8 +VERSION="0.101"
     2.9  CATEGORY="fonts"
    2.10  SHORT_DESC="Sans serif font family designed for on-screen readability"
    2.11  MAINTAINER="al.bobylev@gmail.com"
    2.12  LICENSE="SIL_OFL"
    2.13  WEB_SITE="https://wiki.gnome.org/Projects/CantarellFonts"
    2.14 +HOST_ARCH="any"
    2.15  REPOLOGY="fonts:cantarell"
    2.16  
    2.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.18 -WGET_URL="$GNOME_MIRROR/cantarell-fonts/${VERSION%.*}/$TARBALL"
    2.19 +WGET_URL="$GNOME_MIRROR/cantarell-fonts/$VERSION/$TARBALL"
    2.20  
    2.21 -# Rules to configure and make the package.
    2.22 -compile_rules()
    2.23 -{
    2.24 -	./configure \
    2.25 -		--with-configdir=/etc/fonts/conf.avail \
    2.26 -		--with-fontdir=/usr/share/fonts/truetype/cantarell \
    2.27 -		$CONFIGURE_ARGS &&
    2.28 -	make &&
    2.29 -	make install
    2.30 +BUILD_DEPENDS="meson ninja gettext itstool appstream-glib-dev"
    2.31 +
    2.32 +compile_rules() {
    2.33 +	mkdir build
    2.34 +	cd    build
    2.35 +
    2.36 +	meson-wrapper &&
    2.37 +	ninja &&
    2.38 +	ninja install
    2.39  }
    2.40  
    2.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.42 -genpkg_rules()
    2.43 -{
    2.44 +genpkg_rules() {
    2.45  	copy @std
    2.46  	DEPENDS="fontconfig"
    2.47  	TAGS="font"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gcab/receipt	Sun Sep 02 10:44:45 2018 +0300
     3.3 @@ -0,0 +1,41 @@
     3.4 +# SliTaz package receipt v2.
     3.5 +
     3.6 +PACKAGE="gcab"
     3.7 +VERSION="1.1"
     3.8 +CATEGORY="utilities"
     3.9 +SHORT_DESC="GObject library to create cabinet files"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="LGPL2.1"
    3.12 +WEB_SITE="https://wiki.gnome.org/msitools"
    3.13 +
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    3.16 +
    3.17 +BUILD_DEPENDS="meson ninja git glib-dev gobject-introspection-dev vala gettext \
    3.18 +intltool"
    3.19 +SPLIT="$PACKAGE-dev"
    3.20 +
    3.21 +compile_rules() {
    3.22 +	fix utf-8; export LC_ALL=en_US.UTF-8
    3.23 +
    3.24 +	mkdir build
    3.25 +	cd    build
    3.26 +
    3.27 +	meson-wrapper \
    3.28 +		-D docs=false &&
    3.29 +	ninja &&
    3.30 +	ninja install
    3.31 +}
    3.32 +
    3.33 +genpkg_rules() {
    3.34 +	case $PACKAGE in
    3.35 +		gcab)
    3.36 +			copy @std
    3.37 +			DEPENDS="glib zlib"
    3.38 +			;;
    3.39 +		*-dev)
    3.40 +			copy @dev
    3.41 +			DEPENDS="gcab glib-dev"
    3.42 +			;;
    3.43 +	esac
    3.44 +}