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