wok diff compiz-plugins-main/receipt @ rev 23979
xvkbd: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 18 09:50:51 2020 +0000 (2020-11-18) |
parents | ae335becd41b |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/compiz-plugins-main/receipt Sat Dec 15 11:57:12 2018 +0100 1.2 +++ b/compiz-plugins-main/receipt Wed Nov 18 09:50:51 2020 +0000 1.3 @@ -1,34 +1,50 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="compiz-plugins-main" 1.7 -VERSION="0.8.12.2" 1.8 +VERSION="0.8.14" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Compiz main plugins." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/compiz-reloaded" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 -WEB_SITE="https://github.com/compiz-reloaded" 1.17 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" 1.18 1.19 -DEPENDS="xorg-libX11 compiz-core librsvg" 1.20 -BUILD_DEPENDS="xorg-dev compiz-core-dev libnotify-dev libxslt-dev \ 1.21 -startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \ 1.22 -compiz-libcompizconfig compiz-libcompizconfig-dev compiz-bcop \ 1.23 -util-linux-uuid-dev libtool util-linux-getopt xcb-util-dev file" 1.24 +DEPENDS="compiz-core librsvg xorg-libX11" 1.25 +BUILD_DEPENDS="compiz-bcop compiz-core-dev compiz-libcompizconfig 1.26 + compiz-libcompizconfig-dev file gtk+-dev intltool libnotify-dev 1.27 + librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev 1.28 + util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev " 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - ./configure --prefix=/usr --sysconfdir=/etc 1.34 - make && make install 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + --sysconfdir=/etc && 1.38 + make && 1.39 + make install 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - mkdir -p $fs/usr/lib $fs/usr/share/locale 1.46 - cp -a $install/usr/lib/compiz $fs/usr/lib 1.47 - cp -a $install/usr/share/compiz $fs/usr/share 1.48 - cp -a $install/usr/share/locale/ru $fs/usr/share/locale 1.49 + mkdir -p $fs/usr/lib 1.50 + mkdir -p $fs/usr/share/locale 1.51 + 1.52 + cp -a $install/usr/lib/compiz $fs/usr/lib 1.53 + cp -a $install/usr/share/compiz $fs/usr/share 1.54 + 1.55 + # Set list of wanted locales in LOCALE_PACK 1.56 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.57 + 1.58 + # Copy message files in wanted languages, if available 1.59 + for locale in $LOCALE_PACK 1.60 + do 1.61 + [ -d $install/usr/share/locale/$locale ] || continue 1.62 + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.63 + done 1.64 + 1.65 cd $fs/usr/lib/compiz; rm -f *.a *.la 1.66 }