wok-next annotate cairo-dock-plugins/receipt @ rev 21196

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