wok-next annotate gtk2/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 | 1ff2f2b5df1d |
children |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
al@21017 | 2 |
al@21017 | 3 PACKAGE="gtk2" |
al@21113 | 4 VERSION="2.24.32" |
al@21017 | 5 CATEGORY="x-window" |
al@21017 | 6 SHORT_DESC="The GIMP Toolkit" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@21017 | 8 LICENSE="GPL2" |
al@21017 | 9 WEB_SITE="https://www.gtk.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gtk2.html" |
al@21017 | 11 |
al@21017 | 12 TARBALL="gtk+-$VERSION.tar.xz" |
al@21017 | 13 WGET_URL="$GNOME_MIRROR/gtk+/${VERSION:0:4}/$TARBALL" |
al@21113 | 14 TARBALL_SHA1="c885ade62b06854590822c8eb906daf7dd15d90a" |
al@21017 | 15 |
al@21094 | 16 COOKOPTS="force-arch" # different .pc |
al@21094 | 17 |
al@21017 | 18 BUILD_DEPENDS="glib-dev atk-dev pango-dev cairo-dev gdk-pixbuf-dev cups-dev \ |
al@21078 | 19 gobject-introspection-dev gtk-doc gettext-dev libxinerama-dev \ |
al@21017 | 20 shared-mime-info-dev" |
al@21017 | 21 SPLIT="$PACKAGE-demo $PACKAGE $PACKAGE-dev" |
al@21017 | 22 |
al@21113 | 23 COPY_demo="gtk-demo demo/ *.desktop" |
al@21113 | 24 CAT_demo="development|example code and demo" |
al@21113 | 25 |
al@21113 | 26 DEPENDS_demo="$PACKAGE gdk-pixbuf glib libcairo pango" |
al@21113 | 27 DEPENDS_std="atk fontconfig gdk-pixbuf glib libcairo libcups libx11 libxext \ |
al@21113 | 28 libxinerama libxrender pango" |
al@21113 | 29 DEPENDS_dev="$PACKAGE atk-dev cairo-dev gdk-pixbuf-dev glib-dev pango-dev" |
al@21113 | 30 |
al@21113 | 31 CONFIG_FILES_std="/etc/gtk-2.0/im-multipress.conf" |
al@21113 | 32 |
al@21113 | 33 COOKOPTS="!menus" |
al@21113 | 34 |
al@21017 | 35 compile_rules() { |
al@21017 | 36 ./configure \ |
al@21017 | 37 --enable-debug=no \ |
al@21017 | 38 $CONFIGURE_ARGS && |
al@21017 | 39 fix libtool && |
al@21113 | 40 make && |
al@21017 | 41 make install || return 1 |
al@21017 | 42 |
al@21115 | 43 mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0/ |
al@21115 | 44 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache |
al@21113 | 45 ln -s ../../usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \ |
al@21017 | 46 $install/etc/gtk-2.0/gdk-pixbuf.loaders |
al@21115 | 47 |
al@21113 | 48 install -Dm644 $stuff/gtk2-demo.desktop \ |
al@21113 | 49 $install/usr/share/applications/gtk2-demo.desktop |
al@21017 | 50 } |
al@21017 | 51 |
al@21113 | 52 post_install_gtk2() { |
al@21017 | 53 chroot "$1/" /usr/bin/gtk-query-immodules-2.0 --update-cache |
al@21017 | 54 } |