diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
commit | c50fa1b9d54c15707ec744b80db6610da7dd7832 (patch) | |
tree | 32b63837ee84220100640b5b035b0f8f94405b88 /dev-util/sccache/sccache-9999.ebuild | |
parent | 1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 (diff) |
gentoo auto-resync : 28:09:2022 - 09:11:58
Diffstat (limited to 'dev-util/sccache/sccache-9999.ebuild')
-rw-r--r-- | dev-util/sccache/sccache-9999.ebuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/dev-util/sccache/sccache-9999.ebuild b/dev-util/sccache/sccache-9999.ebuild index d4ca5fcba08e..fd4f2ead86ad 100644 --- a/dev-util/sccache/sccache-9999.ebuild +++ b/dev-util/sccache/sccache-9999.ebuild @@ -1,12 +1,13 @@ -# Copyright 2017-2021 Gentoo Authors +# Copyright 2017-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +# don't forget to add itoa-0.3.4 for tests https://bugs.gentoo.org/803512 CRATES=" " -inherit cargo optfeature +inherit cargo optfeature systemd DESCRIPTION="ccache/distcc like tool with support for rust and cloud storage" HOMEPAGE="https://github.com/mozilla/sccache/" @@ -22,11 +23,13 @@ fi LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC MIT Unlicense ZLIB" SLOT="0" -IUSE="azure dist-client dist-server gcs memcached redis s3" +IUSE="azure dist-client dist-server gcs memcached redis s3 simple-s3" +REQUIRED_USE="s3? ( simple-s3 )" BDEPEND="virtual/pkgconfig" DEPEND=" + sys-libs/zlib:= app-arch/zstd dist-server? ( dev-libs/openssl:0= ) gcs? ( dev-libs/openssl:0= ) @@ -49,6 +52,7 @@ src_unpack() { src_configure() { myfeatures=( + native-zlib $(usev azure) $(usev dist-client) $(usev dist-server) @@ -56,6 +60,7 @@ src_configure() { $(usev memcached) $(usev redis) $(usev s3) + $(usev simple-s3) ) cargo_src_configure --no-default-features } @@ -74,6 +79,10 @@ src_install() { newinitd "${FILESDIR}"/scheduler.initd sccache-scheduler newconfd "${FILESDIR}"/scheduler.confd sccache-scheduler + + systemd_dounit "${FILESDIR}"/sccache-server.service + systemd_dounit "${FILESDIR}"/sccache-scheduler.service + fi } |