mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
app-text/komikku: add 1.72.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
d02551ce51
commit
5db97c513c
@ -1 +1,2 @@
|
||||
DIST komikku-1.70.0.tar.gz 5006221 BLAKE2B 640712432ba6eae9f022ba8a530c72c7cf4e2b39451e7d2296129c8a349fbe9ee411c28415e7b835c6f148c105436933f4bdab639d4d82fed88af6bd4523ae21 SHA512 8b0926e446a6b8127018b3ff35607ce9a9fd65acb86fec1159e69b2d4e1f81997b55b013a36ba0dcf9bfe9d15b9d5f896138a446f89201dc3d23c79e04dc68fe
|
||||
DIST komikku-1.72.0.tar.gz 4392472 BLAKE2B 6fad446e395e2cf1104e0807fab0cb73b3bedb754d927c5716d18dcb7fdb73877bf37122b9dff43e98dd21b1bf04e09a91415d9b48b129c591d11caa72d62333 SHA512 3df8eb6c82b67dcae31c83df97e8956d4a25701a6ded0cf35c1b1eeb8229ebb2c5a0be41f9defafb4e550d576ba8fe0fb25fe77766ca8a35fe535b6f165a7296
|
||||
|
94
app-text/komikku/komikku-1.72.0.ebuild
Normal file
94
app-text/komikku/komikku-1.72.0.ebuild
Normal file
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_REQ_USE="sqlite(+),ssl(+)"
|
||||
DISTUTILS_USE_PEP517=no
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit distutils-r1 meson gnome2-utils xdg
|
||||
|
||||
DESCRIPTION="Manga reader for GNOME"
|
||||
HOMEPAGE="https://apps.gnome.org/Komikku/"
|
||||
SRC_URI="https://codeberg.org/valos/Komikku/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="CC-BY-4.0 GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="test"
|
||||
# Depend on a random server that may or may not be accessible.
|
||||
#PROPERTIES="test_network"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
>=gui-libs/gtk-4.12:4
|
||||
>=gui-libs/libadwaita-1.6:1[introspection]
|
||||
net-libs/webkit-gtk:6[introspection]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-libs/libnotify[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
app-arch/brotli[python,${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/colorthief[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/dateparser[${PYTHON_USEDEP}]
|
||||
dev-python/emoji[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/natsort[${PYTHON_USEDEP}]
|
||||
dev-python/piexif[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pillow-heif[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/rarfile[compressed,${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/blueprint-compiler
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pytest-steps[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# fix broken shebang
|
||||
sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake setup
|
||||
emake develop
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user