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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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@20519 20 compile_rules() {
al@20989 21 sed -i 's|gmcs|mcs|' CMakeLists.txt
al@20989 22
al@20519 23 mkdir build
al@20519 24 cd build
al@20519 25 cmake \
al@20519 26 -DCMAKE_INSTALL_PREFIX=/usr \
al@20519 27 .. &&
pankso@7880 28 make &&
al@20989 29 make install
pankso@7880 30 }
pankso@7880 31
al@20519 32 genpkg_rules() {
al@20989 33 case $PACKAGE in
al@20989 34 *-python)
al@20989 35 copy python2*/
al@20989 36 CAT="python|Python2 bindings"
al@20989 37 DEPENDS="cairo-dock-plugins python"
al@20989 38 ;;
al@20989 39 *-python3)
al@20989 40 copy python3*/
al@20989 41 CAT="python|Python3 bindings"
al@20989 42 DEPENDS="cairo-dock-plugins python3"
al@20989 43 ;;
al@20989 44 *-ruby)
al@20989 45 copy ruby/
al@20989 46 CAT="ruby|Ruby bindings"
al@20989 47 DEPENDS="cairo-dock-plugins ruby"
al@20989 48 ;;
al@20989 49 *-dev)
al@20989 50 copy @dev
al@20989 51 DEPENDS="cairo-dock-plugins glib-dev"
al@20989 52 ;;
al@20989 53 *)
al@20989 54 copy @std @rm
al@21017 55 DEPENDS="alsa-lib cairo dbus-glib fftw gdk-pixbuf glib gtk3 \
al@20989 56 libdbusmenu-gtk3 libetpan libexif libical libindicator-gtk3 \
al@20989 57 librsvg libxklavier libxml2 libzeitgeist lm-sensors mesa pango \
al@20989 58 pulseaudio upower vte xorg-libX11 xorg-libXrandr xorg-libXxf86vm"
al@20989 59 ;;
al@20989 60 esac
pankso@7880 61 }