diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild')
-rw-r--r-- | x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild new file mode 100644 index 000000000000..f6947de49587 --- /dev/null +++ b/x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools xdg-utils + +DESCRIPTION="A small utility for fast and easy GUI building" +HOMEPAGE="https://code.google.com/p/gtkdialog/" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="glade vte" + +RDEPEND=" + x11-libs/gtk+:2 + glade? ( gnome-base/libglade ) + vte? ( x11-libs/vte:0= ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + sys-devel/flex + virtual/yacc +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8.3-fno-common.patch + "${FILESDIR}"/${PN}-0.8.3-optdeps.patch +) + +src_prepare() { + mv configure.{in,ac} || die + default + eautoreconf +} + +src_configure() { + econf $(use_with glade) $(use_with vte) +} + +src_install() { + # Stop make install from running gtk-update-icon-cache + emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install + einstalldocs +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |