wok-next view cairo-dock-plugins/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | e19ff076dc63 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-dock-plugins"
4 VERSION="3.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Plugins for Cairo-Dock"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.glx-dock.org/"
11 TARBALL="cairo-dock-plug-ins-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Cairo-Dock/cairo-dock-plug-ins/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake cairo-dock-dev gettext-dev libdbusmenu-gtk3-dev \
15 libindicator-gtk3-dev upower-dev alsa-lib-dev libical-dev python3 ruby \
16 ruby-stdlib mono vala pulseaudio-dev fftw-dev libxklavier-dev libetpan-dev \
17 libzeitgeist-dev libexif-dev lm-sensors-dev vte-dev "
18 SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE-ruby $PACKAGE $PACKAGE-dev"
20 COOKOPTS="force-arch" # different .h, .vapi
22 compile_rules() {
23 sed -i 's|gmcs|mcs|' CMakeLists.txt
25 mkdir build
26 cd build
27 cmake \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 .. &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-python)
37 copy python2*/
38 CAT="python|Python2 bindings"
39 DEPENDS="cairo-dock-plugins python"
40 ;;
41 *-python3)
42 copy python3*/
43 CAT="python|Python3 bindings"
44 DEPENDS="cairo-dock-plugins python3"
45 ;;
46 *-ruby)
47 copy ruby/
48 CAT="ruby|Ruby bindings"
49 DEPENDS="cairo-dock-plugins ruby"
50 ;;
51 *-dev)
52 copy @dev
53 DEPENDS="cairo-dock-plugins glib-dev"
54 ;;
55 *)
56 copy @std @rm
57 DEPENDS="alsa-lib libcairo dbus-glib fftw gdk-pixbuf glib gtk3 \
58 libdbusmenu-gtk3 libetpan libexif libical libindicator-gtk3 \
59 librsvg libxklavier libxml2 libzeitgeist lm-sensors mesa pango \
60 pulseaudio upower vte libx11 libxrandr libxxf86vm"
61 ;;
62 esac
63 }