mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-build/steve: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
3a237bc07e
commit
6fbd3b7b04
@ -1,2 +1 @@
|
||||
DIST steve-1.0.2.tar.bz2 12338 BLAKE2B e271557045be0d57a5a69da5bfb6a78e84ff0f53ecdb69f61d678cdda47564f1bc405c0d25d82df81d6ecff33168714afc3721787d8b04323df42c1f7efb6c0b SHA512 c93f8920bb80893224eb77dadfd40f3b86961e711dcf1a639bbe26bb28a0bf86afeda8e12d237ad5474d9461b6d50ecd05d250cbffecc57aa0075f023b49c7eb
|
||||
DIST steve-1.1.0.tar.xz 17132 BLAKE2B 3f415d007eb808180499b541cf79684ec62807ba3e60e41466c829ac5a073b6b349d55a90dd75111054bcfd33398de72dd283fef8e3654bb57cbcfeab66ffb94 SHA512 516e7523864de0a13242456a5b3a4b6ba8ea36caf90e61842acb2d56461aa1441c1ad5f2b04d3bbd3d649d9f3622e88726cbbb5b7e15c7ccbb16e179fbac4c11
|
||||
|
||||
@ -1,76 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libevent:=
|
||||
sys-fs/fuse:3=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
local CONFIG_CHECK="~CUSE"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use !debug b_ndebug)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
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 the system-wide steve instance, enable the service:"
|
||||
elog
|
||||
elog " systemctl enable --now 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 "jobserver support."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user