wok-next view vte/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 0ed344a8daed |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vte"
4 VERSION="0.46.1"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
16 BUILD_DEPENDS="automake gettext gobject-introspection-dev vala intltool \
17 pango-dev gtk+3-dev pcre2-dev gnutls-dev"
18 SPLIT="vte-terminal vte vte-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html
25 case "$ARCH" in
26 i?86) ARCH_ARGS="--enable-introspection=yes";;
27 arm) ARCH_ARGS="--enable-introspection=no";;
28 esac
30 sed -i '/Werror/d' configure.ac &&
31 autoreconf &&
33 ./configure \
34 --sysconfdir=/etc \
35 --disable-static \
36 $CONFIGURE_ARGS $ARCH_ARGS &&
37 make -j1 && make install
39 # add 'Home' and 'End' keys
40 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 case $PACKAGE in
47 vte-terminal)
48 copy bin/
49 CAT="development|X Terminal"
50 DEPENDS="vte"
51 ;;
52 vte)
53 copy @std
54 remove_already_packed
55 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gmp \
56 gtk+3 libffi libgnutls libharfbuzz libidn liblzma libpng16 \
57 libtasn1 libunistring libxml2 nettle p11-kit pango pcre pcre2 \
58 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
59 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
60 xorg-pixman zlib"
61 ;;
62 vte-dev)
63 copy @dev
64 ln -s $(cd $fs/usr/lib/pkgconfig ; ls vte-*.pc) \
65 $fs/usr/lib/pkgconfig/vte.pc
66 DEPENDS="vte vte-terminal \
67 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
68 gdk-pixbuf-dev glib-dev gmp-dev gnutls-dev gtk+3-dev harfbuzz-dev \
69 libffi-dev libidn-dev libpng16-dev libtasn1-dev libunistring-dev \
70 libxml2-dev nettle-dev p11-kit-dev pango-dev pcre-dev pcre2-dev \
71 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
72 xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev xorg-libXdmcp-dev \
73 xorg-libXext-dev xorg-libXrender-dev xorg-pixman-dev xz-dev \
74 zlib-dev"
75 ;;
76 esac
77 }