wok-next diff xfwm4/receipt @ rev 20206

Up PyQt-x11-gpl (4.12.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 09:19:58 2017 +0100 (2017-11-04)
parents 518c632316b9
children c3a368c0cddb
line diff
     1.1 --- a/xfwm4/receipt	Sun Oct 15 00:50:19 2017 +0200
     1.2 +++ b/xfwm4/receipt	Sat Nov 04 09:19:58 2017 +0100
     1.3 @@ -1,46 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xfwm4"
     1.8 -VERSION="4.11.1"
     1.9 +VERSION="4.12.0" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
    1.10  CATEGORY="x-window"
    1.11 -SHORT_DESC="Xfce Window Manager"
    1.12 +SHORT_DESC="Xfce window manager"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.xfce.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="http://www.xfce.org/"
    1.19  WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20 -TAGS="window-manager"
    1.21  
    1.22 -DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck2 libglade"
    1.23 -BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
    1.24 -libwnck2-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
    1.25 +BUILD_DEPENDS="intltool xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev \
    1.26 +xorg-libXext-dev gtk+-dev libxfce4util-dev libxfce4ui-dev libwnck2-dev \
    1.27 +libdrm-dev xorg-libXrandr-dev xorg-libXcomposite-dev xorg-libXfixes-dev \
    1.28 +xorg-libXdamage-dev"
    1.29  
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	./configure --prefix=/usr \
    1.34 -		--enable-render \
    1.35 -		--enable-startup-notification \
    1.36 -		--enable-randr \
    1.37 +compile_rules() {
    1.38 +	./configure \
    1.39 +		--sysconfdir=/etc \
    1.40 +		--localstatedir=/var \
    1.41  		--disable-debug \
    1.42 -		--disable-static \
    1.43 -		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.44 -	make && make  install
    1.45 +		$CONFIGURE_ARGS &&
    1.46 +	make &&
    1.47 +	make install
    1.48  }
    1.49  
    1.50 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.51 -genpkg_rules()
    1.52 -{
    1.53 -	mkdir -p $fs/usr \
    1.54 -		$fs/usr/share/locale
    1.55 -
    1.56 -	cp -a $install/usr/bin $fs/usr
    1.57 -	cp -a $install/usr/share/applications $fs/usr/share
    1.58 -	cp -a $install/usr/share/icons $fs/usr/share
    1.59 -	cp -a $install/usr/share/themes $fs/usr/share
    1.60 -	cp -a $install/usr/share/xfwm4 $fs/usr/share
    1.61 -
    1.62 -	# Remove SVG icons
    1.63 -	test -d $fs/usr/share/icons/hicolor/scalable \
    1.64 -		&& rm -rf $fs/usr/share/icons/hicolor/scalable
    1.65 +genpkg_rules() {
    1.66 +	copy @std
    1.67 +	DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf glib gtk+ \
    1.68 +	libwnck2 libxfce4ui libxfce4util pango startup-notification xfconf \
    1.69 +	xorg-libICE xorg-libSM xorg-libX11 xorg-libXcomposite xorg-libXdamage \
    1.70 +	xorg-libXext xorg-libXfixes xorg-libXrandr xorg-libXrender"
    1.71 +	TAGS="Xfce window-manager"
    1.72  }