wok view compiz-plugins-extra/receipt @ rev 22613

updated compiz packages ( -> 0.8.14)
author Hans-G?nter Theisgen
date Fri Jan 10 16:34:05 2020 +0100 (2020-01-10)
parents 22980cdd8a20
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-extra"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz extra plugins."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
15 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
17 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main
18 gtk+ libnotify librsvg xorg-libX11"
19 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev
20 compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev
21 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev
22 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 0.8.12.1
28 # [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
29 # wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
30 # patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
32 ./configure --prefix=/usr &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share/locale
43 cp -a $install/usr/lib/compiz $fs/usr/lib
44 cp -a $install/usr/share/compiz $fs/usr/share
46 # Set list of wanted locales in LOCALE_PACK
47 . $WOK/slitaz-i18n/stuff/locale-pack.conf
49 # Copy message files in wanted languages, if available
50 for locale in $LOCALE_PACK
51 do
52 [ -d $install/usr/share/locale/$locale ] || continue
53 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
54 done
56 cd $fs/usr/lib/compiz; rm -f *.a *.la
57 }