wok annotate compiz-core/receipt @ rev 23244
updated ninja (1.9.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:19:28 2020 +0100 (2020-03-25) |
parents | cdbaf97bfe46 |
children | 5ea0ce1cecc0 |
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@11219 | 21 # Rules to configure and make the package. |
pascal@11219 | 22 compile_rules() |
pascal@11219 | 23 { |
Hans-G?nter@22613 | 24 ./autogen.sh \ |
Hans-G?nter@22613 | 25 --prefix=/usr \ |
Hans-G?nter@22613 | 26 --enable-shared \ |
Hans-G?nter@22613 | 27 --enable-librsvg \ |
Hans-G?nter@22613 | 28 --enable-dbus \ |
Hans-G?nter@22613 | 29 --enable-dbus-glib \ |
Hans-G?nter@22613 | 30 --enable-glib \ |
Hans-G?nter@22613 | 31 --disable-static \ |
Hans-G?nter@22613 | 32 --disable-inotify |
Hans-G?nter@22613 | 33 make && |
Hans-G?nter@22613 | 34 make install |
pascal@11219 | 35 } |
pascal@11219 | 36 |
pascal@11219 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 38 genpkg_rules() |
pascal@11219 | 39 { |
Hans-G?nter@22613 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@22613 | 41 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22613 | 42 |
Hans-G?nter@22613 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22613 | 44 cp -a $install/usr/lib/compiz $fs/usr/lib |
psychomaniak@19217 | 45 rm -rf $fs/usr/lib/compiz/*.la |
Hans-G?nter@22613 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22613 | 47 cp -a $install/usr/share/compiz $fs/usr/share |
Hans-G?nter@22613 | 48 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@22613 | 49 |
Hans-G?nter@22613 | 50 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22613 | 51 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22613 | 52 |
Hans-G?nter@22613 | 53 # Copy message files in wanted languages, if available |
Hans-G?nter@22613 | 54 for locale in $LOCALE_PACK |
Hans-G?nter@22613 | 55 do |
Hans-G?nter@22613 | 56 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22613 | 57 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22613 | 58 done |
Hans-G?nter@22613 | 59 |
psychomaniak@19217 | 60 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator |
pascal@11219 | 61 } |