app-text/wike: add 2.0.0
This commit is contained in:
parent
1c54bd01b1
commit
ddc78b0429
@ -1 +1,2 @@
|
||||
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
|
||||
|
46
app-text/wike/wike-2.0.0.ebuild
Normal file
46
app-text/wike/wike-2.0.0.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
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
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -30,6 +30,8 @@ RDEPEND="
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
')
|
||||
gui-libs/gtk:4
|
||||
net-libs/webkit-gtk:6
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
@ -37,3 +39,8 @@ pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user