wok-next diff xorg-xcompmgr/receipt @ rev 20202

gst0-plugins-ugly: add cdio-cd-text-api patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 22:12:56 2017 +0100 (2017-11-03)
parents 7d6acea63cbf
children 7639f09792cf
line diff
     1.1 --- a/xorg-xcompmgr/receipt	Sun Jun 05 02:33:03 2016 +0200
     1.2 +++ b/xorg-xcompmgr/receipt	Fri Nov 03 22:12:56 2017 +0100
     1.3 @@ -1,37 +1,42 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xcompmgr"
     1.8  VERSION="1.1.6"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="X composite manager."
    1.11 +SHORT_DESC="X composite manager"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="xcompmgr"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.x.org/"
    1.17 -WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.18 +WEB_SITE="https://www.x.org/wiki/"
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21 -DEPENDS="xorg-libX11 xorg-libXdamage xorg-libXcomposite xorg-libXrender \
    1.22 -xorg-libXfixes xorg-libXext xorg-libXau xorg-libXdmcp libxcb"
    1.23 +TARBALL="xcompmgr-$VERSION.tar.bz2"
    1.24 +WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.25 +
    1.26  BUILD_DEPENDS="xorg-libX11-dev xorg-libXdamage-dev xorg-libXcomposite-dev \
    1.27  xorg-libXrender-dev xorg-libXfixes-dev xorg-libXext-dev xorg-libXau-dev \
    1.28  xorg-libXdmcp-dev libxcb-dev"
    1.29 +BUILD_DEPENDS="xorg-util-macros xorg-libXcomposite-dev xorg-libXfixes-dev \
    1.30 +xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev"
    1.31 +PKG_RULE="std"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	# bugs.freedesktop.org/show_bug.cgi?id=46285
    1.37 -	patch -Np0 -i $stuff/46285.diff
    1.38  	./configure \
    1.39 +		--sysconfdir=/etc \
    1.40 +		--localstatedir=/var \
    1.41  		$CONFIGURE_ARGS &&
    1.42 -	make && make install
    1.43 +	make &&
    1.44 +	make install &&
    1.45 +
    1.46 +	mkdir -p $install/etc/xdg &&
    1.47 +	cp -r $stuff/autostart $install/etc/xdg
    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 $fs/etc/xdg
    1.54 -	cp -r $install/usr/bin $fs/usr
    1.55 -	cp -r $stuff/autostart $fs/etc/xdg
    1.56 +	copy @std
    1.57 +	DEPENDS="xorg-libX11 xorg-libXcomposite xorg-libXdamage xorg-libXext \
    1.58 +	xorg-libXfixes xorg-libXrender"
    1.59  }