summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2024-03-03 13:55:14 -0300
committerPacho Ramos <pacho@gentoo.org>2024-07-16 10:40:28 +0200
commit5b17797d1c66371c3e3e0dc79c09dff0b5330987 (patch)
tree904d9353493a5373d3bfb6712ae3400f7ff3dc50 /games-puzzle
parentgnome-extra/gnome-software: Bump to 46.3 (diff)
downloadgentoo-5b17797d1c66371c3e3e0dc79c09dff0b5330987.tar.gz
gentoo-5b17797d1c66371c3e3e0dc79c09dff0b5330987.tar.bz2
gentoo-5b17797d1c66371c3e3e0dc79c09dff0b5330987.zip
games-puzzle/lightsoff: Bump to 46.0
Closes: https://bugs.gentoo.org/929589 Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36859 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/lightsoff/Manifest1
-rw-r--r--games-puzzle/lightsoff/lightsoff-46.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-puzzle/lightsoff/Manifest b/games-puzzle/lightsoff/Manifest
index 83a6f29d9c81..a182dce60776 100644
--- a/games-puzzle/lightsoff/Manifest
+++ b/games-puzzle/lightsoff/Manifest
@@ -1 +1,2 @@
DIST lightsoff-40.0.1.tar.xz 562340 BLAKE2B c80aa328e56a1cb8da723c187c6a223d0bf93353f36ed651b10c38ac129c6d62970dcf72308cbbf4fd0f911113b5c53ed490824b488bdc92e84c7bd9e9ae1015 SHA512 ac1f812c3297a42f1e5aa8b8cdda2884b5c2aea2ea0190047ba5a0f47254b191d2105d7d1b548f0233fdee1b0e6033a97265a1cb28503daf403ee4e2c53a1aca
+DIST lightsoff-46.0.tar.xz 600644 BLAKE2B 425e10788bdbc77261ca58c77b3cb1e0b6b7b40ac0995009a265b0f141f6a5484569de295d696b581a1e1ad17eb996ca939e80f7aa7de2240ec59766184661d7 SHA512 e6be7d4d2eb9a14580087a93e36857c0fd9260f892807766bee0f4c7cfa4b75d9e28781fc350cdd09ee61fb2d2d7ead619d3a2512b68ab5ebfb34fe5218b942c
diff --git a/games-puzzle/lightsoff/lightsoff-46.0.ebuild b/games-puzzle/lightsoff/lightsoff-46.0.ebuild
new file mode 100644
index 000000000000..b5934b520cc5
--- /dev/null
+++ b/games-puzzle/lightsoff/lightsoff-46.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..13} )
+inherit gnome.org gnome2-utils meson python-any-r1 xdg vala
+
+DESCRIPTION="Turn off all the lights"
+HOMEPAGE="https://wiki.gnome.org/Apps/Lightsoff"
+
+LICENSE="GPL-2+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+
+RDEPEND="
+ >=dev-libs/glib-2.38.0:2
+ >=x11-libs/gtk+-3.24.0:3
+ >=gnome-base/librsvg-2.32.0:2
+"
+DEPEND="${RDEPEND}"
+# libxml2:2 needed for glib-compile-resources xml-stripblanks attributes
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/appstream-glib
+ dev-libs/libxml2:2
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ $(vala_depend)
+ gnome-base/librsvg:2[vala]
+"
+
+src_prepare() {
+ default
+ vala_setup
+
+ # Bug #778845
+ sed -i \
+ -e 's:40\.rc:40~rc:' \
+ -e 's:40\.beta:40~beta:' \
+ -e 's:40\.alpha:40~alpha:' \
+ data/org.gnome.LightsOff.appdata.xml.in || die
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}