wok-next view vte/receipt @ rev 20458
Unlock x86_64 architecture
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 12:12:14 2018 +0200 (2018-03-02) |
parents | f375934fce59 |
children | d43bf7aae921 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS_arm="gtk+-dev ncurses-dev"
15 BUILD_DEPENDS="automake gettext gobject-introspection-dev vala intltool \
16 pango-dev gtk+3-dev pcre2-dev gnutls-dev"
17 SPLIT="vte-terminal vte vte-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html
24 case "$ARCH" in
25 i?86) ARCH_ARGS="--enable-introspection=yes";;
26 arm) ARCH_ARGS="--enable-introspection=no";;
27 esac
29 sed -i '/Werror/d' configure.ac &&
30 autoreconf &&
32 ./configure \
33 --sysconfdir=/etc \
34 --disable-static \
35 $CONFIGURE_ARGS $ARCH_ARGS &&
36 make -j1 && make install
38 # add 'Home' and 'End' keys
39 #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 case $PACKAGE in
46 vte-terminal)
47 copy bin/
48 CAT="development|X Terminal"
49 DEPENDS="vte"
50 ;;
51 vte)
52 copy @std
53 remove_already_packed
54 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gmp \
55 gtk+3 libffi libgnutls libharfbuzz libidn liblzma libpng16 \
56 libtasn1 libunistring libxml2 nettle p11-kit pango pcre pcre2 \
57 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
58 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
59 xorg-pixman zlib"
60 ;;
61 vte-dev)
62 copy @dev
63 ln -s $(cd $fs/usr/lib/pkgconfig ; ls vte-*.pc) \
64 $fs/usr/lib/pkgconfig/vte.pc
65 DEPENDS="vte vte-terminal \
66 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
67 gdk-pixbuf-dev glib-dev gmp-dev gnutls-dev gtk+3-dev harfbuzz-dev \
68 libffi-dev libidn-dev libpng16-dev libtasn1-dev libunistring-dev \
69 libxml2-dev nettle-dev p11-kit-dev pango-dev pcre-dev pcre2-dev \
70 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
71 xorg-libX11-dev xorg-libXau-dev xorg-libxcb-dev xorg-libXdmcp-dev \
72 xorg-libXext-dev xorg-libXrender-dev xorg-pixman-dev xz-dev \
73 zlib-dev"
74 ;;
75 esac
76 }