aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tutsch <mail@konstantintutsch.de>2023-10-12 21:29:55 +0200
committerKonstantin Tutsch <mail@konstantintutsch.de>2023-10-12 21:29:55 +0200
commite4c360987bad57a034eb70266bfe66bdfcf64b9a (patch)
tree81f2409c8d28e745831155daa33a05d1431928ce /app-office
parentx11-themes/adw-gtk3: add 5.0, drop 4.8 (diff)
downloadguru-e4c360987bad57a034eb70266bfe66bdfcf64b9a.tar.gz
guru-e4c360987bad57a034eb70266bfe66bdfcf64b9a.tar.bz2
guru-e4c360987bad57a034eb70266bfe66bdfcf64b9a.zip
app-office/khronos: add 4.0.0, 4.0.1, drop 3.7.0
Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/khronos/Manifest3
-rw-r--r--app-office/khronos/khronos-4.0.0.ebuild (renamed from app-office/khronos/khronos-3.7.0.ebuild)0
-rw-r--r--app-office/khronos/khronos-4.0.1.ebuild50
3 files changed, 52 insertions, 1 deletions
diff --git a/app-office/khronos/Manifest b/app-office/khronos/Manifest
index d9ff63dd9..bc5f627c1 100644
--- a/app-office/khronos/Manifest
+++ b/app-office/khronos/Manifest
@@ -1 +1,2 @@
-DIST khronos-3.7.0.tar.gz 103609 BLAKE2B 10662eeb842330e5571379c80febbde861f7d788e16b2b5dfb94cb3be9558cf03ab0983cc43873761c8f895a0ac7f3f5d6f0f699f671b0adb0ef96c315d17cb6 SHA512 98f4ae9426b2c6f7b9eb590ffdf8c8c1d0dc190c9a572d5826098ca654aabbb2d0a0eef080dc3a5f62234df0749bf91d0366cd2e06c5a1c1d0dec6f0a9e42e14
+DIST khronos-4.0.0.tar.gz 93584 BLAKE2B 8dfd89fd77ac3896299be6c517845a28687f514b7a60505d75d4ae076d3c2abf89119a665840aa75297d3bd0b16a2d5830fef470cdc362b94d212f5c51107a2d SHA512 e60be491f269a931c214b146a17828510f04856603bb9a4fe71b6aa2c54a6a60b7fcd6b2cbae0be685cf0adb740ee686736ce25ae2597532056e2ae4cdcb8ac5
+DIST khronos-4.0.1.tar.gz 93765 BLAKE2B a689258094540c5836276ac226fe1ab16a38a3784687efdee2558f1e49ae8f664f4a15f8a96e176198acde70d026ef63201767df092b53027d7dd851d1be6ef2 SHA512 e69c5fda0ea645cd69d65bc55d3b2bfd9b3da1e4099f41fd94fdcbf11e55a30a15a6ccb46d1b678112858d4f8aae36e78f289c146b344c903eb96d689760d253
diff --git a/app-office/khronos/khronos-3.7.0.ebuild b/app-office/khronos/khronos-4.0.0.ebuild
index 65513c304..65513c304 100644
--- a/app-office/khronos/khronos-3.7.0.ebuild
+++ b/app-office/khronos/khronos-4.0.0.ebuild
diff --git a/app-office/khronos/khronos-4.0.1.ebuild b/app-office/khronos/khronos-4.0.1.ebuild
new file mode 100644
index 000000000..65513c304
--- /dev/null
+++ b/app-office/khronos/khronos-4.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg gnome2-utils vala
+
+DESCRIPTION="A GTK4 time tracker for tasks"
+HOMEPAGE="https://apps.gnome.org/app/io.github.lainsce.Khronos"
+SRC_URI="https://github.com/lainsce/khronos/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IDEPEND="
+ >=gui-libs/gtk-4.6
+ >=gui-libs/libadwaita-1
+ >=dev-libs/libgee-0.20.6
+ >=dev-libs/json-glib-1.6.6-r1
+"
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=dev-lang/vala-0.56.8
+ >=dev-util/meson-1.1.1
+ >=dev-util/ninja-1.11.1-r2
+ $(vala_depend)
+"
+
+src_prepare() {
+ default
+ vala_setup
+ xdg_environment_reset
+
+ sed -i \
+ -e '/^gnome.post_install(/,/)/d' \
+ meson.build \
+ || die
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}