mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-office/khronos: add 4.0.0, 4.0.1, drop 3.7.0
Signed-off-by: Konstantin Tutsch <mail@konstantintutsch.de>
This commit is contained in:
50
app-office/khronos/khronos-4.0.1.ebuild
Normal file
50
app-office/khronos/khronos-4.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user