summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"