wok-current annotate cairo-dock/receipt @ rev 25255

updated qpdfview (0.4.16 -> 0.4.18)
author Hans-G?nter Theisgen
date Fri Jul 15 06:30:28 2022 +0100 (2022-07-15)
parents 613b75574469
children
rev   line source
pankso@7880 1 # SliTaz package receipt.
pankso@7880 2
pankso@7880 3 PACKAGE="cairo-dock"
Hans-G?nter@22578 4 VERSION="3.4.1"
pankso@7880 5 CATEGORY="x-window"
Hans-G?nter@22578 6 SHORT_DESC="A light and eye-candy dock to launch."
pankso@7880 7 MAINTAINER="pankso@slitaz.org"
pascal@14997 8 LICENSE="GPL3"
al@14789 9 WEB_SITE="http://www.glx-dock.org/"
Hans-G?nter@22578 10
al@14789 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22578 12 WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION%.*}/$VERSION/+download/$TARBALL"
al@14789 13
pankso@7880 14 SUGGESTED="cairo-dock-plugins"
Hans-G?nter@22578 15 DEPENDS="cairo dbus gtk+ gtkglext libcurl librsvg mesa xorg-xcompmgr"
Hans-G?nter@22578 16 BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev
Hans-G?nter@22578 17 gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
pankso@7880 18
pascal@24402 19 # What is the latest version available today?
pascal@24402 20 current_version()
pascal@24402 21 {
pascal@24402 22 wget -O - https://launchpad.net/cairo-dock-core/ 2>/dev/null | \
pascal@24402 23 sed '/Latest version/!d;s|.* is ||'
pascal@24402 24 }
pascal@24402 25
pankso@7880 26 # Rules to configure and make the package.
pankso@7880 27 compile_rules()
pankso@7880 28 {
Hans-G?nter@22578 29 sed -i 's|<glib/g.*h>|<glib.h>|' \
Hans-G?nter@22578 30 src/gldit/cairo-dock-keybinder.h
Hans-G?nter@22578 31
Hans-G?nter@22578 32 mkdir -p build &&
Hans-G?nter@22578 33 cd build &&
pankso@7880 34 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
pankso@7880 35 make &&
slaxemulator@11076 36 make DESTDIR=$DESTDIR install &&
Hans-G?nter@22578 37
slaxemulator@11076 38 sed -i s/'.svg'/''/ $DESTDIR/usr/share/applications/*
pankso@7880 39 }
pankso@7880 40
pankso@7880 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7880 42 genpkg_rules()
pankso@7880 43 {
Hans-G?nter@22578 44 mkdir -p $fs/usr/lib
Hans-G?nter@22578 45 mkdir -p $fs/usr/share/$PACKAGE
Hans-G?nter@22578 46
Hans-G?nter@22578 47 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22578 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22578 49 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@22578 50 chmod a+x $fs/usr/lib/libgldi.so.$VERSION
pankso@7880 51 }