wok-6.x diff cairo-dock/receipt @ rev 24015

Up tazinst (112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 10:56:54 2021 +0000 (2021-02-25)
parents 7d6089953592
children afae00265386
line diff
     1.1 --- a/cairo-dock/receipt	Sat Aug 10 11:33:11 2013 +0000
     1.2 +++ b/cairo-dock/receipt	Thu Feb 25 10:56:54 2021 +0000
     1.3 @@ -1,38 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cairo-dock"
     1.7 -VERSION="2.4.0~2"
     1.8 +VERSION="3.4.1"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch."
    1.11 +SHORT_DESC="A light and eye-candy dock to launch."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="http://www.glx-dock.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL"
    1.18 +WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION%.*}/$VERSION/+download/$TARBALL"
    1.19  
    1.20 -DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl"
    1.21 -BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \
    1.22 -gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev"
    1.23  SUGGESTED="cairo-dock-plugins"
    1.24 +DEPENDS="cairo dbus gtk+ gtkglext libcurl librsvg mesa xorg-xcompmgr"
    1.25 +BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev 
    1.26 +	gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	sed -i 's|<glib/g.*h>|<glib.h>|' src/gldit/cairo-dock-keybinder.h
    1.33 -	mkdir -p build && cd build
    1.34 +	sed -i 's|<glib/g.*h>|<glib.h>|' \
    1.35 +		src/gldit/cairo-dock-keybinder.h
    1.36 +
    1.37 +	mkdir -p build &&
    1.38 +	cd build &&
    1.39  	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    1.40  	make &&
    1.41  	make DESTDIR=$DESTDIR install &&
    1.42 +
    1.43  	sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.52 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.53 -	chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2
    1.54 +	mkdir -p $fs/usr/lib
    1.55 +	mkdir -p $fs/usr/share/$PACKAGE
    1.56 +
    1.57 +	cp -a $install/usr/bin			$fs/usr
    1.58 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.59 +	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.60 +	chmod a+x $fs/usr/lib/libgldi.so.$VERSION
    1.61  }