diff options
author | Artemis Everfree <artemis@artemis.sh> | 2023-02-02 11:43:31 -0800 |
---|---|---|
committer | Artemis Everfree <artemis@artemis.sh> | 2023-02-02 11:44:26 -0800 |
commit | 99306e3cd2a902f90785d97154a97f960b79c9c1 (patch) | |
tree | de84f0e49fd509d510e46033d64c3f130807997d /net-libs | |
parent | games-emulation/yuzu: update snapshot (diff) | |
download | guru-99306e3cd2a902f90785d97154a97f960b79c9c1.tar.gz guru-99306e3cd2a902f90785d97154a97f960b79c9c1.tar.bz2 guru-99306e3cd2a902f90785d97154a97f960b79c9c1.zip |
net-libs/libuecc: Add static-libs USE flag
Signed-off-by: Artemis Everfree <artemis@artemis.sh>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libuecc/libuecc-7.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net-libs/libuecc/libuecc-7.ebuild b/net-libs/libuecc/libuecc-7.ebuild index 0baec7b98..4bd66bee6 100644 --- a/net-libs/libuecc/libuecc-7.ebuild +++ b/net-libs/libuecc/libuecc-7.ebuild @@ -12,7 +12,11 @@ SRC_URI="https://github.com/NeoRaider/libuecc/releases/download/v${PV}/${P}.tar. LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm64" -RDEPEND="" -DEPEND="${RDEPEND}" -BDEPEND="" -IDEPEND="" +IUSE="static-libs" + +src_install() { + cmake_src_install + if ! use static-libs; then + find "${ED}" -name "*.a" -delete + fi +} |