wok-next view gtk3/receipt @ rev 21272

updated gammu (1.27.0 -> 1.41.0)
author Hans-G?nter Theisgen
date Sat Dec 07 14:51:03 2019 +0100 (2019-12-07)
parents 82b613cfd1e0
children b990f44bc767
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk3"
4 VERSION="3.24.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Toolkit 3"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.gtk.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html"
12 TARBALL="gtk+-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gtk+/${VERSION%.*}/$TARBALL"
14 TARBALL_SHA1="3c1d2c716cd17ac85554b130f92c22dadb4e04ad"
16 BUILD_DEPENDS="gettext-dev wayland-protocols-dev wayland-dev glib-dev atk-dev \
17 pango-dev cairo-dev gdk-pixbuf-dev libxinerama-dev libxi-dev libxrandr-dev \
18 libxcomposite-dev libxdamage-dev libxkbcommon-dev mesa-dev libepoxy-dev \
19 at-spi2-atk-dev iso-codes-dev cups-dev rest-dev json-glib-dev \
20 gobject-introspection-dev colord-dev gtk-doc libxslt"
21 SPLIT="$PACKAGE-demo $PACKAGE-widget-factory $PACKAGE-icon-browser \
22 $PACKAGE-broadwayd $PACKAGE-dev $PACKAGE"
24 COPY_demo="gtk3-demo gtk3-demo-application gtk3-demo.desktop gtk3-demo*.png *Demo* *exampleapp*"
25 COPY_widget_factory="gtk3-widget-factory gtk3-widget-factory.desktop gtk3-widget-factory*.png"
26 COPY_icon_browser="gtk3-icon-browser gtk3-icon-browser.desktop"
27 COPY_broadwayd="broadwayd"
28 COPY_dev="@dev *.its *.loc *.rng"
29 COPY_std="etc/ bin/ themes/ *.so* *.xml @rm"
31 CAT_demo="development|example code and demo"
32 CAT_widget_factory="development|widget factory"
33 CAT_icon_browser="development|icon browser"
34 CAT_broadwayd="x-window|HTML5 GTK backend"
36 DEPENDS_demo="$PACKAGE libcairo gdk-pixbuf glib libepoxy libharfbuzz pango"
37 DEPENDS_widget_factory="$PACKAGE atk libcairo gdk-pixbuf glib"
38 DEPENDS_icon_browser="$PACKAGE glib"
39 DEPENDS_broadwayd="libcairo glib"
40 DEPENDS_dev="$PACKAGE at-spi2-atk-dev atk-dev cairo-dev fontconfig-dev \
41 gdk-pixbuf-dev glib-dev libepoxy-dev libx11-dev libxcomposite-dev \
42 libxdamage-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev \
43 libxkbcommon-dev libxrandr-dev mesa-dev pango-dev wayland-dev \
44 wayland-protocols-dev"
45 DEPENDS_std="at-spi2-atk atk colord fontconfig freetype gdk-pixbuf glib \
46 json-glib libcairo libcups libepoxy libharfbuzz libx11 libxcomposite \
47 libxdamage libxext libxfixes libxi libxinerama libxkbcommon libxrandr \
48 mesa-libwayland-egl pango rest wayland"
49 CONFIG_FILES_std="/etc/gtk-3.0/settings.ini"
51 # skip-log-errors: Failed to open file ?./gdk.gresource.xml?: No such file or directory
52 # force-arch: different .pc
53 COOKOPTS="!menus skip-log-errors force-arch"
55 compile_rules() {
56 ./configure \
57 --disable-debug \
58 --enable-xkb \
59 --enable-xinerama \
60 --enable-xrandr \
61 --enable-xfixes \
62 --enable-xcomposite \
63 --enable-xdamage \
64 --enable-x11-backend \
65 --enable-broadway-backend \
66 --enable-wayland-backend \
67 --enable-introspection \
68 --enable-colord \
69 --enable-man \
70 --with-x \
71 $CONFIGURE_ARGS &&
72 fix libtool &&
73 make &&
74 make install || return 1
76 cp -f $stuff/settings.ini $install/etc/gtk-3.0
77 find $install -name '*.desktop' | xargs sed -i '/NoDisplay/d'
78 }
80 post_install_gtk3() {
81 chroot "$1/" /usr/bin/gtk-query-immodules-3.0 --update-cache
82 }