aboutsummaryrefslogtreecommitdiffstats
path: root/testing/getting-things-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'testing/getting-things-gnome')
-rw-r--r--testing/getting-things-gnome/APKBUILD13
-rw-r--r--testing/getting-things-gnome/remove-unused-keyword.patch19
2 files changed, 28 insertions, 4 deletions
diff --git a/testing/getting-things-gnome/APKBUILD b/testing/getting-things-gnome/APKBUILD
index e392ec2f68..1decde69d5 100644
--- a/testing/getting-things-gnome/APKBUILD
+++ b/testing/getting-things-gnome/APKBUILD
@@ -2,16 +2,18 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=getting-things-gnome
pkgver=0.5
-pkgrel=0
+pkgrel=2
pkgdesc="A personal tasks and TODO-list items organizier for GNOME, inspired by the Getting Things Done methodology"
url="https://wiki.gnome.org/Apps/GTG"
arch="noarch"
license="GPL-3.0-or-later"
-depends="python3 py3-xdg py3-dbus py3-gobject3 py3-liblarch py3-lxml"
+depends="python3 py3-cairo py3-xdg py3-dbus py3-gobject3 py3-liblarch py3-lxml"
makedepends="py3-setuptools gettext meson"
checkdepends="py3-nose py3-pyflakes py3-mock py3-pycodestyle xvfb-run"
subpackages="$pkgname-doc $pkgname-lang"
-source="$pkgname-$pkgver.tar.gz::https://github.com/getting-things-gnome/gtg/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/getting-things-gnome/gtg/archive/v$pkgver.tar.gz
+ remove-unused-keyword.patch
+ "
builddir="$srcdir/gtg-$pkgver"
build() {
@@ -27,4 +29,7 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="631f5343301d7d72211398152fa081c0fa15154babc7ec900f13a39a2677d0edaf4fea534a83284207e8019926c9108dc1d8f25bdbeae85ef0665dfe1c7b768a getting-things-gnome-0.5.tar.gz"
+sha512sums="
+631f5343301d7d72211398152fa081c0fa15154babc7ec900f13a39a2677d0edaf4fea534a83284207e8019926c9108dc1d8f25bdbeae85ef0665dfe1c7b768a getting-things-gnome-0.5.tar.gz
+21abbb30321e8c178dd0d4118196145c72145150915adfad9b220d149cb52828c3ba1714aeaae79e5b69560ad0d37c31358935e2ec7da8d1a8e65fdc533a821d remove-unused-keyword.patch
+"
diff --git a/testing/getting-things-gnome/remove-unused-keyword.patch b/testing/getting-things-gnome/remove-unused-keyword.patch
new file mode 100644
index 0000000000..de290a22ba
--- /dev/null
+++ b/testing/getting-things-gnome/remove-unused-keyword.patch
@@ -0,0 +1,19 @@
+This is not applicable upstream as this breaks rebuilding translations whenever it changes, and we don't want that since we just building it once for packaging, not actively developing on it.
+
+So keep this here until https://github.com/getting-things-gnome/gtg/issues/720 is solved
+
+diff --git a/GTG/plugins/meson.build b/GTG/plugins/meson.build
+index 7ecb530..f6b2744 100644
+--- a/GTG/plugins/meson.build
++++ b/GTG/plugins/meson.build
+@@ -23,9 +23,7 @@ foreach plugin : gtg_plugins
+ install_dir: plugin_install_dir,
+ type: 'desktop',
+ args: ['--keyword=name', '--keyword=short-description', '--keyword=description'],
+- build_by_default: true,
+- build_always_stale: true
+- # build always because otherwise new translations won't be applied
++ build_by_default: true
+ )
+ subdir(plugin.underscorify())
+ endforeach