wok-next view vte-gtk2/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | 757d032c55c7 |
children | 342b30daff76 |
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html" # (for gtk+3 version)
12 TARBALL="vte-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/vte/0.28/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
16 BUILD_DEPENDS="intltool gtk+-dev python-dev gobject-introspection-dev pygtk-dev"
17 SPLIT="vte-gtk2-terminal vte-gtk2-python vte-gtk2 vte-gtk2-dev"
19 compile_rules() {
20 case "$ARCH" in
21 arm*) ARCH_ARGS="--enable-introspection=no";;
22 *) ARCH_ARGS="--enable-introspection=yes";;
23 esac
25 ./configure \
26 --disable-static \
27 $ARCH_ARGS \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
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 }