Date: Wednesday, November 16, 2022 @ 17:40:17
  Author: heftig
Revision: 1349226

archrelease: copy trunk to community-x86_64

Added:
  gedit/repos/community-x86_64/PKGBUILD
    (from rev 1349224, gedit/trunk/PKGBUILD)
Deleted:
  gedit/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  125 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 75 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-16 17:40:17 UTC (rev 1349225)
+++ PKGBUILD    2022-11-16 17:40:17 UTC (rev 1349226)
@@ -1,50 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-# Contributor: Jan de Groot <[email protected]>
-
-pkgname=gedit
-pkgver=42.2
-pkgrel=2
-pkgdesc="GNOME Text Editor"
-url="https://wiki.gnome.org/Apps/Gedit";
-arch=(x86_64)
-license=(GPL)
-depends=(gtksourceview4 gsettings-desktop-schemas libpeas gspell 
python-gobject)
-makedepends=(yelp-tools vala gobject-introspection git gtk-doc meson
-             appstream-glib desktop-file-utils libxml2)
-optdepends=('gedit-plugins: Additional features')
-conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1')
-groups=(gnome-extra)
-options=(debug)
-_commit=7de455c111ad507385451aa23747f95ca75b18cb  # tags/42.2^0
-source=("git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit";
-        "git+https://gitlab.gnome.org/GNOME/libgd.git";)
-sha256sums=('SKIP'
-            'SKIP')
-
-pkgver() {
-  cd gedit
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd gedit
-
-  git submodule init
-  git submodule set-url subprojects/libgd "$srcdir/libgd"
-  git -c protocol.file.allow=always submodule update
-}
-
-build() {
-  arch-meson gedit build \
-    -D gtk_doc=true \
-    -D require_all_tests=true
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "$pkgdir"
-}

Copied: gedit/repos/community-x86_64/PKGBUILD (from rev 1349224, 
gedit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-16 17:40:17 UTC (rev 1349226)
@@ -0,0 +1,75 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gedit
+pkgver=43.1
+pkgrel=1
+pkgdesc="GNOME Text Editor"
+url="https://wiki.gnome.org/Apps/Gedit";
+arch=(x86_64)
+license=(GPL)
+depends=(
+  amtk
+  gsettings-desktop-schemas
+  gspell
+  libpeas
+  python-gobject
+  tepl
+)
+makedepends=(
+  appstream-glib
+  desktop-file-utils
+  git
+  gobject-introspection
+  gtk-doc
+  meson
+  vala
+  yelp-tools
+)
+optdepends=('gedit-plugins: Additional features')
+conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1')
+groups=(gnome-extra)
+options=(debug)
+_commit=549daad83dbe515c83a9fe5828a584989bc6a6e0  # tags/43.1^0
+source=(
+  "git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit";
+  "git+https://gitlab.gnome.org/GNOME/libgd.git";
+)
+b2sums=('SKIP'
+        'SKIP')
+
+pkgver() {
+  cd gedit
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gedit
+
+  # Fix API version
+  git cherry-pick -n 57bb3a5cbf9d92031a7769d494ef12f01a983ec3
+
+  git submodule init
+  git submodule set-url subprojects/libgd "$srcdir/libgd"
+  git -c protocol.file.allow=always submodule update
+}
+
+build() {
+  local meson_options=(
+    -D gtk_doc=true
+    -D require_all_tests=true
+  )
+
+  arch-meson gedit build "${meson_options[@]}"
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to