wok annotate compiz-core/receipt @ rev 25283

updated roundup (1.6.1 -> 2.2.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:58:43 2022 +0100 (2022-07-18)
parents 0feced246be7
children fe1b5660fdd1
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-core"
Hans-G?nter@22613 4 VERSION="0.8.14"
pascal@11219 5 CATEGORY="x-window"
Hans-G?nter@22613 6 SHORT_DESC="An OpenGL compositing manager for 3D effect."
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@15022 8 LICENSE="MIT GPL LGPL"
psychomaniak@19217 9 WEB_SITE="https://github.com/compiz-reloaded"
pascal@11219 10
Hans-G?nter@22613 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22613 12 WGET_URL="$WEB_SITE/compiz/archive/v$VERSION.tar.gz"
Hans-G?nter@22613 13
Hans-G?nter@22613 14 DEPENDS="compiz-bcop compiz-libcompizconfig dbus dbus-glib
Hans-G?nter@22613 15 librsvg libglu-mesa mesa libxslt startup-notification"
pascal@22813 16 BUILD_DEPENDS="autoconf automake xz cairo-dev dbus-dev dbus-glib-dev
Hans-G?nter@22613 17 file intltool libcroco-dev librsvg-dev libtool libxslt-dev
Hans-G?nter@22613 18 mesa-dev pango-dev startup-notification-dev
Hans-G?nter@22613 19 util-linux-uuid-dev xcb-util-dev xorg-dev"
pankso@12405 20
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 24 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 25 }
pascal@24055 26
pascal@11219 27 # Rules to configure and make the package.
pascal@11219 28 compile_rules()
pascal@11219 29 {
Hans-G?nter@22613 30 ./autogen.sh \
Hans-G?nter@22613 31 --prefix=/usr \
Hans-G?nter@22613 32 --enable-shared \
Hans-G?nter@22613 33 --enable-librsvg \
Hans-G?nter@22613 34 --enable-dbus \
Hans-G?nter@22613 35 --enable-dbus-glib \
Hans-G?nter@22613 36 --enable-glib \
Hans-G?nter@22613 37 --disable-static \
Hans-G?nter@22613 38 --disable-inotify
Hans-G?nter@22613 39 make &&
Hans-G?nter@22613 40 make install
pascal@11219 41 }
pascal@11219 42
pascal@11219 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 44 genpkg_rules()
pascal@11219 45 {
Hans-G?nter@22613 46 mkdir -p $fs/usr/lib
Hans-G?nter@22613 47 mkdir -p $fs/usr/share/locale
Hans-G?nter@22613 48
Hans-G?nter@22613 49 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22613 50 cp -a $install/usr/lib/compiz $fs/usr/lib
psychomaniak@19217 51 rm -rf $fs/usr/lib/compiz/*.la
Hans-G?nter@22613 52 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22613 53 cp -a $install/usr/share/compiz $fs/usr/share
Hans-G?nter@22613 54 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@22613 55
Hans-G?nter@22613 56 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@22613 57 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22613 58
Hans-G?nter@22613 59 # Copy message files in wanted languages, if available
Hans-G?nter@22613 60 for locale in $LOCALE_PACK
Hans-G?nter@22613 61 do
Hans-G?nter@22613 62 [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@22613 63 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@22613 64 done
Hans-G?nter@22613 65
psychomaniak@19217 66 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
pascal@11219 67 }