Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 828503
Collapse All | Expand All

(-)a/media-libs/imlib2/Manifest (+1 lines)
Lines 1-2 Link Here
1
DIST imlib2-1.6.1.tar.gz 1038614 BLAKE2B 89751ea5548e86b810d621cbcd5b3d37c7ddbedc9e634095f61d91779c1e96d50f87842136687e2b9cefa249b17fc98df61d07b368c7c4f466687ed38f2ed70f SHA512 0c6d874973c46c7e96e49fc391d463ec8c7c5ce9de682600cb4e28ca81ff0366a02055cbec2a2b743204051243d20b2316ab602b98df9d03dcf319297f7e6a13
1
DIST imlib2-1.6.1.tar.gz 1038614 BLAKE2B 89751ea5548e86b810d621cbcd5b3d37c7ddbedc9e634095f61d91779c1e96d50f87842136687e2b9cefa249b17fc98df61d07b368c7c4f466687ed38f2ed70f SHA512 0c6d874973c46c7e96e49fc391d463ec8c7c5ce9de682600cb4e28ca81ff0366a02055cbec2a2b743204051243d20b2316ab602b98df9d03dcf319297f7e6a13
2
DIST imlib2-1.7.1.tar.bz2 893631 BLAKE2B 637bf70ea223a63c51def0fac4102683a090de41a1f5904d6232fd2fa004915e3dcde54eac51d16532d2df83a0f8df127266766ac3700ae2948d39fefef512b8 SHA512 36e457855da0f129c7e7ba3dfcb44162b6624b1d56df5f84448495a96fe9ad1ce3e6c628222630be7274476722c4feaa8e1648d1e463439ca758e66ce9645970
2
DIST imlib2-1.7.1.tar.bz2 893631 BLAKE2B 637bf70ea223a63c51def0fac4102683a090de41a1f5904d6232fd2fa004915e3dcde54eac51d16532d2df83a0f8df127266766ac3700ae2948d39fefef512b8 SHA512 36e457855da0f129c7e7ba3dfcb44162b6624b1d56df5f84448495a96fe9ad1ce3e6c628222630be7274476722c4feaa8e1648d1e463439ca758e66ce9645970
3
DIST imlib2-1.7.4.tar.bz2 895819 BLAKE2B f84ff999d30e24a3ae48278c142a5f28fa34cad359b085c21ccf7cba11110de403fe437dc69864916c55e67488cd25463168b85fd506432500cef03a7658f8e3 SHA512 54c213de38535f14359d9e407b9ae5911a158347525a298673ba53d122c3e506449feb34203e764e43d5aa163f3024093803cd976a23c0f0f65b843ed9685d66
(-)a/media-libs/imlib2/imlib2-1.7.4.ebuild (-1 / +78 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit multilib-minimal toolchain-funcs
7
8
DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
9
HOMEPAGE="https://www.enlightenment.org/
10
	https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
11
SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.bz2"
12
13
LICENSE="BSD"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16
IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 doc +gif +jpeg mp3 +png +shm
17
	static-libs +tiff +webp zlib"
18
19
REQUIRED_USE="shm? ( X )"
20
21
RDEPEND="
22
	media-libs/freetype:2[${MULTILIB_USEDEP}]
23
	bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
24
	gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
25
	jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
26
	mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
27
	png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
28
	tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
29
	webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
30
	X? (
31
		x11-libs/libX11[${MULTILIB_USEDEP}]
32
		x11-libs/libXext[${MULTILIB_USEDEP}]
33
	)
34
	zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
35
	!<media-plugins/imlib2_loaders-1.7.0
36
"
37
DEPEND="${RDEPEND}
38
	X? ( x11-base/xorg-proto )"
39
BDEPEND="virtual/pkgconfig"
40
41
multilib_src_configure() {
42
	local myeconfargs=(
43
		$(use_with X x)
44
		$(use_with bzip2)
45
		$(use_with gif)
46
		$(use_with jpeg)
47
		$(use_with mp3 id3)
48
		$(use_with png)
49
		$(use_with shm x-shm-fd)
50
		$(use_enable static-libs static)
51
		$(use_with tiff)
52
		$(use_with webp)
53
		$(use_with zlib)
54
	)
55
56
	# imlib2 has different configure options for x86/amd64 assembly
57
	if [[ $(tc-arch) == amd64 ]]; then
58
		myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
59
	else
60
		myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
61
	fi
62
63
	ECONF_SOURCE="${S}" \
64
	econf "${myeconfargs[@]}"
65
}
66
67
multilib_src_install() {
68
	V=1 emake install DESTDIR="${D}"
69
	find "${D}" -name '*.la' -delete || die
70
}
71
72
multilib_src_install_all() {
73
	if use doc; then
74
		local HTML_DOCS=( "${S}"/doc/. )
75
		rm "${S}"/doc/Makefile.{am,in} || die
76
	fi
77
	einstalldocs
78
}

Return to bug 828503