SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vte291"

# SliTaz package receipt.

PACKAGE="vte291"
VERSION="0.56.4"
CATEGORY="utilities"
SHORT_DESC="Terminal capabilities for GTK+ widgets."
MAINTAINER="maintainer@slitaz.org"
LICENSE="LGPL2"
WEB_SITE="https://wiki.gnome.org/Apps/Terminal/VTE"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://gitlab.gnome.org/GNOME/vte/-/archive/$VERSION/vte-$VERSION.tar.gz"

HOST_ARCH="i486 arm"

SUGGESTED="vte291-lang"
DEPENDS="gtk+3 ncurses xorg-libXdamage"
BUILD_DEPENDS="autoconf automake bash gnutls-dev gcc83 gobject-introspection-dev
    gperf gtk+3-dev gtk-doc icu-dev libgio-dev libtool libxml2-tools ncurses-dev
    pango-dev pcre2-dev vala xorg-libXft-dev xorg-libXtst-dev"

current_version()
{
    wget -O - $GNOME_MIRROR/vte/$(wget -O - $GNOME_MIRROR/vte 2>/dev/null | \
    sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/href=\"vte-[0-9]/!d;s|.*vte-||;s|.[a-z].*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    # 0.56.4    to avoid "G_GNUC_CHECK_VERSION" is not defined
    sed -i '665,667d' src/parser-glue.hh &&

    ./autogen.sh                \
        CC=gcc-83            \
        CXX=g++-83            \
        --prefix=/usr            \
        --with-html-dir=/usr/share/doc    \
        --with-pcre            \
        --disable-static        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    etc
    cook_copy_files        *.so*
}
6011 packages and 861676 files in cooking database (Sun Jun 8 00:51:35 2025)