dev-build/steve: Bump to 1.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-26 19:48:32 +01:00
parent 10d2dac767
commit 6e00f7c9c7
2 changed files with 64 additions and 0 deletions

1
dev-build/steve/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST steve-1.0.0.tar.bz2 11910 BLAKE2B c8ac3afaeb2d33a206dc4a234d71a516e0e66d4722bc4c422bd8fb64af8e4881cefbcb2733bd361433984dc5fd10bcf2758aa032f30b51c7b3f8486316e2f736 SHA512 9c35a0d90325d41362fa4ec0b45af744ee75a2c3f10ad72e31454d5a9867acc3d5f2bb817616d9cc017896b1c7ec4e83b6d8e667ad3f2afaa5b997c9007cac62

View File

@@ -0,0 +1,63 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson systemd udev
DESCRIPTION="A simple jobserver for Gentoo"
HOMEPAGE="https://gitweb.gentoo.org/proj/steve.git/"
SRC_URI="
https://gitweb.gentoo.org/proj/steve.git/snapshot/${P}.tar.bz2
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/libevent:=
sys-fs/fuse:3=
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
"
src_install() {
meson_src_install
# TODO: move these to meson
systemd_dounit data/steve.service
newconfd data/steve.confd steve
newinitd data/steve.initd steve
insinto /etc/sandbox.d
newins data/sandbox.conf 90steve
udev_newrules data/steve.udev 90-steve.rules
}
pkg_postinst() {
udev_reload
if ! grep -q -s -R -- '--jobserver-auth=fifo:/dev/steve' "${EROOT}"/etc/portage/make.conf
then
elog "In order to use system-wide steve instance, enable the service:"
elog
elog " systemctl enable steve"
elog " systemctl start steve"
elog
elog "Then add to your make.conf:"
elog
elog ' MAKEFLAGS="--jobserver-auth=fifo:/dev/steve"'
elog ' NINJAOPTS=""'
elog
elog "You can use -l in NINJAOPTS but *do not* use -j, as it disables"
elog "job server support."
fi
}
pkg_postrm() {
udev_reload
}