wok-next annotate vte/receipt @ rev 20939
Fix brisk-menu, mate-backgrounds, mate-user-guide
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 26 09:13:55 2018 +0300 (2018-08-26) |
parents | 757d032c55c7 |
children | f48456621a9d |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
pankso@189 | 2 |
pankso@189 | 3 PACKAGE="vte" |
al@20657 | 4 VERSION="0.50.2" |
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/" |
al@20534 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html" |
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@20657 | 16 BUILD_DEPENDS="intltool pango-dev gtk+3-dev pcre2-dev gnutls-dev \ |
al@20657 | 17 gobject-introspection-dev vala gperf" |
al@20657 | 18 |
al@19844 | 19 SPLIT="vte-terminal vte vte-dev" |
slaxemulator@11144 | 20 |
al@20534 | 21 compile_rules() { |
al@19844 | 22 case "$ARCH" in |
al@20534 | 23 arm*) ARCH_ARGS="--enable-introspection=no";; |
al@20534 | 24 *) ARCH_ARGS="--enable-introspection=yes";; |
al@19844 | 25 esac |
al@19844 | 26 |
pankso@189 | 27 ./configure \ |
slaxemulator@7687 | 28 --disable-static \ |
al@20534 | 29 $ARCH_ARGS \ |
al@20534 | 30 $CONFIGURE_ARGS && |
al@20534 | 31 fix libtool && |
al@20657 | 32 make && |
al@20657 | 33 make install || return 1 |
al@20657 | 34 |
al@20657 | 35 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \ |
al@20657 | 36 $install/usr/lib/pkgconfig/vte.pc |
al@20657 | 37 ln -s $(cd $install/usr/bin; ls vte-*) \ |
al@20657 | 38 $install/usr/bin/vte |
al@19814 | 39 |
al@17174 | 40 # add 'Home' and 'End' keys |
psychomaniak@18241 | 41 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm |
pankso@189 | 42 } |
pankso@189 | 43 |
al@20534 | 44 genpkg_rules() { |
al@19814 | 45 case $PACKAGE in |
al@19814 | 46 vte-terminal) |
al@19814 | 47 copy bin/ |
al@19814 | 48 CAT="development|X Terminal" |
al@20657 | 49 DEPENDS="glib gtk+3 pango vte" |
al@19814 | 50 ;; |
al@19844 | 51 vte) |
al@20513 | 52 copy @std @rm |
al@20657 | 53 DEPENDS="atk cairo glib gtk+3 libgnutls libpcre2-8 pango zlib" |
al@19844 | 54 ;; |
al@19844 | 55 vte-dev) |
al@19844 | 56 copy @dev |
al@19844 | 57 DEPENDS="vte vte-terminal \ |
al@20657 | 58 glib-dev gnutls-dev gtk+3-dev pango-dev pcre2-dev zlib-dev" |
al@19844 | 59 ;; |
al@19814 | 60 esac |
pankso@189 | 61 } |