Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/emelfm2/
Date: Sun, 07 Feb 2021 15:04:51
Message-Id: 1612710266.396c8b0705148f6134631bb11224552133878054.asturm@gentoo
1 commit: 396c8b0705148f6134631bb11224552133878054
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 14:25:59 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 15:04:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396c8b07
7
8 app-misc/emelfm2: Drop 0.9.1-r4, EAPI5--
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-misc/emelfm2/emelfm2-0.9.1-r4.ebuild | 88 --------------------------------
14 1 file changed, 88 deletions(-)
15
16 diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r4.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r4.ebuild
17 deleted file mode 100644
18 index bcc5b99f306..00000000000
19 --- a/app-misc/emelfm2/emelfm2-0.9.1-r4.ebuild
20 +++ /dev/null
21 @@ -1,88 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -inherit eutils multilib toolchain-funcs
27 -
28 -DESCRIPTION="A file manager that implements the popular two-pane design"
29 -HOMEPAGE="https://github.com/tom2tom/emelfm2"
30 -SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
31 -
32 -LICENSE="GPL-3 LGPL-3"
33 -SLOT="0"
34 -KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
35 -IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
36 -
37 -EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
38 -
39 -COMMON_DEPEND="
40 - >=dev-libs/glib-2.26:2
41 - !gtk3? ( >=x11-libs/gtk+-2.12:2 )
42 - gtk3? ( x11-libs/gtk+:3 )
43 - acl? ( sys-apps/acl )
44 - gimp? ( media-gfx/gimp:0/2 )
45 - policykit? ( sys-auth/polkit )
46 - spell? ( >=app-text/gtkspell-2.0.14:2 )
47 -"
48 -RDEPEND="
49 - ${COMMON_DEPEND}
50 - udisks? ( sys-fs/udisks:2 )
51 -"
52 -DEPEND="
53 - ${COMMON_DEPEND}
54 - virtual/pkgconfig
55 - nls? ( sys-devel/gettext )
56 -"
57 -REQUIRED_USE="
58 - spell? ( !gtk3 )
59 -"
60 -RESTRICT="test"
61 -
62 -src_prepare() {
63 - sed -i \
64 - -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
65 - -e 's:@$(CC):$(CC):g' \
66 - -e 's:dbus-glib-1::' \
67 - Makefile || die
68 -
69 - local lingua
70 - for lingua in ${EMELFM2_LINGUAS[@]}; do
71 - has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
72 - done
73 -}
74 -
75 -src_configure() {
76 - myemelconf=(
77 - $(usex acl WITH_ACL=1 WITH_ACL=0)
78 - $(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
79 - $(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
80 - $(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
81 - $(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
82 - $(usex nls I18N=1 I18N=0)
83 - $(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
84 - $(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
85 - $(usex udisks WITH_UDISKS=1 WITH_UDISKS=0)
86 - DOCS_VERSION=1
87 - STRIP=0
88 - WITH_TRANSPARENCY=1
89 - )
90 -}
91 -
92 -src_compile() {
93 - tc-export CC
94 - emake \
95 - LIB_DIR="/usr/$(get_libdir)" \
96 - PREFIX="/usr" \
97 - ${myemelconf[@]}
98 -}
99 -
100 -src_install() {
101 - emake \
102 - LIB_DIR="${D}/usr/$(get_libdir)" \
103 - PREFIX="${D}/usr" \
104 - ${myemelconf[@]} \
105 - install \
106 - $(usex nls install_i18n '')
107 -
108 - newicon icons/${PN}_48.png ${PN}.png
109 -}