Gentoo Archives: gentoo-commits

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