From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/sandmann-bin/
Date: Tue, 9 Jan 2024 18:07:57 +0000 (UTC) [thread overview]
Message-ID: <1704823667.79be57d9af94eabba36c0aa80bd0ec2c72af8fc7.flow@gentoo> (raw)
commit: 79be57d9af94eabba36c0aa80bd0ec2c72af8fc7
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 9 18:02:01 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 9 18:07:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79be57d9
sys-power/sandmann-bin: add 1.0
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-power/sandmann-bin/Manifest | 1 +
sys-power/sandmann-bin/sandmann-bin-1.0.ebuild | 62 ++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/sys-power/sandmann-bin/Manifest b/sys-power/sandmann-bin/Manifest
index 9c45a637fdcf..6e05fc2fced6 100644
--- a/sys-power/sandmann-bin/Manifest
+++ b/sys-power/sandmann-bin/Manifest
@@ -1 +1,2 @@
DIST sandmann-0.9.tar.xz 16656160 BLAKE2B e0b52fd8ba67bec68dfa6a6c6fa3f9321118c350a954cef582643339f1d15c6f8d55d74cfbc0d1894dd5eae83975f1ef57c974c5035b80d9bdc1e132d7b16787 SHA512 bee9a9b5f5eaaeba8ec66999c2719efb43cd85c601a9aee61017dd330149ed9faf94a48d9c0fd0dcc82c05fa8dfe23f020d69b452bb71ccf5dc50017dcf5a84e
+DIST sandmann-1.0.tar.xz 16661756 BLAKE2B 06a2ce44a0498987ce1dfafaa0aee560c2deef69efc7cfd6191dd12e265be21b15b167d7adc01066343a777cf66c88b2ec5d95f46fede003f80676966ad95ad3 SHA512 e9f5f41b4f2bf45f7d4528baf593f4f120e5a9c4eacf13a4c0961ba66f8ed5877abb3f10b6b35679dc56f2e55e80e0cc6bb3a42800859ff40354b0a750b16d66
diff --git a/sys-power/sandmann-bin/sandmann-bin-1.0.ebuild b/sys-power/sandmann-bin/sandmann-bin-1.0.ebuild
new file mode 100644
index 000000000000..952a8f6d6625
--- /dev/null
+++ b/sys-power/sandmann-bin/sandmann-bin-1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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.com/Flow/sandmann"
+SRC_URI="https://geekplace.eu/projects/${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
+}
next reply other threads:[~2024-01-09 18:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 18:07 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 9:20 [gentoo-commits] repo/gentoo:master commit in: sys-power/sandmann-bin/ Florian Schmaus
2024-11-14 20:21 Florian Schmaus
2024-11-10 10:14 Florian Schmaus
2024-11-10 10:14 Florian Schmaus
2024-10-21 16:58 Florian Schmaus
2024-10-16 16:47 Florian Schmaus
2024-10-16 16:47 Florian Schmaus
2024-02-17 10:04 Florian Schmaus
2024-02-17 10:04 Florian Schmaus
2024-01-09 18:07 Florian Schmaus
2023-12-20 10:50 Florian Schmaus
2023-11-22 12:13 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1704823667.79be57d9af94eabba36c0aa80bd0ec2c72af8fc7.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox