commit:     aada8c25314b3456f2434fbe4fba76462bf28cd9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 18:32:33 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 18:32:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aada8c25

games-board/gtkatlantic: minor fixups

* Add missing dependencies
* Use xdg eclass instead of xdg
* Make SRC_URI more generic

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild 
b/games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild
index c274a53d9ce..8e58e3fb30f 100644
--- a/games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild
+++ b/games-board/gtkatlantic/gtkatlantic-0.6.3.ebuild
@@ -3,20 +3,24 @@
 
 EAPI=7
 
-inherit autotools xdg-utils
+inherit autotools xdg
 
 DESCRIPTION="Monopoly-like game that works with the monopd server"
 HOMEPAGE="http://gtkatlantic.gradator.net/";
-SRC_URI="http://download.tuxfamily.org/gtkatlantic/downloads/v0.6/${P}.tar.bz2";
+SRC_URI="http://download.tuxfamily.org/gtkatlantic/downloads/v$(ver_cut 
1-2)/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
-       dev-libs/libxml2
+       dev-libs/glib:2
+       dev-libs/libxml2:=
        media-libs/libpng:0=
-       x11-libs/gtk+:3"
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/gtk+:3
+"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
@@ -24,11 +28,3 @@ src_prepare() {
        default
        eautoreconf
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

Reply via email to