diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/emelfm2 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/emelfm2')
-rw-r--r-- | app-misc/emelfm2/Manifest | 4 | ||||
-rw-r--r-- | app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild | 86 | ||||
-rw-r--r-- | app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild | 86 | ||||
-rw-r--r-- | app-misc/emelfm2/metadata.xml | 12 |
4 files changed, 188 insertions, 0 deletions
diff --git a/app-misc/emelfm2/Manifest b/app-misc/emelfm2/Manifest new file mode 100644 index 000000000000..55591b3f6b98 --- /dev/null +++ b/app-misc/emelfm2/Manifest @@ -0,0 +1,4 @@ +DIST emelfm2-0.9.1.tar.bz2 1217126 BLAKE2B 994fb55f9aed452cf0b01b7a26d0b94b8a02dace54eb34f764fe6d9a8c6ea3820d4fce3242daa452e972fd6e630d564ee3781af6480c3a812d4f4bbc66caae68 SHA512 bd3a1ad2338c80d6824a2a84736470ecfa7e93f455cc8e3243944833807fe9b3544e2fea6bd6ccbddaf0188ad89ce616ed146271f6ffabec80f5dfb2f1ad6f57 +EBUILD emelfm2-0.9.1-r1.ebuild 1942 BLAKE2B 8b7e2f917fec31da7a02187a6f5ac7e38613b3280a78d1520c707ec9625d08902137ef67e7959c653e8e6f62a8902bf5359491ca2b8e35fa9358ff8b2b0aaf92 SHA512 e44054f8eae6ac29421f737c59179a450ba3ee65e8c30bceecd447be0cfa73681c1c639430d1b21255926ee3133647b6a0dc1275cac465c01fd2f5c237812b58 +EBUILD emelfm2-0.9.1-r2.ebuild 1990 BLAKE2B 175e0b1df279dbb82f8db8a93d24417196adc1c27cfe16a76c551ffd2f13d28964e3889ef3f19cafc98e71e9b94a9b4814fd52ae5ea0ab87696ccb08b5f24771 SHA512 bea46f2f46b9121f067165625f812fa2160b569466cfd91e1a40b01717846f53e7fa8a72b0687c329b8cd4ffec8ab31009e727e05bf5193c9e08b05d811cd27e +MISC metadata.xml 452 BLAKE2B 21a44f257e58a0a62663b759bdbabfe22c548d2be874365eb4584ce196846890f3342a20ed4be0d4515e1350a5c795b051769003602cfdbdeb35e485d77a4282 SHA512 a42d336a0ee1d8949d2b35e98ff372ac8ddd3bdc5d4733b6195abd1c5e5cfa766bab721a9dc63cfa6ae34fb861a9621da5ea041889638d4bcb6ac2ac9b17fbc5 diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild new file mode 100644 index 000000000000..afac8716bab9 --- /dev/null +++ b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="http://emelfm2.net/" +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 ) +" + +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" \ + ${myemelconf[@]} \ + install \ + $(usex nls install_i18n '') + + newicon icons/${PN}_48.png ${PN}.png +} diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild new file mode 100644 index 000000000000..f59d82948f66 --- /dev/null +++ b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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="http://emelfm2.net/" +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 ) +" + +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 +} diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml new file mode 100644 index 000000000000..20b9dda1e27b --- /dev/null +++ b/app-misc/emelfm2/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> + <use> + <flag name="ansi">Add support for ANSI escape sequences</flag> + <flag name="gtk3">Use <pkg>x11-libs/gtk+</pkg>:3 instead of <pkg>x11-libs/gtk+</pkg>:2</flag> + </use> +</pkgmetadata> |