wok-next annotate vte/receipt @ rev 19844
sakura -> sakura-gtk2; vte -> vte-gtk2; add sakura, vte; up gtk-engines, lxde, wpa_supplicant.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 25 15:45:11 2017 +0300 (2017-08-25) |
parents | aef69ec23a2f |
children | f375934fce59 |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
al@19814 | 4 VERSION="0.46.1" |
pankso@211 | 5 CATEGORY="utilities" |
al@19814 | 6 SHORT_DESC="Terminal capabilities for GTK+ widgets" |
pankso@189 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19844 | 9 WEB_SITE="https://www.gnome.org/" |
pankso@16249 | 10 HOST_ARCH="i486 arm" |
pankso@189 | 11 |
al@19814 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19814 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19814 | 14 |
al@19814 | 15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev" |
al@19814 | 16 BUILD_DEPENDS="automake gettext gobject-introspection-dev vala intltool \ |
al@19814 | 17 pango-dev gtk+3-dev pcre2-dev gnutls-dev" |
al@19844 | 18 SPLIT="vte-terminal vte vte-dev" |
slaxemulator@11144 | 19 |
pankso@189 | 20 # Rules to configure and make the package. |
pankso@189 | 21 compile_rules() |
pankso@189 | 22 { |
al@19814 | 23 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html |
al@19844 | 24 |
al@19844 | 25 case "$ARCH" in |
al@19844 | 26 i?86) ARCH_ARGS="--enable-introspection=yes";; |
al@19844 | 27 arm) ARCH_ARGS="--enable-introspection=no";; |
al@19844 | 28 esac |
al@19844 | 29 |
al@19814 | 30 sed -i '/Werror/d' configure.ac && |
al@19814 | 31 autoreconf && |
al@19814 | 32 |
pankso@189 | 33 ./configure \ |
al@19814 | 34 --sysconfdir=/etc \ |
slaxemulator@7687 | 35 --disable-static \ |
al@19814 | 36 $CONFIGURE_ARGS $ARCH_ARGS && |
al@19814 | 37 make -j1 && make install |
al@19814 | 38 |
al@17174 | 39 # add 'Home' and 'End' keys |
psychomaniak@18241 | 40 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm |
pankso@189 | 41 } |
pankso@189 | 42 |
pankso@189 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@189 | 44 genpkg_rules() |
pankso@189 | 45 { |
al@19814 | 46 case $PACKAGE in |
al@19814 | 47 vte-terminal) |
al@19814 | 48 copy bin/ |
al@19814 | 49 CAT="development|X Terminal" |
al@19814 | 50 DEPENDS="vte" |
al@19814 | 51 ;; |
al@19844 | 52 vte) |
al@19844 | 53 copy @std |
al@19844 | 54 remove_already_packed |
al@19844 | 55 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gmp \ |
al@19844 | 56 gtk+3 libffi libgnutls libharfbuzz libidn liblzma libpng16 \ |
al@19844 | 57 libtasn1 libunistring libxml2 nettle p11-kit pango pcre pcre2 \ |
al@19844 | 58 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@19844 | 59 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@19844 | 60 xorg-pixman zlib" |
al@19844 | 61 ;; |
al@19844 | 62 vte-dev) |
al@19844 | 63 copy @dev |
al@19844 | 64 DEPENDS="vte vte-terminal \ |
al@19844 | 65 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@19844 | 66 gdk-pixbuf-dev glib-dev gmp-dev gnutls-dev gtk+3-dev harfbuzz-dev \ |
al@19844 | 67 libffi-dev libidn-dev libpng16-dev libtasn1-dev libunistring-dev \ |
al@19844 | 68 libxml2-dev nettle-dev p11-kit-dev pango-dev pcre-dev pcre2-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-libxcb-dev xorg-libXdmcp-dev \ |
al@19844 | 71 xorg-libXext-dev xorg-libXrender-dev xorg-pixman-dev xz-dev \ |
al@19844 | 72 zlib-dev" |
al@19844 | 73 ;; |
al@19814 | 74 esac |
pankso@189 | 75 } |