2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

dev-build/steve: Bump to 1.0.1

Closes: https://bugs.gentoo.org/966650
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-27 12:21:43 +01:00
parent 4da1c19b5e
commit 629969615d
2 changed files with 64 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST steve-1.0.0.tar.bz2 11910 BLAKE2B c8ac3afaeb2d33a206dc4a234d71a516e0e66d4722bc4c422bd8fb64af8e4881cefbcb2733bd361433984dc5fd10bcf2758aa032f30b51c7b3f8486316e2f736 SHA512 9c35a0d90325d41362fa4ec0b45af744ee75a2c3f10ad72e31454d5a9867acc3d5f2bb817616d9cc017896b1c7ec4e83b6d8e667ad3f2afaa5b997c9007cac62
DIST steve-1.0.1.tar.bz2 11977 BLAKE2B 119bc4900c9141a6616151a4d9f0a4ab32e22bf65c965cf19d3e8ca5a99e201d55a181649dd3bc678cb0fc44be251945695d3a4ecdcff6bda8d12c0b8366fb21 SHA512 5c20b0d1be7cec91a8b1ad84a16664c7a3bcc1df792b3efb96301f09e765b8d3553f0287a8a18a1ed43422734dcf291cbbbae5591b6a54659de472347b4a4f20

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
}