wok-next view vte-gtk2/receipt @ rev 20585
Up cppunit (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 11:20:34 2018 +0300 (2018-04-14) |
parents | d43bf7aae921 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vte-gtk2"
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
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal capabilities for GTK+ widgets"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org/"
11 TARBALL="vte-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/vte/0.28/$TARBALL"
14 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
15 BUILD_DEPENDS="intltool gtk+-dev python-dev gobject-introspection-dev pygtk-dev"
16 SPLIT="vte-gtk2-terminal vte-gtk2-python vte-gtk2 vte-gtk2-dev"
18 compile_rules() {
19 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html (for gtk+3 version)
21 case "$ARCH" in
22 arm*) ARCH_ARGS="--enable-introspection=no";;
23 *) ARCH_ARGS="--enable-introspection=yes";;
24 esac
26 ./configure \
27 --disable-static \
28 $ARCH_ARGS \
29 $CONFIGURE_ARGS &&
30 make -j1 &&
31 make install
33 # add 'Home' and 'End' keys
34 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 vte-gtk2-terminal)
40 copy bin/
41 CAT="development|X Terminal"
42 DEPENDS="vte-gtk2"
43 ;;
44 vte-gtk2-python)
45 copy vtemodule.so vte.defs
46 CAT="development|Python bindings"
47 DEPENDS="python vte-gtk2"
48 PROVIDE="python-vte"
49 ;;
50 vte-gtk2)
51 copy @std @rm
52 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
53 libffi libharfbuzz liblzma libpng16 libxml2 ncurses pango pcre \
54 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
55 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
56 xorg-pixman zlib"
57 ;;
58 vte-gtk2-dev)
59 copy @dev
60 DEPENDS="vte-gtk2 vte-gtk2-terminal vte-gtk2-python \
61 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
62 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
63 libpng16-dev libxml2-dev ncurses-dev pango-dev pcre-dev \
64 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
65 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
66 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
67 ;;
68 esac
69 }