summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libpeas/APKBUILD8
-rw-r--r--user/libpeas/use-locale.h.patch12
2 files changed, 17 insertions, 3 deletions
diff --git a/user/libpeas/APKBUILD b/user/libpeas/APKBUILD
index 9c517e05f..74e405157 100644
--- a/user/libpeas/APKBUILD
+++ b/user/libpeas/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libpeas
-pkgver=1.24.1
+pkgver=1.26.0
pkgrel=0
pkgdesc="GObject-based plugin framework"
url="https://gnome.org"
@@ -13,7 +13,8 @@ depends=""
makedepends="glib-dev gobject-introspection-dev gtk+3.0-dev
meson ninja py3-pygobject py3-pygobject-dev python3-dev"
subpackages="$pkgname-dev $pkgname-lang"
-source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz"
+source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz
+ use-locale.h.patch"
build() {
meson -Dprefix=/usr build
@@ -28,4 +29,5 @@ package() {
DESTDIR="$pkgdir" ninja -C build install
}
-sha512sums="9e2f2f3e7208baa7e72f6b963ad2bca7bf2789ffb2656151bd913be10d45f3e0d40379d69513d2ecf597cc6d211d157c273cc841dfd445829d0cb57d24275e1b libpeas-1.24.1.tar.xz"
+sha512sums="86157da14d17c16df2ef3f44ab48822ea1a8be8aec8f5419bc421bd475113f686cd16f9616ac53cbf3dc6f31f521384ac63eb8e9f1a46ea21b5cda8ba21e855f libpeas-1.26.0.tar.xz
+307f198078d3d1b0f8d914011ecffaae500e4d8f71cbc876fef36b5f25c49858fe1c929c572e2c75146097068771524cc50fbb4638cbbbf90cbb3eab29c0964b use-locale.h.patch"
diff --git a/user/libpeas/use-locale.h.patch b/user/libpeas/use-locale.h.patch
new file mode 100644
index 000000000..97b3a08c0
--- /dev/null
+++ b/user/libpeas/use-locale.h.patch
@@ -0,0 +1,12 @@
+diff -Nurd libpeas-1.26.0/peas-demo/peas-demo.c libpeas-1.26.0.new/peas-demo/peas-demo.c
+--- libpeas-1.26.0/peas-demo/peas-demo.c 2020-03-06 21:12:16.247286600 +0000
++++ libpeas-1.26.0.new/peas-demo/peas-demo.c 2020-04-08 07:47:04.093350285 +0000
+@@ -23,6 +23,8 @@
+ #include <config.h>
+ #endif
+
++#include <locale.h>
++
+ #include <girepository.h>
+ #include <glib/gi18n.h>
+ #include <gtk/gtk.h>