wok-next annotate vte-gtk2/receipt @ rev 20158
lz4: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 16:59:12 2017 +0100 (2017-11-01) |
parents | |
children | c4e53a39395a |
rev | line source |
---|---|
al@19844 | 1 # SliTaz package receipt v2. |
al@19844 | 2 |
al@19844 | 3 PACKAGE="vte-gtk2" |
al@19844 | 4 VERSION="0.28.2" # last gtk2-based series is 0.28; last version is 0.28.2 (2011-08-28); see vte receipt for latest vte |
al@19844 | 5 CATEGORY="utilities" |
al@19844 | 6 SHORT_DESC="Terminal capabilities for GTK+ widgets" |
al@19844 | 7 MAINTAINER="pankso@slitaz.org" |
al@19844 | 8 LICENSE="GPL2" |
al@19844 | 9 WEB_SITE="https://www.gnome.org/" |
al@19844 | 10 HOST_ARCH="i486 arm" |
al@19844 | 11 |
al@19844 | 12 TARBALL="vte-$VERSION.tar.xz" |
al@19844 | 13 WGET_URL="$GNOME_MIRROR/vte/0.28/$TARBALL" |
al@19844 | 14 |
al@19844 | 15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev" |
al@19844 | 16 BUILD_DEPENDS="intltool gtk+-dev python-dev gobject-introspection-dev pygtk-dev" |
al@19844 | 17 SPLIT="vte-gtk2-terminal vte-gtk2-python vte-gtk2 vte-gtk2-dev" |
al@19844 | 18 |
al@19844 | 19 # Rules to configure and make the package. |
al@19844 | 20 compile_rules() |
al@19844 | 21 { |
al@19844 | 22 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html (for gtk+3 version) |
al@19844 | 23 |
al@19844 | 24 case "$ARCH" in |
al@19844 | 25 i?86) ARCH_ARGS="--enable-introspection=yes";; |
al@19844 | 26 arm) ARCH_ARGS="--enable-introspection=no";; |
al@19844 | 27 esac |
al@19844 | 28 |
al@19844 | 29 ./configure \ |
al@19844 | 30 --sysconfdir=/etc \ |
al@19844 | 31 --disable-static \ |
al@19844 | 32 $CONFIGURE_ARGS $ARCH_ARGS && |
al@19844 | 33 make -j1 && make install |
al@19844 | 34 |
al@19844 | 35 # add 'Home' and 'End' keys |
al@19844 | 36 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm |
al@19844 | 37 } |
al@19844 | 38 |
al@19844 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19844 | 40 genpkg_rules() |
al@19844 | 41 { |
al@19844 | 42 case $PACKAGE in |
al@19844 | 43 vte-gtk2-terminal) |
al@19844 | 44 copy bin/ |
al@19844 | 45 CAT="development|X Terminal" |
al@19844 | 46 DEPENDS="vte-gtk2" |
al@19844 | 47 ;; |
al@19844 | 48 vte-gtk2-python) |
al@19844 | 49 copy vtemodule.so vte.defs |
al@19844 | 50 CAT="development|Python bindings" |
al@19844 | 51 DEPENDS="python vte-gtk2" |
al@19844 | 52 PROVIDE="python-vte" |
al@19844 | 53 ;; |
al@19844 | 54 vte-gtk2) |
al@19844 | 55 copy @std |
al@19844 | 56 remove_already_packed |
al@19844 | 57 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ |
al@19844 | 58 libffi libharfbuzz liblzma libpng16 libxml2 ncurses pango pcre \ |
al@19844 | 59 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@19844 | 60 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@19844 | 61 xorg-pixman zlib" |
al@19844 | 62 ;; |
al@19844 | 63 vte-gtk2-dev) |
al@19844 | 64 copy @dev |
al@19844 | 65 DEPENDS="vte-gtk2 vte-gtk2-terminal vte-gtk2-python \ |
al@19844 | 66 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@19844 | 67 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \ |
al@19844 | 68 libpng16-dev libxml2-dev ncurses-dev pango-dev pcre-dev \ |
al@19844 | 69 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@19844 | 70 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@19844 | 71 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@19844 | 72 ;; |
al@19844 | 73 esac |
al@19844 | 74 } |