[arch-commits] Commit in vte3/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Mar 7 23:07:39 UTC 2020


    Date: Saturday, March 7, 2020 @ 23:07:38
  Author: heftig
Revision: 376914

archrelease: copy trunk to extra-x86_64

Added:
  vte3/repos/extra-x86_64/PKGBUILD
    (from rev 376913, vte3/trunk/PKGBUILD)
Deleted:
  vte3/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  115 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 63 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 23:06:47 UTC (rev 376913)
+++ PKGBUILD	2020-03-07 23:07:38 UTC (rev 376914)
@@ -1,52 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=vte3
-pkgname=(vte3 vte-common)
-pkgver=0.58.3
-pkgrel=1
-pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
-url="https://wiki.gnome.org/Apps/Terminal/VTE"
-arch=(x86_64)
-license=(LGPL)
-options=(!emptydirs)
-depends=(gtk3 pcre2 gnutls fribidi)
-makedepends=(gobject-introspection vala git gtk-doc gperf meson)
-_commit=73f9e209f70050ea88ed3d80e819ea1a04c5a6e1  # tags/0.58.3^0
-source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd vte
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd vte
-}
-
-build() {
-  arch-meson vte build -D docs=true
-  ninja -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package_vte3(){
-  depends+=(vte-common)
-
-  DESTDIR="$pkgdir" meson install -C build
-
-  mv "$pkgdir/etc/profile.d/vte.sh" "$srcdir"
-}
-
-package_vte-common() {
-  pkgdesc="Common files used by vte and vte3"
-  depends=(sh)
-
-  install -Dt "$pkgdir/etc/profile.d" -m644 vte.sh
-}
-
-# vim:set sw=2 et:

Copied: vte3/repos/extra-x86_64/PKGBUILD (from rev 376913, vte3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-07 23:07:38 UTC (rev 376914)
@@ -0,0 +1,63 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=vte3
+pkgname=(vte3 vte-common)
+pkgver=0.60.0
+pkgrel=1
+pkgdesc="Virtual Terminal Emulator widget"
+url="https://wiki.gnome.org/Apps/Terminal/VTE"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk3 pcre2 gnutls fribidi systemd-libs)
+makedepends=(gobject-introspection vala git gtk-doc gperf meson)
+_commit=bf56194f78fc13a99023358efb6f7af0f228240c  # tags/0.60.0^0
+source=("git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd vte
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd vte
+}
+
+build() {
+  arch-meson vte build -D docs=true -D b_lto=false
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_vte3() {
+  depends+=(vte-common)
+  provides+=(libvte-2.91.so)
+
+  DESTDIR="$pkgdir" meson install -C build
+
+### Split vte-common
+  _pick vte-common "$pkgdir"/etc/profile.d
+  _pick vte-common "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd}
+}
+
+package_vte-common() {
+  pkgdesc="Files shared by VTE libraries"
+  depends=(sh)
+  mv vte-common/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list