wok-next annotate libpeas/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | |
children | 9e5dca6702bf |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@20095 | 2 |
al@20095 | 3 PACKAGE="libpeas" |
al@20095 | 4 VERSION="1.22.0" |
al@20095 | 5 CATEGORY="libs" |
al@20095 | 6 SHORT_DESC="GObject Plugin System" |
al@20095 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20095 | 8 LICENSE="GPL2" |
al@20095 | 9 WEB_SITE="https://wiki.gnome.org/Projects/Libpeas" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/libpeas.html" |
al@20095 | 11 |
al@20095 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20095 | 13 WGET_URL="$GNOME_MIRROR/libpeas/${VERSION%.*}/$TARBALL" |
al@20095 | 14 |
al@20095 | 15 BUILD_DEPENDS="intltool gobject-introspection-dev gtk+3-dev python-dev \ |
al@20095 | 16 pygobject3-dev gtk-doc" |
al@20095 | 17 SPLIT="libpeas-gtk libpeas-python libpeas-dev libpeas-demo" |
al@20095 | 18 |
al@20095 | 19 compile_rules() { |
al@20095 | 20 ./configure $CONFIGURE_ARGS && make && make install |
al@20095 | 21 } |
al@20095 | 22 |
al@20095 | 23 genpkg_rules() { |
al@20095 | 24 case $PACKAGE in |
al@20095 | 25 libpeas) |
al@20095 | 26 copy libpeas-1.0.so* |
al@20095 | 27 DEPENDS="glib gobject-introspection" |
al@20095 | 28 ;; |
al@20095 | 29 *-gtk) |
al@20095 | 30 copy libpeas-gtk-1.0.so* |
al@20095 | 31 DEPENDS="libpeas atk cairo gdk-pixbuf gtk+3 pango" |
al@20095 | 32 ;; |
al@20095 | 33 *-python) |
al@20095 | 34 copy libpythonloader.so |
al@20095 | 35 DEPENDS="libpeas python" |
al@20095 | 36 ;; |
al@20095 | 37 *-dev) |
al@20095 | 38 copy @dev |
al@20095 | 39 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \ |
al@20095 | 40 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \ |
al@20095 | 41 gobject-introspection-dev gtk+3-dev harfbuzz-dev libffi-dev \ |
al@20095 | 42 libpng16-dev libxml2-dev pango-dev pcre-dev python \ |
al@20095 | 43 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@20095 | 44 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20095 | 45 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@20095 | 46 ;; |
al@20095 | 47 *-demo) |
al@20095 | 48 copy peas-demo peas-demo/ hicolor/ @rm |
al@20095 | 49 DEPENDS="libpeas-gtk" |
al@20095 | 50 ;; |
al@20095 | 51 esac |
al@20095 | 52 } |