summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-09-26 15:10:42 -0400
committerAaron Bauman <bman@gentoo.org>2020-09-26 15:40:11 -0400
commit3e9f2f5f5b5b14ca80e586c9666362e668c30b24 (patch)
tree8c723f9551aa9c399a1c01f05064e5a76060b70d /app-misc/emelfm2
parentapp-misc/dvtm: drop old EAPI=5 (diff)
downloadgentoo-3e9f2f5f5b5b14ca80e586c9666362e668c30b24.tar.gz
gentoo-3e9f2f5f5b5b14ca80e586c9666362e668c30b24.tar.bz2
gentoo-3e9f2f5f5b5b14ca80e586c9666362e668c30b24.zip
app-misc/emelfm2: drop old EAPI=5
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild88
1 files changed, 0 insertions, 88 deletions
diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
deleted file mode 100644
index 1679c68b7eb3..000000000000
--- a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="A file manager that implements the popular two-pane design"
-HOMEPAGE="https://github.com/tom2tom/emelfm2"
-SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
-
-EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.26:2
- !gtk3? ( >=x11-libs/gtk+-2.12:2 )
- gtk3? ( x11-libs/gtk+:3 )
- acl? ( sys-apps/acl )
- gimp? ( media-gfx/gimp )
- policykit? ( sys-auth/polkit )
- spell? ( >=app-text/gtkspell-2.0.14:2 )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- udisks? ( sys-fs/udisks:2 )
-"
-DEPEND="
- ${COMMON_DEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-REQUIRED_USE="
- spell? ( !gtk3 )
-"
-RESTRICT="test"
-
-src_prepare() {
- sed -i \
- -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
- -e 's:@$(CC):$(CC):g' \
- -e 's:dbus-glib-1::' \
- Makefile || die
-
- local lingua
- for lingua in ${EMELFM2_LINGUAS[@]}; do
- has ${lingua} ${LINGUAS-${lingua}} || mv po/${lingua}.po{,.unwanted}
- done
-}
-
-src_configure() {
- myemelconf=(
- $(usex acl WITH_ACL=1 WITH_ACL=0)
- $(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
- $(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
- $(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
- $(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
- $(usex nls I18N=1 I18N=0)
- $(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
- $(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
- $(usex udisks WITH_UDISKS=1 WITH_UDISKS=0)
- DOCS_VERSION=1
- STRIP=0
- WITH_TRANSPARENCY=1
- )
-}
-
-src_compile() {
- tc-export CC
- emake \
- LIB_DIR="/usr/$(get_libdir)" \
- PREFIX="/usr" \
- ${myemelconf[@]}
-}
-
-src_install() {
- emake \
- LIB_DIR="${D}/usr/$(get_libdir)" \
- PREFIX="${D}/usr" \
- XDG_DESKTOP_DIR="${D}/usr/share/applications" \
- ${myemelconf[@]} \
- install $(usex nls install_i18n '')
-
- newicon icons/${PN}_48.png ${PN}.png
-}