diff options
author | ormorph <roma251078@mail.ru> | 2021-02-27 09:51:12 +0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2021-05-19 18:34:53 +0000 |
commit | 9246a89638ec78794615f713b04e01ca66778978 (patch) | |
tree | ab17fe3b6116cd366227e9e645641f31b2f7c82f /media-libs/lcms/lcms-1.19-r1.ebuild | |
parent | 80f7847b40a3f56df35ad5e7d26907c7bf45c665 (diff) | |
download | tde-packaging-gentoo-9246a89638ec78794615f713b04e01ca66778978.tar.gz tde-packaging-gentoo-9246a89638ec78794615f713b04e01ca66778978.zip |
Aded media-libs/lcms
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'media-libs/lcms/lcms-1.19-r1.ebuild')
-rw-r--r-- | media-libs/lcms/lcms-1.19-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/lcms/lcms-1.19-r1.ebuild b/media-libs/lcms/lcms-1.19-r1.ebuild new file mode 100644 index 00000000..e4bcf3dc --- /dev/null +++ b/media-libs/lcms/lcms-1.19-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Copyright 2021 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools eutils + +DESCRIPTION="Lightweight, speed optimized color management engine" +HOMEPAGE="https://www.littlecms.com/" +SRC_URI="mirror://sourceforge/lcms/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="jpeg static-libs tiff zlib" + +# Don't use Gentoo mirrors +RESTRICT="mirror" + +RDEPEND=" + jpeg? ( virtual/jpeg:0 ) + tiff? ( media-libs/tiff:0 ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-disable_static_modules.patch" + "${FILESDIR}/${P}-implicit.patch" +) + +src_prepare() { + + default + + eautoreconf +} + +src_configure() { + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --bindir="${EPREFIX}"/usr/bin \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_with jpeg) \ + $(use_with tiff) \ + $(use_with zlib) +} + +src_install() { + DOCS=(AUTHORS README* INSTALL NEWS doc/*) + + default + + insinto /usr/share/lcms/profiles + doins testbed/*.icm + + find "${ED}" -name '*.la' -delete || die +} |