diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
commit | 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f (patch) | |
tree | fa4e093c6694ec0590cbbd9a7b86c1edddc43d72 /x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild | |
parent | ac35def7deb4a1eecfad26f0eb5907170b2ee5d7 (diff) |
gentoo auto-resync : 15:11:2022 - 06:52:13
Diffstat (limited to 'x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild')
-rw-r--r-- | x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild new file mode 100644 index 000000000000..79c38b08340e --- /dev/null +++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools xdg + +if [[ "${PV}" == "99999" ]]; then + EGIT_REPO_URI="https://github.com/oshazard/gtkdialog" + inherit git-r3 +else + SRC_URI="https://dev.gentoo.org/~jsmolic/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~x86" +fi + +DESCRIPTION="A small utility for fast and easy GUI building" +HOMEPAGE="https://github.com/oshazard/gtkdialog" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + dev-libs/glib + x11-libs/gtk+:3 + x11-libs/vte:2.91= +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/texinfo + sys-devel/flex + virtual/pkgconfig + virtual/yacc +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.3-fno-common.patch + "${FILESDIR}"/${PN}-0.8.3-do_variables_count_widgets.patch + "${FILESDIR}"/${PN}-0.8.3-fix-build-for-clang16.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --enable-gtk3 +} + +src_compile() { + emake -C doc stamp-vti + default +} + +src_install() { + # Stop make install from running gtk-update-icon-cache + emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install + einstalldocs +} |