app-text/koodo-reader-bin: add 1.6.3

Signed-off-by: Shaoyu Tseng <1over137@anche.no>
This commit is contained in:
Shaoyu Tseng
2024-01-28 15:59:56 -05:00
parent 624ce9ca64
commit 29d5b91ee7
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST Koodo.Reader-1.5.1.rpm 62509777 BLAKE2B 510cf4df644d71d1e7835bb7c88d53f01cf5babcde601ac074e4dd35e04186259378d69cc87fccb7cd7250c3fdb180b69d7da866bcf0c5e079bb9e51af764dad SHA512 42c627d89addaeed0d101ec6d63a1f25ed2a6444a24e100cb9cef8e8159a571e7bf130fa25508e5d37b568fbe1c7187259b23034f0d89dbb35f0a2334832939c
DIST Koodo.Reader-1.6.3-x86_64.rpm 63583533 BLAKE2B 883ad45ca1596e1c5f7391dbd315876c1d567af2bc495650bd7a843b4054bf35005e9f6cdff937b4c33e777d52c4ba0d616d6b792a136b5ce999f8be7b3bb957 SHA512 e4f0a47625ced6ec6a2fbb48639f38cebee4fec6c9773d1cd8f93605eee2a907abe3e5617fd0ed8c4278b2ce3eb4bc33bb7ea20be3ef7077a6c3050d8b41cc31

View File

@@ -0,0 +1,44 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit rpm xdg
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/v${PV}/Koodo.Reader-${PV}-x86_64.rpm"
S="${WORKDIR}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="-* ~amd64"
DEPEND="
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXfixes
x11-libs/libXrandr
media-libs/alsa-lib
>=app-accessibility/at-spi2-core-2.46.0
net-print/cups
x11-libs/libdrm
media-libs/mesa
x11-libs/gtk+:3
x11-libs/gdk-pixbuf
dev-libs/nss
x11-libs/pango
x11-libs/libxkbcommon
"
RDEPEND="${DEPEND}"
QA_PREBUILT="opt/*"
src_install() {
insinto /opt
doins -r "${S}"/opt/Koodo\ Reader
dosym ../../opt/Koodo\ Reader/koodo-reader "${EPREFIX}/usr/bin/koodo-reader"
fperms +x /opt/Koodo\ Reader/koodo-reader
insinto /usr
doins -r "${S}"/usr/share
doins -r "${S}"/usr/lib
}