From fd87b7c771378b2116981e3924bee5805148e118 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Nov 2023 17:18:34 +0000 Subject: gentoo auto-resync : 22:11:2023 - 17:18:34 --- sys-power/sandmann-bin/Manifest | 2 +- sys-power/sandmann-bin/sandmann-bin-0.9-r1.ebuild | 62 +++++++++++++++++++++++ sys-power/sandmann-bin/sandmann-bin-0.9.ebuild | 61 ---------------------- 3 files changed, 63 insertions(+), 62 deletions(-) create mode 100644 sys-power/sandmann-bin/sandmann-bin-0.9-r1.ebuild delete mode 100644 sys-power/sandmann-bin/sandmann-bin-0.9.ebuild (limited to 'sys-power/sandmann-bin') diff --git a/sys-power/sandmann-bin/Manifest b/sys-power/sandmann-bin/Manifest index 2ae90c24b67b..fbbcb93c1128 100644 --- a/sys-power/sandmann-bin/Manifest +++ b/sys-power/sandmann-bin/Manifest @@ -1,3 +1,3 @@ DIST sandmann-0.9.tar.xz 16656160 BLAKE2B e0b52fd8ba67bec68dfa6a6c6fa3f9321118c350a954cef582643339f1d15c6f8d55d74cfbc0d1894dd5eae83975f1ef57c974c5035b80d9bdc1e132d7b16787 SHA512 bee9a9b5f5eaaeba8ec66999c2719efb43cd85c601a9aee61017dd330149ed9faf94a48d9c0fd0dcc82c05fa8dfe23f020d69b452bb71ccf5dc50017dcf5a84e -EBUILD sandmann-bin-0.9.ebuild 1101 BLAKE2B 0e09cba5870df444cedc9e2cd39a831ac8e16eb3ef730820f727e0ab937759e5715e550ea3251c573b4de957dfdf7ede2df848b28e8355f6dd88b254c362ce67 SHA512 ff132db294ec58fc330e9236ef4c7c625b979a55705f09c4e6e90c46fab767971e2e77aa5db59db563bfec76fa92cf102ad91f3bf0ae130d4bc262fc8d66aa86 +EBUILD sandmann-bin-0.9-r1.ebuild 1121 BLAKE2B c181c2d56f2352b65306b98662b8a5f62887209b971ca7fdbc561e16e4ba1e879985bde62fe419aeb472496da7573c7c410c95673b2348fb02f41a913de2675a SHA512 76b1cb3bb59bb4c2056cf374f31b44bc4a0fe3f0a9273e8c3d62f36e02a23aeb27dcfcff9324f9216ba4ed25ff7ce0f654934095aabbf555347ec4023491d56d MISC metadata.xml 246 BLAKE2B e270b04a529da44d267eaf5bfd160569fc99a3521dfc6495e0a4db19c98e5b9badf77774cc80c7be905f3e97b1c75784bc7b4cb6bfe659d726a47c7ae70e7bfb SHA512 7e2151bbca24beeefd585e18d6c1108442b2d9197679876bb180da3d4896602e83ea701432ff67fc61cccfa9bf642a01a62d87bacf32c55e0a54336c7c5a2c53 diff --git a/sys-power/sandmann-bin/sandmann-bin-0.9-r1.ebuild b/sys-power/sandmann-bin/sandmann-bin-0.9-r1.ebuild new file mode 100644 index 000000000000..e39c6105fca5 --- /dev/null +++ b/sys-power/sandmann-bin/sandmann-bin-0.9-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-utils-2 systemd tmpfiles + +MY_PN=${PN%-bin} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="An autosuspend and wakeup daemon" +HOMEPAGE="https://gitlab.gentoo.org/flow/sandmann" +SRC_URI="https://dev.gentoo.org/~flow/${MY_PN}/archive/${MY_P}.tar.xz" +KEYWORDS="~amd64" + +LICENSE="GPL-3+ LGPL-3" +SLOT="0" + +# >=java-config-2.3.2 to get the libdir fix. +RDEPEND=" + acct-user/sandmann + >=dev-java/java-config-2.3.2 + sys-apps/systemd + sys-auth/polkit + || ( + virtual/jre:17 + virtual/jre:21 + ) +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i \ + -e 's|^ExecStart=.*|ExecStart=/usr/bin/sandmann|' \ + sandmann.service || die +} + +src_compile() { + : +} + +src_install() { + local my_emake_args=( + DESTDIR="${D}" + SYSTEMD_SYSTEM_UNIT_DIR="$(systemd_get_systemunitdir)" + TARGET_BINARY= + SOURCELESS_INSTALL=true + ) + + emake ${my_emake_args[@]} install + + java-pkg_newjar out/main/assembly.dest/out.jar sandmann.jar + java-pkg_dolauncher sandmann + + dodoc README.md +} + +pkg_postinst() { + tmpfiles_process sandmann.conf +} diff --git a/sys-power/sandmann-bin/sandmann-bin-0.9.ebuild b/sys-power/sandmann-bin/sandmann-bin-0.9.ebuild deleted file mode 100644 index a56afa598bc2..000000000000 --- a/sys-power/sandmann-bin/sandmann-bin-0.9.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit java-utils-2 systemd tmpfiles - -MY_PN=${PN%-bin} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="An autosuspend and wakeup daemon" -HOMEPAGE="https://gitlab.gentoo.org/flow/sandmann" -SRC_URI="https://dev.gentoo.org/~flow/${MY_PN}/archive/${MY_P}.tar.xz" -KEYWORDS="~amd64" - -LICENSE="GPL-3+ LGPL-3" -SLOT="0" - -# >=java-config-2.3.2 to get the libdir fix. -RDEPEND=" - >=dev-java/java-config-2.3.2 - sys-apps/systemd - sys-auth/polkit - || ( - virtual/jre:17 - virtual/jre:21 - ) -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - sed -i \ - -e 's|^ExecStart=.*|ExecStart=/usr/bin/sandmann|' \ - sandmann.service || die -} - -src_compile() { - : -} - -src_install() { - local my_emake_args=( - DESTDIR="${D}" - SYSTEMD_SYSTEM_UNIT_DIR="$(systemd_get_systemunitdir)" - TARGET_BINARY= - SOURCELESS_INSTALL=true - ) - - emake ${my_emake_args[@]} install - - java-pkg_newjar out/main/assembly.dest/out.jar sandmann.jar - java-pkg_dolauncher sandmann - - dodoc README.md -} - -pkg_postinst() { - tmpfiles_process sandmann.conf -} -- cgit v1.2.3