1
0

app-text/wike: add 2.1.0

This commit is contained in:
Ryan Fox 2024-02-05 19:56:57 -08:00
parent 33ccb78f9d
commit bf554e049c
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 60 additions and 3 deletions

View File

@ -1,3 +1,4 @@
DIST wike-1.8.3.gh.tar.gz 1267896 BLAKE2B 59df2d84852987ec35c693a535290eb206ec5da5cf1994f51527dbd60c94a1ce07477f235df71953e7bf74214a0888cc1c7cac499f8c2b91fbfc901ac838cde7 SHA512 3647ff69cc55261d0c2f320ee6b6c8beb296d76366b53a05265fa978d89c205a6f9dde18ca253a6fddeb1d7958e0f369f0458b62a651c0d4b66b98aaa62faaca
DIST wike-2.0.0.gh.tar.gz 1703781 BLAKE2B 3916591e3fe62fcb9d5407aec745d652bdcb73f5cfd637f8c18057de75a9069ba459d7716c1fdb62574f38ebf4d19d85b9e8b39d2a9df765613360a04b80cd2e SHA512 ca02ea2364d270571b7a4e13de7dd29a45c9a3a945b32de7fcca1b37235ec51ba7ed02f3fc69a5bb0b4463f4c72a25195297e7ac3082767d5b1e6d5e4c9ffea2
DIST wike-2.0.1.gh.tar.gz 1705881 BLAKE2B a59ca35ae1b15e482ba48d8b94f5aa7ebba4052bf480e7352c95b4537f1089123c68c47eae0eed63c4c54daf48082364b119ecd8e3b0bfa702cdc5ebd093f567 SHA512 4cddc6e139f786521bf55050c08c40978d18996d17234dc812069933bab612b9bf5a99c4ff9e4e8c2fa73221d34ff9c29f7741ec9caac93d5001fa65a51a4b9c
DIST wike-2.1.0.gh.tar.gz 1721063 BLAKE2B 67ed36887fb8cd89100745a13550272c1bf163457c71ed29dbf3c33b6345316be4da98d5bb60e486601b02a3dccb8e12fac64840ef3e23ad830e490a13023a90 SHA512 dff9931874a52dd08093ea4c34dd86e317511b9ec698026277c8929965342406ecdcf711f3c89755403827b13758d8fe445352ec0471f25181817fa4312a6588

View File

@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit python-single-r1 meson xdg gnome2-utils
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hugolabe/Wike.git"
else
MY_PN="Wike"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/hugolabe/Wike/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Wikipedia reader for GNOME"
HOMEPAGE="https://github.com/hugolabe/Wike"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
')
gui-libs/gtk:4
net-libs/webkit-gtk:6
"
src_install() {
meson_src_install
python_optimize
python_fix_shebang "${D}/usr/bin/wike"
}
pkg_postinst() {
xdg_icon_cache_update
gnome2_schemas_update
}
pkg_postrm() {
xdg_icon_cache_update
gnome2_schemas_update
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_COMPAT=( python3_{10..12} )
inherit python-single-r1 meson xdg gnome2-utils
@ -33,7 +33,12 @@ RDEPEND="
gui-libs/gtk:4
net-libs/webkit-gtk:6
"
BDEPEND=""
src_install() {
meson_src_install
python_optimize
python_fix_shebang "${D}/usr/bin/wike"
}
pkg_postinst() {
xdg_icon_cache_update