commit:     f4d017734716b47d4f4a951a8f7436e919ca9265
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 19:16:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 19:16:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4d01773

app-text/koodo-reader-bin: version bump, QA fixes

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-text/koodo-reader-bin/Manifest                  |  2 +-
 ...n-1.2.9.ebuild => koodo-reader-bin-1.3.0.ebuild} | 21 +++++----------------
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/app-text/koodo-reader-bin/Manifest 
b/app-text/koodo-reader-bin/Manifest
index b5142e2a4..b10027d37 100644
--- a/app-text/koodo-reader-bin/Manifest
+++ b/app-text/koodo-reader-bin/Manifest
@@ -1 +1 @@
-DIST Koodo.Reader-1.2.9.rpm 61757900 BLAKE2B 
fd1fc7b16c516f7992a1a0ae8995e7c0b66fbe64cf15678d84232ed6c8d778dcfa0b06158acad7fba9b59f998b3c2c82b25e177b820f04de1d5258690256b43a
 SHA512 
fa37dbe1726f21c5f170698c8cd6ffa953a43d50329583a4af69768d4c207669c4999445ebe966e275cdcc36faa122213ed7338d41ad50f5f3e9c2c629ff727d
+DIST Koodo.Reader-1.3.0.rpm 60493844 BLAKE2B 
1227a35cf6efba5467267cae1d783cfdcfe3b8c7c06f85a2c78e3e11e50a080600ee9106dafaead1dc95ffdd42b4f7cc2322511dca9f0354fa243ca282b56aff
 SHA512 
2811f878fc327f8db94fddec850cbd25f65533808d915af65578a070e269c49e8b8fe98ddfbcb1a8ab975ad7963dc6f90cd730da333ce9a881c332165e4fb34e

diff --git a/app-text/koodo-reader-bin/koodo-reader-bin-1.2.9.ebuild 
b/app-text/koodo-reader-bin/koodo-reader-bin-1.3.0.ebuild
similarity index 76%
rename from app-text/koodo-reader-bin/koodo-reader-bin-1.2.9.ebuild
rename to app-text/koodo-reader-bin/koodo-reader-bin-1.3.0.ebuild
index dc6f63fa5..dfd6cba39 100644
--- a/app-text/koodo-reader-bin/koodo-reader-bin-1.2.9.ebuild
+++ b/app-text/koodo-reader-bin/koodo-reader-bin-1.3.0.ebuild
@@ -6,12 +6,12 @@ EAPI=7
 inherit rpm xdg desktop
 DESCRIPTION="A modern ebook manager and reader with sync and backup capacities"
 HOMEPAGE="https://koodo.960960.xyz/";
-SRC_URI="https://github.com/troyeguo/koodo-reader/releases/download/v1.2.9/Koodo.Reader-1.2.9.rpm";
+SRC_URI="https://github.com/troyeguo/koodo-reader/releases/download/v${PV}/Koodo.Reader-${PV}.rpm";
 
 S="${WORKDIR}"
 LICENSE="AGPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 -*"
 
 DEPEND="
        x11-libs/libXcomposite
@@ -25,17 +25,17 @@ DEPEND="
        net-print/cups
        x11-libs/libdrm
        media-libs/mesa
-       x11-libs/gtk+
+       x11-libs/gtk+:3
        x11-libs/gdk-pixbuf
        dev-libs/nss
        x11-libs/pango
        x11-libs/libxkbcommon
 "
 RDEPEND="${DEPEND}"
-BDEPEND=""
 
 QA_PREBUILT="opt/*"
-src_install(){
+
+src_install() {
        insinto /opt
        doins -r "${S}"/opt/Koodo\ Reader
        dosym ../../opt/Koodo\ Reader/koodo-reader 
"${EPREFIX}/usr/bin/koodo-reader"
@@ -44,14 +44,3 @@ src_install(){
        doins -r "${S}"/usr/share
        doins -r "${S}"/usr/lib
 }
-
-pkg_postinst(){
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
-}
-pkg_postrm(){
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
-}

Reply via email to