diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-07-06 09:38:00 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-07-07 23:53:11 +0200 |
commit | 03a5e993b92f74afa87a77b8d47e24f2be0b607e (patch) | |
tree | dbd9796c5ccf91a07948a5249bf78e057352b57a /app-misc/gentoo/gentoo-0.20.7-r1.ebuild | |
parent | media-video/rovclock: EAPI8 bump (diff) | |
download | gentoo-03a5e993b92f74afa87a77b8d47e24f2be0b607e.tar.gz gentoo-03a5e993b92f74afa87a77b8d47e24f2be0b607e.tar.bz2 gentoo-03a5e993b92f74afa87a77b8d47e24f2be0b607e.zip |
app-misc/gentoo: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31772
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/gentoo/gentoo-0.20.7-r1.ebuild')
-rw-r--r-- | app-misc/gentoo/gentoo-0.20.7-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-misc/gentoo/gentoo-0.20.7-r1.ebuild b/app-misc/gentoo/gentoo-0.20.7-r1.ebuild new file mode 100644 index 000000000000..a6037642d8ba --- /dev/null +++ b/app-misc/gentoo/gentoo-0.20.7-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop + +DESCRIPTION="Graphical file manager for Unix-like systems, using GTK+" +HOMEPAGE="https://sourceforge.net/projects/gentoo/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="nls" + +RDEPEND=" + >x11-libs/gtk+-3.12:3 + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango +" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +DOCS=( + AUTHORS BUGS CONFIG-CHANGES CREDITS NEWS README TODO docs/{FAQ,menus.txt} +) + +src_prepare() { + sed -i \ + -e 's^icons/gnome/16x16/mimetypes^gentoo/icons^' \ + gentoorc.in || die + sed -i \ + -e '/GTK_DISABLE_DEPRECATED/d' \ + -e '/^GENTOO_CFLAGS=/s|".*"|"${CFLAGS}"|g' \ + -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ + configure.ac || die #357343 + + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir=/etc/gentoo \ + $(use_enable nls) +} + +src_install() { + default + + docinto html + dodoc -r docs/{images,config,*.{html,css}} + + newman docs/gentoo.1x gentoo.1 + + docinto scratch + dodoc docs/scratch/* + + make_desktop_entry ${PN} Gentoo \ + /usr/share/${PN}/icons/${PN}.png \ + "System;FileTools;FileManager" +} |