wok-next rev 20138

Up cairo-dock (3.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 08:45:23 2017 +0100 (2017-11-01)
parents bca48f3b8bb3
children a51b2bb93b26
files cairo-dock-dev/receipt cairo-dock/receipt
line diff
     1.1 --- a/cairo-dock-dev/receipt	Tue Oct 31 21:42:04 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,21 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="cairo-dock-dev"
     1.7 -VERSION="2.4.0~2"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="Cairo dock devel file."
    1.10 -MAINTAINER="pankso@slitaz.org"
    1.11 -LICENSE="GPL3"
    1.12 -WANTED="cairo-dock"
    1.13 -WEB_SITE="http://www.glx-dock.org/"
    1.14 -
    1.15 -DEPENDS="cairo-dock pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	#cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -}
     2.1 --- a/cairo-dock/receipt	Tue Oct 31 21:42:04 2017 +0100
     2.2 +++ b/cairo-dock/receipt	Wed Nov 01 08:45:23 2017 +0100
     2.3 @@ -1,38 +1,50 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="cairo-dock"
     2.8 -VERSION="2.4.0~2"
     2.9 +VERSION="3.3.2"
    2.10  CATEGORY="x-window"
    2.11  SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="GPL3"
    2.14  WEB_SITE="http://www.glx-dock.org/"
    2.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 -WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
    2.17 +WGET_URL="https://github.com/Cairo-Dock/cairo-dock-core/archive/$VERSION.tar.gz"
    2.18  
    2.19 -DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
    2.20 -BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
    2.21 +BUILD_DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl \
    2.22 +cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
    2.23  gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev \
    2.24  xorg-libXtst-dev xorg-libXcomposite-dev libglu-mesa-dev gettext-tools"
    2.25 -SUGGESTED="cairo-dock-plugins"
    2.26 +SPLIT="cairo-dock cairo-dock-dev"
    2.27  
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h
    2.32  	mkdir -p build && cd build
    2.33  	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    2.34  	make &&
    2.35 -	make DESTDIR=$DESTDIR install &&
    2.36 -	sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
    2.37 +	make DESTDIR=$DESTDIR install
    2.38  }
    2.39  
    2.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.41  genpkg_rules()
    2.42  {
    2.43 -	mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
    2.44 -	cp -a $install/usr/bin $fs/usr
    2.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.46 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    2.47 -	chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2
    2.48 +	case $PACKAGE in
    2.49 +	cairo-dock)
    2.50 +		DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
    2.51 +		SUGGESTED="cairo-dock-plugins"
    2.52 +		mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
    2.53 +		cp -a $install/usr/bin $fs/usr
    2.54 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.55 +		cp -a $install/usr/share/$PACKAGE $fs/usr/share
    2.56 +		chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2
    2.57 +		;;
    2.58 +	cairo-dock-dev)
    2.59 +		CAT="x-window|Cairo dock devel file."
    2.60 +		DEPENDS="cairo-dock pkg-config"
    2.61 +		mkdir -p $fs/usr/lib
    2.62 +		#cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.63 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.64 +		cp -a $install/usr/include $fs/usr
    2.65 +		;;
    2.66 +	esac
    2.67  }