wok-next annotate gnome-desktop2/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a20a093a9790
children d5aab818505e
rev   line source
al@21009 1 # SliTaz package receipt v2.
al@21009 2
al@21009 3 PACKAGE="gnome-desktop2"
al@21009 4 VERSION="2.32.1"
al@21009 5 CATEGORY="x-window"
al@21009 6 SHORT_DESC="GNOME2 Desktop"
al@21009 7 MAINTAINER="erjo@slitaz.org"
al@21009 8 LICENSE="GPL2"
al@21009 9 WEB_SITE="https://www.gnome.org/"
al@21009 10
al@21009 11 TARBALL="gnome-desktop-$VERSION.tar.bz2"
al@21009 12 WGET_URL="$GNOME_MIRROR/gnome-desktop/${VERSION%.*}/$TARBALL"
al@21009 13
al@21009 14 BUILD_DEPENDS="intltool startup-notification-dev xorg-libX11-dev \
al@21017 15 xorg-libXrandr-dev gdk-pixbuf-dev gtk2-dev glib-dev gconf-dev gnome-doc-utils \
al@21009 16 rarian-dev"
al@21009 17 SPLIT="$PACKAGE-about $PACKAGE $PACKAGE-dev"
al@21009 18
al@21009 19 compile_rules() {
al@21009 20 ./configure \
al@21009 21 --disable-static \
al@21009 22 $CONFIGURE_ARGS &&
al@21009 23 fix libtool &&
al@21009 24 make &&
al@21009 25 make install
al@21009 26 }
al@21009 27
al@21009 28 genpkg_rules() {
al@21009 29 case $PACKAGE in
al@21009 30 *-about)
al@21009 31 copy gnome-about gnome-about.desktop gnome-about/
al@21009 32 CAT="x-window|about GNOME"
al@21009 33 DEPENDS="gnome-desktop2 python-pygtk python-pygobject2 \
al@21009 34 python-pycairo"
al@21009 35 ;;
al@21009 36 gnome-desktop2)
al@21009 37 copy @std @rm
al@21017 38 DEPENDS="cairo gconf gdk-pixbuf glib gtk2 startup-notification \
al@21009 39 xorg-libX11 xorg-libXrandr"
al@21009 40 ;;
al@21009 41 *-dev)
al@21009 42 copy @dev
al@21017 43 DEPENDS="gnome-desktop2 gtk2-dev startup-notification-dev"
al@21009 44 ;;
al@21009 45 esac
al@21009 46 }