# HG changeset patch # User Hans-G?nter Theisgen # Date 1725350088 -3600 # Node ID d3731cd03c7c56e9b709d4c1ff92c10e883544b3 # Parent 87d42064e808a7d44a9815021ed993d85d178f9e created recipes for vte291, vte291-dev and vte291-lang diff -r 87d42064e808 -r d3731cd03c7c json-glib-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/json-glib-lang/receipt Tue Sep 03 08:54:48 2024 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="json-glib-lang" +VERSION="0.16.2" +CATEGORY="localization" +SHORT_DESC="json-glib - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="LGPL2.1" +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" + +WANTED="json-glib" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 87d42064e808 -r d3731cd03c7c json-glib/receipt --- a/json-glib/receipt Tue Sep 03 08:36:40 2024 +0100 +++ b/json-glib/receipt Tue Sep 03 08:54:48 2024 +0100 @@ -12,6 +12,7 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +SUGGESTED="json-glib-lang" DEPENDS="glib libgio" BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev pkg-config" diff -r 87d42064e808 -r d3731cd03c7c vte291-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vte291-dev/receipt Tue Sep 03 08:54:48 2024 +0100 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="vte291-dev" +VERSION="0.56.4" +CATEGORY="development" +SHORT_DESC="Terminal capabilities for GTK+ widgets - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://wiki.gnome.org/Apps/Terminal/VTE" + +DEPENDS="vte291 pkg-config" +WANTED="vte291" + +HOST_ARCH="i486 arm" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders include + cook_copy_folders pkgconfig + [ -d "$install/usr/lib/girepository-1.0" ] && + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + [ -d "$install/usr/share/gir-1.0" ] && \ + cp -a $install/usr/share/gir-1.0 $fs/usr/share +} diff -r 87d42064e808 -r d3731cd03c7c vte291-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vte291-lang/receipt Tue Sep 03 08:54:48 2024 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="vte291-lang" +VERSION="0.56.4" +CATEGORY="localization" +SHORT_DESC="Terminal capabilities for GTK+ widgets - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://wiki.gnome.org/Apps/Terminal/VTE" + +WANTED="vte291" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 87d42064e808 -r d3731cd03c7c vte291/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vte291/receipt Tue Sep 03 08:54:48 2024 +0100 @@ -0,0 +1,53 @@ +# 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* +}