diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-17 04:04:27 +0100 |
commit | 8796aaedb3257bbe4d80b0033408b2210b2259d6 (patch) | |
tree | 1ffee2ca4a87bd5dba43077259c000f9086fbfc8 /sys-power | |
parent | 61a1cada8ceb208845fa604b982216b0a7b099cb (diff) |
gentoo auto-resync : 17:10:2024 - 04:04:26
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/Manifest.gz | bin | 5581 -> 5584 bytes | |||
-rw-r--r-- | sys-power/sandmann-bin/Manifest | 4 | ||||
-rw-r--r-- | sys-power/sandmann-bin/metadata.xml | 2 | ||||
-rw-r--r-- | sys-power/sandmann-bin/sandmann-bin-1.1.ebuild | 59 |
4 files changed, 63 insertions, 2 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz Binary files differindex fba4a4018688..abc4fb590619 100644 --- a/sys-power/Manifest.gz +++ b/sys-power/Manifest.gz diff --git a/sys-power/sandmann-bin/Manifest b/sys-power/sandmann-bin/Manifest index e916222be9b3..d2a870b6f32d 100644 --- a/sys-power/sandmann-bin/Manifest +++ b/sys-power/sandmann-bin/Manifest @@ -1,3 +1,5 @@ DIST sandmann-1.0.tar.xz 16661756 BLAKE2B 06a2ce44a0498987ce1dfafaa0aee560c2deef69efc7cfd6191dd12e265be21b15b167d7adc01066343a777cf66c88b2ec5d95f46fede003f80676966ad95ad3 SHA512 e9f5f41b4f2bf45f7d4528baf593f4f120e5a9c4eacf13a4c0961ba66f8ed5877abb3f10b6b35679dc56f2e55e80e0cc6bb3a42800859ff40354b0a750b16d66 +DIST sandmann-1.1.tar.xz 16864028 BLAKE2B d0ce1a575cfdfa67bc87f98e41146dd5dee9dc60e1baa9d58402255108d566efa6ade113b959e9590eef48778a1e386b09a47e3536ca7e6ba80e3e690a35dd4d SHA512 4d13c112df55352e1981ab79e804136dc4ff7ccd78697fdba4123069e84078e535e68f1661049b0fd22de2b6ad1cadf1f136dbacb6da612359420beb5b37e613 EBUILD sandmann-bin-1.0.ebuild 1114 BLAKE2B b9af7c75bd53a650f549ad08b1cc9ad5567c6d2134d38a6552f7349c25c68ce59df58ddc1473d6e0da3e76eee966537acb1dd35b1f3112cce4a4a314f72000a3 SHA512 45329cb8d4b3bb762a1426b82dad7093d91113d276f8b805f8b3e40201e4e707cc8b312958a3663a0bab431281e612812f7fff5492297b3ff4ec362da25ff623 -MISC metadata.xml 324 BLAKE2B f221c16e5aa611719ac1a037d923fc054c17b0a724dcffea756a9433a5ab4db6b1af3a9363cca85dfa5231664c5160be963e7b15f1d7a18a3ba1fbcdfdfe4ce9 SHA512 dd7b19fe1cca2bf5698850f6473b9f1e85f2f9e2e7f0ebd87da278a9253dfe65a57dae39bc8fc0f60eef7c80190824e94d2264bc459cbbb7f891938a291ddf69 +EBUILD sandmann-bin-1.1.ebuild 1090 BLAKE2B 9cdc08662e69d764676ba8942b7d68577ba3858aa7ac002e513662f32c8f01739b9f79569ed2d6fd96f75bed1f90ce8492a834ca967b6b457cafa9435e760540 SHA512 90773340d9e8efe48f1d78ce0b3fcf42cfe94b68a992cae7955f9c208d33ad1f09e44a118e6f3439c5ebbb329766cefd2de74e5c9d9fb73e150a6a1b2653922e +MISC metadata.xml 324 BLAKE2B d306badf28a189bab3d325eb836583ea6d1031cbb4868ba4db651d379d045575892bc479f1a859f7457024336f0bec431d0e6a0c554c0e6f90e432fb23efe5be SHA512 89dead22d49d7596fc94e979638c73eeb36ee85afbdb76a1bb946cf3397b0601b558cfab5a468d17c75a7e76e0c8db682f9810dd992fd201c0d85d69d67ccaf2 diff --git a/sys-power/sandmann-bin/metadata.xml b/sys-power/sandmann-bin/metadata.xml index 7bb88979e30d..44a6f5412301 100644 --- a/sys-power/sandmann-bin/metadata.xml +++ b/sys-power/sandmann-bin/metadata.xml @@ -6,6 +6,6 @@ <email>flow@gentoo.org</email> </maintainer> <upstream> - <remote-id type="gitlab">Flow/sandmann</remote-id> + <remote-id type="gitlab">flow/sandmann</remote-id> </upstream> </pkgmetadata> diff --git a/sys-power/sandmann-bin/sandmann-bin-1.1.ebuild b/sys-power/sandmann-bin/sandmann-bin-1.1.ebuild new file mode 100644 index 000000000000..601f1616d2cf --- /dev/null +++ b/sys-power/sandmann-bin/sandmann-bin-1.1.ebuild @@ -0,0 +1,59 @@ +# 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" + +S="${WORKDIR}/${MY_P}" +LICENSE="GPL-3+ LGPL-3" +SLOT="0" + +KEYWORDS="~amd64" + +# >=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 +" + +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 +} |