wok-next annotate vte/receipt @ rev 21545

updated cgames (2.2 -> 2.2b)
author Hans-G?nter Theisgen
date Sun Jun 21 17:35:44 2020 +0100 (2020-06-21)
parents e19ff076dc63
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19844 9 WEB_SITE="https://www.gnome.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21094 15 COOKOPTS="force-arch" # different .h, .vapi
al@21094 16
al@21017 17 BUILD_DEPENDS="intltool pango-dev gtk3-dev pcre2-dev gnutls-dev \
al@20657 18 gobject-introspection-dev vala gperf"
al@20657 19
al@21017 20 SPLIT="$PACKAGE-terminal $PACKAGE $PACKAGE-dev"
slaxemulator@11144 21
al@20534 22 compile_rules() {
pankso@189 23 ./configure \
slaxemulator@7687 24 --disable-static \
al@21017 25 --enable-introspection \
al@20534 26 $CONFIGURE_ARGS &&
al@20534 27 fix libtool &&
al@20657 28 make &&
al@20657 29 make install || return 1
al@20657 30
al@20657 31 ln -s $(cd $install/usr/lib/pkgconfig; ls vte-*.pc) \
al@20657 32 $install/usr/lib/pkgconfig/vte.pc
al@20657 33 ln -s $(cd $install/usr/bin; ls vte-*) \
al@20657 34 $install/usr/bin/vte
al@19814 35
al@17174 36 # add 'Home' and 'End' keys
psychomaniak@18241 37 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
pankso@189 38 }
pankso@189 39
al@20534 40 genpkg_rules() {
al@19814 41 case $PACKAGE in
al@21017 42 *-terminal)
al@19814 43 copy bin/
al@19814 44 CAT="development|X Terminal"
al@21017 45 DEPENDS="glib gtk3 pango vte"
al@19814 46 ;;
al@19844 47 vte)
al@20513 48 copy @std @rm
al@21105 49 DEPENDS="atk libcairo glib gtk3 libgnutls libpcre2-8 pango zlib"
al@19844 50 ;;
al@21017 51 *-dev)
al@19844 52 copy @dev
al@19844 53 DEPENDS="vte vte-terminal \
al@21017 54 glib-dev gnutls-dev gtk3-dev pango-dev pcre2-dev zlib-dev"
al@19844 55 ;;
al@19814 56 esac
pankso@189 57 }