diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-libs/stimg/stimg-0.1.0.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'media-libs/stimg/stimg-0.1.0.ebuild')
-rw-r--r-- | media-libs/stimg/stimg-0.1.0.ebuild | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/media-libs/stimg/stimg-0.1.0.ebuild b/media-libs/stimg/stimg-0.1.0.ebuild index 3a7be52b0efc..dba7db45095a 100644 --- a/media-libs/stimg/stimg-0.1.0.ebuild +++ b/media-libs/stimg/stimg-0.1.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Simple and tiny image loading library" HOMEPAGE="http://homepage3.nifty.com/slokar/fb/" @@ -11,26 +12,23 @@ SRC_URI="http://homepage3.nifty.com/slokar/stimg/${P}.tar.gz" LICENSE="LGPL-2+ MIT-with-advertising" SLOT="0" KEYWORDS="alpha amd64 ppc x86" -IUSE="static-libs" -RDEPEND="media-libs/libpng - media-libs/tiff +RDEPEND=" + media-libs/libpng:= + media-libs/tiff:= virtual/jpeg" DEPEND="${RDEPEND}" -DOCS=( AUTHORS ) - -src_prepare() { - epatch "${FILESDIR}"/${P}-libpng15.patch -} +PATCHES=( "${FILESDIR}"/${P}-libpng15.patch ) src_configure() { tc-export CC - econf $(use_enable static-libs static) + econf --disable-static } src_install() { default - find "${D}" -name '*.la' -exec rm -f {} + - dodoc README.ja + + # no static archives + find "${D}" -name '*.la' -delete || die } |