summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIppytraxx2016-07-14 20:34:16 +0200
committerIppytraxx2016-07-14 20:34:16 +0200
commitc868390914e67f4350537147fb34143e550e961a (patch)
tree1465ad339b9cd33347e6161d9dbf83c4dfba1196
parentbde3a5d66162509b1cc9c9c0e4e88c5aaf3f9f76 (diff)
downloadaur-c868390914e67f4350537147fb34143e550e961a.tar.gz
Add patch to fix meson gettext
-rw-r--r--.SRCINFO6
-rw-r--r--0002-Adapt-gettext-call-to-new-meson-syntax.patch23
-rw-r--r--PKGBUILD9
3 files changed, 33 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ae1e6d6fd3..f77f1ee8cb1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Apr 10 11:30:47 UTC 2016
+# Thu Jul 14 18:33:48 UTC 2016
pkgbase = gnome-twitch
pkgdesc = Enjoy Twitch on your GNU/Linux desktop
pkgver = 0.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Ippytraxx/gnome-twitch
install = gnome-twitch.install
arch = i686
@@ -25,8 +25,10 @@ pkgbase = gnome-twitch
conflicts = gnome-twitch-git
source = https://github.com/Ippytraxx/gnome-twitch/archive/v0.2.0.tar.gz
source = 0001-Update-css-to-gtk-3.20.patch
+ source = 0002-Adapt-gettext-call-to-new-meson-syntax.patch
md5sums = 984b6120aec2f4d121cce3ccb50e367a
md5sums = b6bbdb0cd4083336f37ce54fd6606581
+ md5sums = fb24dba0dcfe8ba7024eefbdf048f203
pkgname = gnome-twitch
diff --git a/0002-Adapt-gettext-call-to-new-meson-syntax.patch b/0002-Adapt-gettext-call-to-new-meson-syntax.patch
new file mode 100644
index 00000000000..d5cabfde035
--- /dev/null
+++ b/0002-Adapt-gettext-call-to-new-meson-syntax.patch
@@ -0,0 +1,23 @@
+From 97ecd9cd36000186287399f5f18e52a6fd438d20 Mon Sep 17 00:00:00 2001
+From: Tim Dengel <tim.dengel.debian@gmail.com>
+Date: Mon, 27 Jun 2016 18:33:35 +0200
+Subject: [PATCH] Adapt gettext call to new meson syntax
+
+---
+ po/meson.build | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/po/meson.build b/po/meson.build
+index ec7773e..6f711d1 100644
+--- a/po/meson.build
++++ b/po/meson.build
+@@ -1,3 +1,5 @@
++i18n = import('i18n')
++
+ langs = ['de', 'pl', 'pt_PT', 'sv', 'fr', 'ru', 'sr', 'hu']
+
+-gettext('gnome-twitch', languages : langs)
++i18n.gettext('gnome-twitch', languages : langs)
+--
+2.9.0
+
diff --git a/PKGBUILD b/PKGBUILD
index 012ff56b1b5..2b09e993440 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=gnome-twitch
pkgver=0.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="Enjoy Twitch on your GNU/Linux desktop"
arch=('i686' 'x86_64')
url="https://github.com/Ippytraxx/gnome-twitch"
@@ -12,14 +12,17 @@ depends=('gtk3' 'libsoup' 'json-glib' 'gstreamer' 'gst-libav' 'gst-plugins-base'
conflicts=('gnome-twitch-git')
install=gnome-twitch.install
source=("https://github.com/Ippytraxx/gnome-twitch/archive/v${pkgver}.tar.gz"
- "0001-Update-css-to-gtk-3.20.patch")
+ "0001-Update-css-to-gtk-3.20.patch"
+ "0002-Adapt-gettext-call-to-new-meson-syntax.patch")
md5sums=('984b6120aec2f4d121cce3ccb50e367a'
- 'b6bbdb0cd4083336f37ce54fd6606581')
+ 'b6bbdb0cd4083336f37ce54fd6606581'
+ 'fb24dba0dcfe8ba7024eefbdf048f203')
prepare()
{
cd "${pkgname}-${pkgver}"
patch -p1 < ../0001-Update-css-to-gtk-3.20.patch
+ patch -p1 < ../0002-Adapt-gettext-call-to-new-meson-syntax.patch
}
build()