wok diff gtk+3/receipt @ rev 22803

gtk+3: added build dependencies autoconf and automake
author Hans-G?nter Theisgen
date Tue Jan 28 09:26:25 2020 +0100 (2020-01-28)
parents a78610b2eb47
children 1f9fe1783d99
line diff
     1.1 --- a/gtk+3/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/gtk+3/receipt	Tue Jan 28 09:26:25 2020 +0100
     1.3 @@ -6,22 +6,26 @@
     1.4  SHORT_DESC="The GIMP Toolkit 3.x"
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="LGPL2"
     1.7 +WEB_SITE="https://www.gtk.org/"
     1.8 +
     1.9  SOURCE="gtk+"
    1.10  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.11 -WEB_SITE="https://www.gtk.org/"
    1.12  WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:4}/$TARBALL"
    1.13 +
    1.14 +SUGGESTED="cups"
    1.15 +DEPENDS="at-spi2-atk atk gdk-pixbuf pango slitaz-icon util-linux-uuid 
    1.16 +	xorg-libXcomposite xorg-libXcursor xorg-libXi xorg-libXinerama 
    1.17 +	xorg-libXrandr"
    1.18 +BUILD_DEPENDS="at-spi2-atk atk-dev autoconf automake bash cairo-dev 
    1.19 +	cups-dev dbus-dev gdk-pixbuf-dev gobject-introspection-dev 
    1.20 +	indent libffi-dev pango-dev libxml2-dev perl pkg-config 
    1.21 +	util-linux-uuid-dev xorg-dev"
    1.22 +
    1.23  CONFIG_FILES="/etc/gtk-3.0/settings.ini"
    1.24  
    1.25  #HOST_ARCH="i486 arm"
    1.26  CROSS_BUGS="bug: /bin/bash: no: command not found"
    1.27  
    1.28 -DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor xorg-libXi \
    1.29 -xorg-libXinerama xorg-libXrandr at-spi2-atk util-linux-uuid slitaz-icon"
    1.30 -SUGGESTED="cups"
    1.31 -BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \
    1.32 -perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev \
    1.33 -indent libxml2-dev at-spi2-atk util-linux-uuid-dev"
    1.34 -
    1.35  # Handle cross compilation.
    1.36  case "$ARCH" in
    1.37  	arm*) 
    1.38 @@ -36,24 +40,26 @@
    1.39  # Rules to configure and make the package.
    1.40  compile_rules()
    1.41  {
    1.42 -	./configure \
    1.43 -		--prefix=/usr \
    1.44 -		--sysconfdir=/etc \
    1.45 -		--localstatedir=/var \
    1.46 -		--enable-debug=no \
    1.47 -		--enable-xkb \
    1.48 -		--enable-xinerama \
    1.49 -		--enable-xrandr \
    1.50 -		--enable-xfixes \
    1.51 -		--enable-xcomposite \
    1.52 -		--enable-xdamage \
    1.53 -		--enable-x11-backend \
    1.54 -		--enable-introspection=yes \
    1.55 -		--enable-packagekit=no \
    1.56 -		--enable-colord=no \
    1.57 -		--disable-wayland-backend \
    1.58 -		--disable-broadway-backend \
    1.59 -		--with-x $CONFIGURE_ARGS ${ARCH_ARGS} &&
    1.60 +	./configure				\
    1.61 +		--prefix=/usr			\
    1.62 +		--sysconfdir=/etc		\
    1.63 +		--localstatedir=/var		\
    1.64 +		--enable-debug=no		\
    1.65 +		--enable-xkb			\
    1.66 +		--enable-xinerama		\
    1.67 +		--enable-xrandr			\
    1.68 +		--enable-xfixes			\
    1.69 +		--enable-xcomposite		\
    1.70 +		--enable-xdamage		\
    1.71 +		--enable-x11-backend		\
    1.72 +		--enable-introspection=yes	\
    1.73 +		--enable-packagekit=no		\
    1.74 +		--enable-colord=no		\
    1.75 +		--disable-wayland-backend	\
    1.76 +		--disable-broadway-backend	\
    1.77 +		--with-x			\
    1.78 +		$CONFIGURE_ARGS			\
    1.79 +		${ARCH_ARGS} &&
    1.80  	make $MAKEFLAGS &&
    1.81  	make DESTDIR=$DESTDIR install
    1.82  }
    1.83 @@ -68,21 +74,21 @@
    1.84  		$fs/usr/share
    1.85  
    1.86  	# Configuration file.
    1.87 -	cp -a $install/etc $fs
    1.88 -	cp -f $stuff/settings.ini $fs/etc/gtk-3.0
    1.89 +	cp -a $install/etc		$fs
    1.90 +	cp -f $stuff/settings.ini	$fs/etc/gtk-3.0
    1.91  
    1.92 -	# Apps.
    1.93 -	cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin
    1.94 -	cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin
    1.95 +	# Applications.
    1.96 +	cp $install/usr/bin/gtk-query-immodules-3.0	$fs/usr/bin
    1.97 +	cp $install/usr/bin/gtk-update-icon-cache	$fs/usr/bin
    1.98  	# gtk3-demo & gtk3-demo-application -> gtk+3-demo
    1.99  	# gtk3-widget-factory -> gtk+3-widget-factory
   1.100  
   1.101 -	# Libs.
   1.102 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   1.103 -	cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-3.0
   1.104 -	rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la
   1.105 +	# Libraries.
   1.106 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
   1.107 +	cp -a $install/usr/lib/gtk-3.0/3.0.0	$fs/usr/lib/gtk-3.0
   1.108 +	rm -rf					$fs/usr/lib/gtk-3.0/3.0.0/*/*.la
   1.109  
   1.110  	# Themes.
   1.111 -	cp -a $install/usr/share/themes $fs/usr/share
   1.112 -	cp -a $install/usr/share/glib-2.0 $fs/usr/share
   1.113 +	cp -a $install/usr/share/themes		$fs/usr/share
   1.114 +	cp -a $install/usr/share/glib-2.0	$fs/usr/share
   1.115  }