diff options
author | Markus Meier <maekke@gentoo.org> | 2022-12-03 10:47:01 +0100 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2022-12-03 10:47:01 +0100 |
commit | 7dae6f00bc9a20c96b93a9b214da0a3fbdbeb747 (patch) | |
tree | 3627e3d5de63361f21d1f95ac75f72e4d9ccb43e /media-libs | |
parent | media-libs/libpano13: add static-libs flag for bug #829960 (diff) | |
download | maekke-7dae6f00bc9a20c96b93a9b214da0a3fbdbeb747.tar.gz maekke-7dae6f00bc9a20c96b93a9b214da0a3fbdbeb747.tar.bz2 maekke-7dae6f00bc9a20c96b93a9b214da0a3fbdbeb747.zip |
media-libs/libpano13: fix previous changes
Signed-off-by: Markus Meier <maekke@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.21-r1.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.21-r1.ebuild b/media-libs/libpano13/libpano13-2.9.21-r1.ebuild index ba54cae..2e35b81 100644 --- a/media-libs/libpano13/libpano13-2.9.21-r1.ebuild +++ b/media-libs/libpano13/libpano13-2.9.21-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/panotools/${P}.tar.gz" LICENSE="GPL-2" SLOT="0/3" KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="java suitesparse" +IUSE="java static-libs suitesparse" DEPEND="media-libs/libpng:0= media-libs/tiff:0 @@ -31,3 +31,11 @@ src_configure() { ) cmake_src_configure } + +src_install() { + cmake_src_install + + if ! use static-libs ; then + find "${D}" -name "*.a" -type f -delete || die + fi +} |