summaryrefslogtreecommitdiff
path: root/games-puzzle/lightsoff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /games-puzzle/lightsoff
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'games-puzzle/lightsoff')
-rw-r--r--games-puzzle/lightsoff/Manifest2
-rw-r--r--games-puzzle/lightsoff/lightsoff-46.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/games-puzzle/lightsoff/Manifest b/games-puzzle/lightsoff/Manifest
index 0d32413b8269..85afc93171d5 100644
--- a/games-puzzle/lightsoff/Manifest
+++ b/games-puzzle/lightsoff/Manifest
@@ -1,3 +1,5 @@
DIST lightsoff-40.0.1.tar.xz 562340 BLAKE2B c80aa328e56a1cb8da723c187c6a223d0bf93353f36ed651b10c38ac129c6d62970dcf72308cbbf4fd0f911113b5c53ed490824b488bdc92e84c7bd9e9ae1015 SHA512 ac1f812c3297a42f1e5aa8b8cdda2884b5c2aea2ea0190047ba5a0f47254b191d2105d7d1b548f0233fdee1b0e6033a97265a1cb28503daf403ee4e2c53a1aca
+DIST lightsoff-46.0.tar.xz 600644 BLAKE2B 425e10788bdbc77261ca58c77b3cb1e0b6b7b40ac0995009a265b0f141f6a5484569de295d696b581a1e1ad17eb996ca939e80f7aa7de2240ec59766184661d7 SHA512 e6be7d4d2eb9a14580087a93e36857c0fd9260f892807766bee0f4c7cfa4b75d9e28781fc350cdd09ee61fb2d2d7ead619d3a2512b68ab5ebfb34fe5218b942c
EBUILD lightsoff-40.0.1.ebuild 1091 BLAKE2B 36da4149ce2d4b27364cdfbc478ff149703f4989f1a8c158e876755e8b734dafbb8338d1f8247934dd45e621bb5ee66c52cb6a05d689b3b6be30905590a134bc SHA512 87c07182b03f45a4aa755c743193e423d20411378f42cf740050f9faee34a9cd385a499ffd994771327f3fcbebbd26ff82671f6ad0ce24e0f8e5a41ef935a900
+EBUILD lightsoff-46.0.ebuild 1076 BLAKE2B c4eeaf7cb5e433cc10d1671510a5ef2183404825bc4cf782a031de77b3dc3ef8ff0558a6b6e4299c46e37f0826172136515742ea1871ba0e2844a602c409dfd1 SHA512 44825723fe9096f6429096bb555b7285b7dd3fc9fbb521a0d92b226a1845ff472f0a475c7ecf203b95cda317cb4c5dc275d1abae12903ba3ee677d4e1bbecfcb
MISC metadata.xml 615 BLAKE2B 31e687d27fabffd6ee8dfbf107d8b9f059edd16b5235f77154883dddbfa810287cbfb2396905059c8e44e3ef2ad4a478387766840b1fb7f71f605271c5bd120a SHA512 cfa8d66b3ad1b08f4e1f1c35791912ffcdad5eff27442cc50f53345143d53826a6e0b0aed807825e8eca622fe26a2a6f71c5093f7768afd37f4773bec9d2466d
diff --git a/games-puzzle/lightsoff/lightsoff-46.0.ebuild b/games-puzzle/lightsoff/lightsoff-46.0.ebuild
new file mode 100644
index 000000000000..281b77fcd183
--- /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://gitlab.gnome.org/GNOME/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
+}