wok-next diff icewm/receipt @ rev 19793

Up giflib, imlib2, libsndfile, xorg-cf-files; switch icewm and magicpoint from imlib to imlib2; remove imlib - no one need it anymore.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 23 12:00:00 2017 +0300 (2017-06-23)
parents d2dc20032ed1
children a746bdb84b74
line diff
     1.1 --- a/icewm/receipt	Sun Oct 25 02:48:19 2015 +0200
     1.2 +++ b/icewm/receipt	Fri Jun 23 12:00:00 2017 +0300
     1.3 @@ -1,42 +1,38 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="icewm"
     1.8 -VERSION="1.3.8"
     1.9 +VERSION="1.3.12"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Ice Window Manager with Themes"
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://www.icewm.org/"
    1.16 -WGET_URL="$SF_MIRROR/icewm/icewm-${VERSION%.*}/$VERSION/$TARBALL"
    1.17 -TAGS="window-manager"
    1.18  
    1.19 -BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev xorg-libXext-dev \
    1.20 -xorg-libXpm-dev xorg-libXrender-dev xorg-libXft xorg-libXft-dev xorg-libSM-dev \
    1.21 -xorg-libICE-dev xorg-libXrandr-dev imlib-dev freetype-dev giflib-dev \
    1.22 -xorg-libXinerama xorg-libXinerama-dev \
    1.23 -xorg-xproto xorg-xextproto xorg-randrproto fontconfig-dev gettext \
    1.24 -gdk-pixbuf-dev pkg-config"
    1.25 -DEPENDS="xorg-libX11 xorg-libXrandr xorg-libXext xorg-libXpm xorg-libXinerama \
    1.26 -xorg-libXrender xorg-libXft xorg-libSM xorg-libICE imlib freetype \
    1.27 -gdk-pixbuf gettext-base"
    1.28 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.29 +WGET_URL="https://github.com/bbidulock/icewm/releases/download/$VERSION/$TARBALL"
    1.30 +
    1.31 +BUILD_DEPENDS="xorg-mkfontdir gettext fontconfig-dev xorg-libXext-dev \
    1.32 +xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev xorg-libXrandr-dev \
    1.33 +xorg-libXft-dev alsa-lib-dev libsndfile-dev xorg-libXinerama-dev fribidi-dev \
    1.34 +gdk-pixbuf-dev"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39 -	sed -i '/deprecated/d' src/base.h
    1.40 -	sed -i 's/^CORE_LIBS =/& -lfontconfig/' src/Makefile.in
    1.41 -	./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/icewm \
    1.42 -	 --localstatedir=/var --mandir=/usr/share/man \
    1.43 -	 $CONFIGURE_ARGS &&
    1.44 -	make &&
    1.45 -	make DESTDIR=$DESTDIR install
    1.46 +	./configure \
    1.47 +		--sysconfdir=/etc \
    1.48 +		--docdir=/usr/share/doc/icewm-$VERSION \
    1.49 +		--enable-guievents --with-icesound=ALSA \
    1.50 +		$CONFIGURE_ARGS &&
    1.51 +	make && make install &&
    1.52 +	rm $install/usr/share/xsessions/icewm.desktop
    1.53  }
    1.54  
    1.55  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.56  genpkg_rules()
    1.57  {
    1.58 -	mkdir -p $fs/usr/
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/share $fs/usr
    1.61 +	copy @std
    1.62 +	TAGS="window-manager"
    1.63 +	DEPENDS="alsa-lib flac fribidi gdk-pixbuf libsndfile libvorbis xorg-libSM \
    1.64 +	xorg-libXft xorg-libXinerama xorg-libXrandr"
    1.65  }