[arch-commits] Commit in gjs/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Apr 18 22:30:45 UTC 2021
Date: Sunday, April 18, 2021 @ 22:30:45
Author: heftig
Revision: 412887
archrelease: copy trunk to extra-x86_64
Added:
gjs/repos/extra-x86_64/PKGBUILD
(from rev 412886, gjs/trunk/PKGBUILD)
Deleted:
gjs/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 48 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-18 22:29:59 UTC (rev 412886)
+++ PKGBUILD 2021-04-18 22:30:45 UTC (rev 412887)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gjs
-pkgver=1.68.0
-pkgrel=2
-epoch=2
-pkgdesc="Javascript Bindings for GNOME"
-url="https://wiki.gnome.org/Projects/Gjs"
-arch=(x86_64)
-license=(GPL)
-depends=(cairo gobject-introspection-runtime js78 dconf readline)
-makedepends=(gobject-introspection git meson dbus)
-checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
-provides=(libgjs.so)
-_commit=87f0d0889127305ceb559c5451f29269d2f46f3b # tags/1.68.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-}
-
-build() {
- arch-meson $pkgname build \
- --buildtype release \
- -D installed_tests=false \
- -D profiler=disabled
- meson compile -C build
-}
-
-check() {
- xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
- meson test -C build --print-errorlogs
-}
-
-package() {
- depends+=(libreadline.so)
- DESTDIR="$pkgdir" meson install -C build
-}
Copied: gjs/repos/extra-x86_64/PKGBUILD (from rev 412886, gjs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-18 22:30:45 UTC (rev 412887)
@@ -0,0 +1,48 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.68.0
+pkgrel=3
+epoch=2
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js78 dconf readline)
+makedepends=(gobject-introspection git meson dbus)
+checkdepends=(valgrind xorg-server-xvfb gtk3 gtk4)
+provides=(libgjs.so)
+_commit=87f0d0889127305ceb559c5451f29269d2f46f3b # tags/1.68.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+
+ # Fix _LocalFilePrototype
+ git cherry-pick -n ec9385b89cb2bce0615093c3c957cbbb5ea6b769
+}
+
+build() {
+ arch-meson $pkgname build \
+ --buildtype release \
+ -D installed_tests=false \
+ -D profiler=disabled
+ meson compile -C build
+}
+
+check() {
+ xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ depends+=(libreadline.so)
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list