Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/
Date: Wed, 28 Nov 2018 16:19:40
Message-Id: 1543421967.f0b051cbe98ec042cdd637d8ac6393dc18fc8c53.mgorny@gentoo
1 commit: f0b051cbe98ec042cdd637d8ac6393dc18fc8c53
2 Author: Joonas Niilola <juippis <AT> gmail <DOT> com>
3 AuthorDate: Wed Nov 28 12:27:33 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 28 16:19:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b051cb
7
8 media-libs/imlib2: clean old
9
10 Package-Manager: Portage[mgorny]-2.3.51.1
11 Signed-off-by: Joonas Niilola <juippis <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/10511
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 media-libs/imlib2/imlib2-1.5.1.ebuild | 69 -----------------------------------
16 1 file changed, 69 deletions(-)
17
18 diff --git a/media-libs/imlib2/imlib2-1.5.1.ebuild b/media-libs/imlib2/imlib2-1.5.1.ebuild
19 deleted file mode 100644
20 index 3cd615595e6..00000000000
21 --- a/media-libs/imlib2/imlib2-1.5.1.ebuild
22 +++ /dev/null
23 @@ -1,69 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -inherit multilib-minimal toolchain-funcs
30 -
31 -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
32 -HOMEPAGE="https://www.enlightenment.org/"
33 -SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.gz"
34 -
35 -LICENSE="BSD"
36 -SLOT="0"
37 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
38 -IUSE="bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 gif jpeg mp3 nls png static-libs tiff X zlib"
39 -
40 -RDEPEND="
41 - media-libs/freetype:2[${MULTILIB_USEDEP}]
42 - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
43 - gif? ( media-libs/giflib[${MULTILIB_USEDEP}] )
44 - jpeg? ( ~virtual/jpeg-0:0=[${MULTILIB_USEDEP}] )
45 - mp3? ( media-libs/libid3tag[${MULTILIB_USEDEP}] )
46 - nls? ( sys-devel/gettext )
47 - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
48 - tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] )
49 - X? (
50 - x11-libs/libX11[${MULTILIB_USEDEP}]
51 - x11-libs/libXext[${MULTILIB_USEDEP}]
52 - )
53 - zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
54 -"
55 -DEPEND="
56 - ${RDEPEND}
57 - virtual/pkgconfig[${MULTILIB_USEDEP}]
58 - X? ( x11-base/xorg-proto )
59 -"
60 -
61 -multilib_src_configure() {
62 - local myconf_imlib2=(
63 - $(use_with bzip2)
64 - $(use_with gif)
65 - $(use_with jpeg)
66 - $(use_with mp3 id3)
67 - $(use_with png)
68 - $(use_enable static-libs static)
69 - $(use_with tiff)
70 - $(use_with X x)
71 - $(use_with zlib)
72 - )
73 -
74 - # imlib2 has different configure options for x86/amd64 assembly
75 - if [[ $(tc-arch) == amd64 ]]; then
76 - myconf_imlib2+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
77 - else
78 - myconf_imlib2+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
79 - fi
80 -
81 - ECONF_SOURCE="${S}" \
82 - econf "${myconf_imlib2[@]}"
83 -}
84 -
85 -multilib_src_install() {
86 - V=1 emake install DESTDIR="${D}"
87 -
88 - local HTML_DOCS=( doc/. )
89 - einstalldocs
90 -
91 - find "${D}" -name '*.la' -delete || die
92 -}