wok diff compiz-ccsm/receipt @ rev 23492
python-bcrypt: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:26:59 2020 +0100 (2020-04-06) |
parents | c38559793ba8 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/compiz-ccsm/receipt Sun Oct 09 18:56:56 2016 +0300 1.2 +++ b/compiz-ccsm/receipt Mon Apr 06 06:26:59 2020 +0100 1.3 @@ -1,24 +1,30 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="compiz-ccsm" 1.7 -VERSION="0.8.12.3" 1.8 +VERSION="0.8.14" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Compiz Config Settings Manager." 1.11 +SHORT_DESC="Compiz Configuration Settings Manager." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://github.com/compiz-reloaded/ccsm" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.17 -WEB_SITE="https://github.com/compiz-reloaded/ccsm" 1.18 WGET_URL="$WEB_SITE/releases/download/v$VERSION/ccsm-$VERSION.tar.xz" 1.19 1.20 -DEPENDS="python pygobject3 compiz-core compiz-libcompizconfig \ 1.21 -compiz-compizconfig-python gtk-girepository" 1.22 -BUILD_DEPENDS="$DEPENDS python-dev libtool compiz-core-dev \ 1.23 -compiz-libcompizconfig-dev" 1.24 +DEPENDS="compiz-compizconfig-python compiz-core compiz-libcompizconfig 1.25 + gtk-girepository pygobject3 python" 1.26 +BUILD_DEPENDS="compiz-core-dev compiz-libcompizconfig-dev libtool python-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - ./setup.py install --prefix=/usr --with-gtk=2.0 --root="$DESTDIR" 1.32 + # 0.8.14 to avoid: ERROR Cannot find filename: ccsm.appdata.xml.in 1.33 + sed -i '137d' setup.py 1.34 + 1.35 + ./setup.py install \ 1.36 + --prefix=/usr \ 1.37 + --with-gtk=2.0 \ 1.38 + --root="$DESTDIR" 1.39 1.40 find $DESTDIR -name ccsm.desktop | xargs \ 1.41 sed -i 's#Exec=.*#Exec=sh -c \"ccsm \|\| LC_ALL=C LANG=C ccsm\"#' 1.42 @@ -28,9 +34,19 @@ 1.43 genpkg_rules() 1.44 { 1.45 mkdir -p $fs/usr/share/locale 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install/usr/lib $fs/usr 1.48 - cp -a $install/usr/share/locale/ru $fs/usr/share/locale 1.49 - cp -a $install/usr/share/ccsm $fs/usr/share 1.50 - cp -a $install/usr/share/icons $fs/usr/share 1.51 + 1.52 + cp -a $install/usr/bin $fs/usr 1.53 + cp -a $install/usr/lib $fs/usr 1.54 + cp -a $install/usr/share/ccsm $fs/usr/share 1.55 + cp -a $install/usr/share/icons $fs/usr/share 1.56 + 1.57 + # Set list of wanted locales in LOCALE_PACK 1.58 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.59 + 1.60 + # Copy message files in wanted languages, if available 1.61 + for locale in $LOCALE_PACK 1.62 + do 1.63 + [ -d $install/usr/share/locale/$locale ] || continue 1.64 + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.65 + done 1.66 }