diff options
author | Sam James <sam@gentoo.org> | 2023-09-25 05:02:52 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-25 05:03:32 +0100 |
commit | 052f2fa09c9807770ea994b509530f8fb2148a67 (patch) | |
tree | f281e38c14d9c197f96e87fab4ba641c97d55c0e /media-gfx/libimagequant | |
parent | net-libs/rustls-ffi: respect USE=debug properly (diff) | |
download | gentoo-052f2fa09c9807770ea994b509530f8fb2148a67.tar.gz gentoo-052f2fa09c9807770ea994b509530f8fb2148a67.tar.bz2 gentoo-052f2fa09c9807770ea994b509530f8fb2148a67.zip |
media-gfx/libimagequant: respect USE=debug properly
... or try to, at least. I still feel like this is so easy to get wrong
(and I keeo doing it).
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/libimagequant')
-rw-r--r-- | media-gfx/libimagequant/libimagequant-4.1.0-r1.ebuild (renamed from media-gfx/libimagequant/libimagequant-4.1.0.ebuild) | 2 | ||||
-rw-r--r-- | media-gfx/libimagequant/libimagequant-4.2.0-r2.ebuild (renamed from media-gfx/libimagequant/libimagequant-4.2.0.ebuild) | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/media-gfx/libimagequant/libimagequant-4.1.0.ebuild b/media-gfx/libimagequant/libimagequant-4.1.0-r1.ebuild index 0d21043c4333..8c2af24b8acc 100644 --- a/media-gfx/libimagequant/libimagequant-4.1.0.ebuild +++ b/media-gfx/libimagequant/libimagequant-4.1.0-r1.ebuild @@ -64,6 +64,7 @@ src_compile() { --library-type=cdylib --prefix=/usr --libdir="/usr/$(get_libdir)" + $(usev !debug '--release') ) cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" @@ -75,6 +76,7 @@ src_install() { --prefix=/usr --libdir="/usr/$(get_libdir)" --destdir="${ED}" + $(usex debug '--debug' '--release') ) cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed" diff --git a/media-gfx/libimagequant/libimagequant-4.2.0.ebuild b/media-gfx/libimagequant/libimagequant-4.2.0-r2.ebuild index 088b8cc91882..b3a512131a0f 100644 --- a/media-gfx/libimagequant/libimagequant-4.2.0.ebuild +++ b/media-gfx/libimagequant/libimagequant-4.2.0-r2.ebuild @@ -60,6 +60,7 @@ src_compile() { --library-type=cdylib --prefix=/usr --libdir="/usr/$(get_libdir)" + $(usev !debug '--release') ) cargo cbuild "${cargoargs[@]}" || die "cargo cbuild failed" @@ -71,6 +72,7 @@ src_install() { --prefix=/usr --libdir="/usr/$(get_libdir)" --destdir="${ED}" + $(usex debug '--debug' '--release') ) cargo cinstall "${cargoargs[@]}" || die "cargo cinstall failed" |