wok-next diff emerald/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents d5aab818505e
children 5669e8b3be70
line diff
     1.1 --- a/emerald/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/emerald/receipt	Mon Dec 03 14:47:30 2018 +0200
     1.3 @@ -1,23 +1,30 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="emerald"
     1.7 -VERSION="0.8.12.4"
     1.8 +VERSION="0.8.14"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Window decorator for Compiz"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="https://github.com/compiz-reloaded"
    1.15 +WEB_SITE="https://gitlab.com/compiz/emerald"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.19 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    1.20 +WGET_URL="https://gitlab.com/compiz/emerald/-/archive/v$VERSION/$TARBALL"
    1.21  
    1.22 -BUILD_DEPENDS="xorg-dev gtk2-dev libwnck2-dev compiz-core-dev \
    1.23 -libtool autoconf automake intltool"
    1.24 +BUILD_DEPENDS="automake gettext-dev libtool intltool xorg-libXrender-dev \
    1.25 +xorg-libXi-dev gtk3-dev libwnck3-dev compiz-dev cairo-dev pango-dev"
    1.26 +SPLIT="$PACKAGE-dev"
    1.27 +
    1.28 +DEPENDS_std="atk cairo compiz gdk-pixbuf glib gtk3 libwnck3 pango xorg-libX11 \
    1.29 +xorg-libXi xorg-libXrender"
    1.30 +DEPENDS_dev="emerald atk-dev cairo-dev compiz-dev gdk-pixbuf-dev glib-dev \
    1.31 +gtk3-dev libwnck3-dev pango-dev xorg-libX11-dev xorg-libXi-dev \
    1.32 +xorg-libXrender-dev"
    1.33 +
    1.34 +TAGS="compiz"
    1.35  
    1.36  compile_rules() {
    1.37  	./autogen.sh \
    1.38 -		--prefix=/usr \
    1.39 -		--with-gtk=2.0 \
    1.40  		$CONFIGURE_ARGS &&
    1.41  	fix libtool &&
    1.42  	make &&
    1.43 @@ -41,6 +48,8 @@
    1.44  }
    1.45  
    1.46  genpkg_rules() {
    1.47 -	copy @std
    1.48 -	DEPENDS="xorg-libX11 gtk2 libwnck2 compiz-core"
    1.49 +	case $PACKAGE in
    1.50 +		emerald) copy @std; DEPENDS="$DEPENDS_std";;
    1.51 +		*-dev)   copy @dev; DEPENDS="$DEPENDS_dev";;
    1.52 +	esac
    1.53  }