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