Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 716236
Collapse All | Expand All

(-)a/app-emulation/skopeo/metadata.xml (+3 lines)
Lines 5-8 Link Here
5
		<email>williamh@gentoo.org</email>
5
		<email>williamh@gentoo.org</email>
6
		<name>William Hubbs</name>
6
		<name>William Hubbs</name>
7
	</maintainer>
7
	</maintainer>
8
	<use>
9
		<flag name="btrfs">Enables dependencies for the "btrfs" graph driver.</flag>
10
	</use>
8
</pkgmetadata>
11
</pkgmetadata>
(-)a/app-emulation/skopeo/skopeo-0.1.41.ebuild (-4 / +3 lines)
Lines 12-23 SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g Link Here
12
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
12
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64"
14
KEYWORDS="~amd64"
15
IUSE=""
15
IUSE="btrfs"
16
16
17
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
17
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
18
	>=dev-libs/libassuan-2.4.3:=
18
	>=dev-libs/libassuan-2.4.3:=
19
	dev-libs/libgpg-error:=
19
	dev-libs/libgpg-error:=
20
	>=sys-fs/btrfs-progs-4.0.1
20
	btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
21
	>=sys-fs/lvm2-2.02.145:="
21
	>=sys-fs/lvm2-2.02.145:="
22
DEPEND="${COMMON_DEPEND}
22
DEPEND="${COMMON_DEPEND}
23
	dev-go/go-md2man"
23
	dev-go/go-md2man"
Lines 26-32 RDEPEND="${COMMON_DEPEND}" Link Here
26
RESTRICT="test"
26
RESTRICT="test"
27
27
28
src_compile() {
28
src_compile() {
29
	local BUILDTAGS="containers_image_ostree_stub"
29
	local BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)"
30
	set -- env -u GOCACHE -u XDG_CACHE_HOME \
30
	set -- env -u GOCACHE -u XDG_CACHE_HOME \
31
		go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \
31
		go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \
32
		-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
32
		-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
33
- 

Return to bug 716236