commit:     39b85c576c6d2042ea91c7bf5e038b07f1fd27f0
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 20:40:31 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 20:41:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b85c57

x11-misc/cairo-clock: Gunzip man page, fix RDEPEND

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Closes: https://bugs.gentoo.org/show_bug.cgi?id=742689
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild   | 17 ++++++-------
 ...0.3.4-r1.ebuild => cairo-clock-0.3.4-r2.ebuild} | 28 ++++++++++++++--------
 2 files changed, 27 insertions(+), 18 deletions(-)

diff --git a/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild 
b/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
index 3cc8a83d497..2f6adc64526 100644
--- a/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
+++ b/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-
 inherit autotools
 
 DESCRIPTION="An analog clock displaying the system-time"
@@ -12,19 +11,21 @@ 
SRC_URI="http://macslow.thepimp.net/projects/${PN}/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
-IUSE=""
 
-RDEPEND=">=dev-libs/glib-2.8
+RDEPEND="
+       >=dev-libs/glib-2.8
        >=gnome-base/libglade-2.6
        >=gnome-base/librsvg-2.14
        >=x11-libs/cairo-1.2
        >=x11-libs/gtk+-2.10:2
-       >=x11-libs/pango-1.10"
-DEPEND="${DEPEND}
+       >=x11-libs/pango-1.10
+"
+DEPEND="
+       ${RDEPEND}
        dev-util/intltool
        virtual/pkgconfig
-       sys-devel/gettext"
-
+       sys-devel/gettext
+"
 PATCHES=(
        "${FILESDIR}"/${P}-desktop.patch
        "${FILESDIR}"/${P}-linker.patch

diff --git a/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild 
b/x11-misc/cairo-clock/cairo-clock-0.3.4-r2.ebuild
similarity index 68%
copy from x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
copy to x11-misc/cairo-clock/cairo-clock-0.3.4-r2.ebuild
index 3cc8a83d497..675a9bf64b0 100644
--- a/x11-misc/cairo-clock/cairo-clock-0.3.4-r1.ebuild
+++ b/x11-misc/cairo-clock/cairo-clock-0.3.4-r2.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
+EAPI=7
 inherit autotools
 
 DESCRIPTION="An analog clock displaying the system-time"
@@ -11,20 +10,22 @@ 
SRC_URI="http://macslow.thepimp.net/projects/${PN}/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 
-RDEPEND=">=dev-libs/glib-2.8
+RDEPEND="
+       >=dev-libs/glib-2.8
        >=gnome-base/libglade-2.6
        >=gnome-base/librsvg-2.14
        >=x11-libs/cairo-1.2
        >=x11-libs/gtk+-2.10:2
-       >=x11-libs/pango-1.10"
-DEPEND="${DEPEND}
+       >=x11-libs/pango-1.10
+"
+DEPEND="
+       ${RDEPEND}
        dev-util/intltool
        virtual/pkgconfig
-       sys-devel/gettext"
-
+       sys-devel/gettext
+"
 PATCHES=(
        "${FILESDIR}"/${P}-desktop.patch
        "${FILESDIR}"/${P}-linker.patch
@@ -32,5 +33,12 @@ PATCHES=(
 
 src_prepare() {
        default
+
        eautoreconf
 }
+
+src_install() {
+       default
+
+       gzip -d "${ED}"/usr/share/man/man1/cairo-clock.1.gz || die
+}

Reply via email to