From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/gtkdialog/
Date: Sun, 2 Feb 2020 10:58:10 +0000 (UTC) [thread overview]
Message-ID: <1580641085.c17c75b84bb3f4d3857c6430a8b02461f9671c3c.jer@gentoo> (raw)
commit: c17c75b84bb3f4d3857c6430a8b02461f9671c3c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 2 10:20:32 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Feb 2 10:58:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17c75b8
x11-misc/gtkdialog: Call xdg_icon_cache_update()
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
...alog-99999.ebuild => gtkdialog-0.8.3-r3.ebuild} | 45 +++++++++++-----------
x11-misc/gtkdialog/gtkdialog-99999.ebuild | 12 +++++-
2 files changed, 32 insertions(+), 25 deletions(-)
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild
similarity index 54%
copy from x11-misc/gtkdialog/gtkdialog-99999.ebuild
copy to x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild
index 0f60150b0f8..f6947de4958 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3-r3.ebuild
@@ -1,52 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools git-r3
+EAPI=7
+inherit autotools xdg-utils
DESCRIPTION="A small utility for fast and easy GUI building"
-HOMEPAGE="https://github.com/oshazard/gtkdialog"
-EGIT_REPO_URI="https://github.com/oshazard/gtkdialog"
+HOMEPAGE="https://code.google.com/p/gtkdialog/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
-IUSE="gtk3"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="glade vte"
RDEPEND="
- !gtk3? (
- x11-libs/gtk+:2
- x11-libs/vte:0=
- )
- gtk3? (
- x11-libs/gtk+:3
- x11-libs/vte:2.91=
- )
+ x11-libs/gtk+:2
+ glade? ( gnome-base/libglade )
+ vte? ( x11-libs/vte:0= )
"
DEPEND="
${RDEPEND}
- sys-apps/texinfo
- sys-devel/flex
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_enable gtk3)
-}
-
-src_compile() {
- emake -C doc stamp-vti
- default
+ econf $(use_with glade) $(use_with vte)
}
src_install() {
@@ -54,3 +45,11 @@ src_install() {
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install
einstalldocs
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index 0f60150b0f8..6a3b1eec8e2 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools git-r3
+EAPI=7
+inherit autotools git-r3 xdg-utils
DESCRIPTION="A small utility for fast and easy GUI building"
HOMEPAGE="https://github.com/oshazard/gtkdialog"
@@ -54,3 +54,11 @@ src_install() {
emake DESTDIR="${D}" UPDATE_ICON_CACHE=true install
einstalldocs
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
next reply other threads:[~2020-02-02 10:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-02 10:58 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-08 12:03 [gentoo-commits] repo/gentoo:master commit in: x11-misc/gtkdialog/ Sam James
2022-12-18 19:41 Arthur Zamarin
2022-12-18 12:00 Sam James
2022-11-15 2:45 Sam James
2022-10-31 17:39 Matt Turner
2021-12-20 1:00 Jonas Stein
2021-10-19 19:09 Jakov Smolić
2021-03-07 11:53 Andreas Sturmlechner
2021-02-07 20:19 Andreas Sturmlechner
2021-02-07 20:19 Andreas Sturmlechner
2021-02-07 8:57 Sam James
2021-02-07 1:06 Sam James
2020-02-02 10:58 Jeroen Roovers
2020-02-02 10:58 Jeroen Roovers
2020-01-13 10:07 David Seifert
2018-07-28 12:13 Jeroen Roovers
2017-02-19 23:46 David Seifert
2017-02-19 23:46 David Seifert
2017-01-04 15:29 Agostino Sarubbo
2016-12-20 19:16 Tobias Klausmann
2016-10-02 10:42 Jeroen Roovers
2016-10-02 10:42 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1580641085.c17c75b84bb3f4d3857c6430a8b02461f9671c3c.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox