wok-next rev 20903

Add rest, update (b)deps in gnome-online-accounts, libgdata, gvfs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 30 23:26:54 2018 +0300 (2018-07-30)
parents d3707642a563
children ab33f7358585
files gnome-online-accounts/description.txt gnome-online-accounts/receipt gvfs/receipt libgdata/description.txt libgdata/receipt rest/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-online-accounts/description.txt	Mon Jul 30 23:26:54 2018 +0300
     1.3 @@ -0,0 +1,2 @@
     1.4 +GOA (GNOME Online Accounts) service provides a centralized place for managing
     1.5 +online accounts (Google, etc.) for the GNOME desktop.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnome-online-accounts/receipt	Mon Jul 30 23:26:54 2018 +0300
     2.3 @@ -0,0 +1,42 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="gnome-online-accounts"
     2.7 +VERSION="3.28.0"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="Client for GNOME web services"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://wiki.gnome.org/Projects/GnomeOnlineAccounts"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="glib-dev libxslt gobject-introspection-dev vala gtk+3-dev \
    2.18 +webkit2gtk-dev json-glib-dev rest-dev libsecret-dev krb5-dev gettext \
    2.19 +docbook-xsl"
    2.20 +SPLIT="gnome-online-accounts-dev"
    2.21 +
    2.22 +COOKOPTS="skip-log-errors"
    2.23 +
    2.24 +compile_rules() {
    2.25 +	./configure \
    2.26 +		--disable-telepathy \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	fix libtool &&
    2.29 +	make &&
    2.30 +	make install
    2.31 +}
    2.32 +
    2.33 +genpkg_rules() {
    2.34 +	case $PACKAGE in
    2.35 +		gnome-online-accounts)
    2.36 +			copy @std @ico
    2.37 +			DEPENDS="glib gtk+3 json-glib libsecret libsoup libxml2 rest \
    2.38 +			webkit2gtk"
    2.39 +			;;
    2.40 +		*-dev)
    2.41 +			copy @dev
    2.42 +			DEPENDS="gnome-online-accounts glib-dev gtk+3-dev"
    2.43 +			;;
    2.44 +	esac
    2.45 +}
     3.1 --- a/gvfs/receipt	Sat Jul 28 15:39:37 2018 +0300
     3.2 +++ b/gvfs/receipt	Mon Jul 30 23:26:54 2018 +0300
     3.3 @@ -16,14 +16,29 @@
     3.4  gcr-dev gettext polkit-dev libcap-dev libgphoto2-dev libarchive-dev \
     3.5  libsoup-dev libcdio-paranoia-dev libmtp-dev fuse2-dev udisks2-dev gtk+3-dev \
     3.6  libbluray-dev libgudev-dev libsecret-dev libxml2-dev openssh samba-dev \
     3.7 -dbus-glib-dev libnfs-dev"
     3.8 -SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 \
     3.9 -gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb gvfs-udisks2 gvfs gvfs-dev"
    3.10 +dbus-glib-dev libnfs-dev libgdata-dev gnome-online-accounts-dev"
    3.11 +SPLIT="gvfs-admin gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-goa \
    3.12 +gvfs-google gvfs-gphoto2 gvfs-gtk gvfs-http gvfs-libmtp gvfs-nfs gvfs-smb \
    3.13 +gvfs-udisks2 gvfs gvfs-dev"
    3.14  COOKOPTS="skip-log-errors"
    3.15  
    3.16 +# while webkit2gtk is broken on x86_64...
    3.17 +case $ARCH in
    3.18 +	x86_64)
    3.19 +		BUILD_DEPENDS="$(echo $BUILD_DEPENDS | sed 's|libgdata-dev||; s|gnome-online-accounts-dev||')"
    3.20 +		SPLIT="$(echo $SPLIT | sed 's|gvfs-goa||; s|gvfs-google||')"
    3.21 +		;;
    3.22 +esac
    3.23 +
    3.24  compile_rules() {
    3.25  	sed -i 's|dependendencies|dependencies|' meson.build # typo
    3.26  
    3.27 +	# while webkit2gtk is broken on x86_64...
    3.28 +	case $ARCH in
    3.29 +		i?86)   ARCH_ARGS='-Dgoa=true  -Dgoogle=true';;
    3.30 +		x86_64) ARCH_ARGS='-Dgoa=false -Dgoogle=false';;
    3.31 +	esac
    3.32 +
    3.33  	meson-wrapper \
    3.34  		build \
    3.35  		-Dsystemduserunitdir=no \
    3.36 @@ -36,8 +51,7 @@
    3.37  		-Dcdda=true \
    3.38  		-Ddnssd=false \
    3.39  		-Dgdu=false \
    3.40 -		-Dgoa=false \
    3.41 -		-Dgoogle=false \
    3.42 +		$ARCH_ARGS \
    3.43  		-Dgphoto2=true \
    3.44  		-Dhttp=true \
    3.45  		-Dmtp=true \
    3.46 @@ -91,6 +105,17 @@
    3.47  			CAT="system-tools|FUSE support"
    3.48  			DEPENDS="fuse2 glib gvfs"
    3.49  			;;
    3.50 +		gvfs-goa)
    3.51 +			copy gvfs-goa-volume-monitor *.GoaVolumeMonitor.service \
    3.52 +			goa.monitor
    3.53 +			CAT="system-tools|GOA support"
    3.54 +			DEPENDS="glib gnome-online-accounts   gvfs"
    3.55 +			;;
    3.56 +		gvfs-google)
    3.57 +			copy gvfsd-google google.mount
    3.58 +			CAT="system-tools|Google support"
    3.59 +			DEPENDS="glib gnome-online-accounts gvfs libgdata"
    3.60 +			;;
    3.61  		gvfs-gphoto2)
    3.62  			copy \
    3.63  			gvfsd-gphoto2 gphoto2.mount \
    3.64 @@ -102,7 +127,7 @@
    3.65  		gvfs-gtk)
    3.66  			copy gvfsd-recent recent.mount
    3.67  			CAT="system-tools|recent files support (GTK+3) - recent:///"
    3.68 -			DEPENDS="glib gvfs   gtk+3"
    3.69 +			DEPENDS="glib gvfs" # + gtk+3 ?
    3.70  			;;
    3.71  		gvfs-http)
    3.72  			copy \
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/libgdata/description.txt	Mon Jul 30 23:26:54 2018 +0300
     4.3 @@ -0,0 +1,3 @@
     4.4 +libgdata is a GLib-based library for accessing online service APIs using the
     4.5 +GData protocol -- most notably, Google's services. It provides APIs to access
     4.6 +the common Google services, and has full asynchronous support.
     5.1 --- a/libgdata/receipt	Sat Jul 28 15:39:37 2018 +0300
     5.2 +++ b/libgdata/receipt	Mon Jul 30 23:26:54 2018 +0300
     5.3 @@ -6,35 +6,37 @@
     5.4  SHORT_DESC="Access library for gdata"
     5.5  MAINTAINER="al.bobylev@gmail.com"
     5.6  LICENSE="LGPL2.1"
     5.7 -WEB_SITE="http://live.gnome.org/libgdata"
     5.8 +WEB_SITE="https://wiki.gnome.org/Projects/libgdata"
     5.9  
    5.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    5.11  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    5.12  
    5.13  BUILD_DEPENDS="glib-dev libxml2-dev libsoup-dev json-glib-dev liboauth-dev \
    5.14 -gdk-pixbuf-dev uhttpmock-dev intltool gobject-introspection-dev vala"
    5.15 +gdk-pixbuf-dev uhttpmock-dev intltool gobject-introspection-dev vala \
    5.16 +gcr-dev gnome-online-accounts-dev"
    5.17  SPLIT="libgdata-dev"
    5.18  
    5.19  compile_rules() {
    5.20  	DATADIRNAME=share ./configure \
    5.21  		--prefix=/usr \
    5.22  		--sysconfdir=/etc \
    5.23 -		--disable-gnome \
    5.24 -		&&
    5.25 +		$CONFIGURE_ARGS &&
    5.26 +	fix libtool &&
    5.27  	make &&
    5.28 -	make DESTDIR="$install" install
    5.29 +	make DESTDIR=$install install
    5.30  }
    5.31  
    5.32  genpkg_rules() {
    5.33  	case $PACKAGE in
    5.34  		libgdata)
    5.35  			copy @std
    5.36 -			DEPENDS="glib json-glib liboauth libsoup libxml2"
    5.37 +			DEPENDS="gcr-base glib gnome-online-accounts json-glib liboauth \
    5.38 +			libsoup libxml2"
    5.39  			;;
    5.40  		*-dev)
    5.41  			copy @dev
    5.42 -			DEPENDS="libgdata glib-dev json-glib-dev liboauth-dev libsoup-dev \
    5.43 -			libxml2-dev"
    5.44 +			DEPENDS="libgdata gcr-dev gnome-online-accounts-dev json-glib-dev \
    5.45 +			liboauth-dev libsoup-dev libxml2-dev"
    5.46  			;;
    5.47  	esac
    5.48  }
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/rest/receipt	Mon Jul 30 23:26:54 2018 +0300
     6.3 @@ -0,0 +1,37 @@
     6.4 +# SliTaz package receipt v2.
     6.5 +
     6.6 +PACKAGE="rest"
     6.7 +VERSION="0.8.1"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="Helper library for RESTful services"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="LGPL2.1"
    6.12 +WEB_SITE="https://wiki.gnome.org/Projects/Librest"
    6.13 +
    6.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.15 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    6.16 +
    6.17 +BUILD_DEPENDS="glib-dev libsoup-dev gobject-introspection-dev"
    6.18 +SPLIT="rest-dev"
    6.19 +
    6.20 +compile_rules() {
    6.21 +	./configure \
    6.22 +		--with-ca-certificates=/etc/ssl/ \
    6.23 +		$CONFIGURE_ARGS &&
    6.24 +	fix libtool &&
    6.25 +	make &&
    6.26 +	make install
    6.27 +}
    6.28 +
    6.29 +genpkg_rules() {
    6.30 +	case $PACKAGE in
    6.31 +		rest)
    6.32 +			copy @std
    6.33 +			DEPENDS="glib libsoup libsoup-gnome libxml2"
    6.34 +			;;
    6.35 +		*-dev)
    6.36 +			copy @dev
    6.37 +			DEPENDS="rest glib-dev libsoup-dev libxml2-dev"
    6.38 +			;;
    6.39 +	esac
    6.40 +}