gentoo-ebuilds/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
NHOrus 6cd1543abf
x11-misc/viewglob: update EAPI 7 -> 8, prepare for GCC-14/C23
Ordering of includes and correct function signatures for C23
And AC_USE_SYSTEM_EXTENSIONS for implicit delc in configure
I noticed on my system (not a reported bug)

Bug: https://bugs.gentoo.org/928851
Closes: https://bugs.gentoo.org/944278
Closes: https://bugs.gentoo.org/944019
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40097
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 09:42:01 +00:00

43 lines
807 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools readme.gentoo-r1
DESCRIPTION="Graphical display of directories and globs referenced at the shell prompt"
HOMEPAGE="https://viewglob.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/viewglob/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
BDEPEND="virtual/pkgconfig"
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:2
|| ( app-shells/bash:* app-shells/zsh )"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-underlinking.patch
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-C23.patch
)
src_prepare() {
default
eautoreconf
}
src_install() {
default
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}