aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-07-03 19:26:46 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-07-03 19:27:41 +0900
commit220c3a761ba2afa7e0a3e7884dbd8d29304e7b63 (patch)
tree2519fd6ce64d35901fa1720a83ca8c4034f540c8 /app-text
parentgames-puzzle/xdemineur: fix DEPEND and src_configure issues (diff)
downloadguru-220c3a761ba2afa7e0a3e7884dbd8d29304e7b63.tar.gz
guru-220c3a761ba2afa7e0a3e7884dbd8d29304e7b63.tar.bz2
guru-220c3a761ba2afa7e0a3e7884dbd8d29304e7b63.zip
app-text/komikku: add 1.50.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/komikku/Manifest1
-rw-r--r--app-text/komikku/komikku-1.50.0.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/app-text/komikku/Manifest b/app-text/komikku/Manifest
index 21f605592..3c7889576 100644
--- a/app-text/komikku/Manifest
+++ b/app-text/komikku/Manifest
@@ -1 +1,2 @@
DIST komikku-1.49.0.tar.gz 4922860 BLAKE2B 708f6c57e5023a949d0d225f0370ec477cdd8430f5cd59d309ea3619875cc4b441c065fe33823771223ce099a68f5764d27eaf6a3ab287bf818428a86678a9b6 SHA512 aef5cc7ffb7b165bc7af90fefb6029e75cde348c684862454478fce41c2bcd2308bfbe0d1455bd011011a7cdf3805aacee7a297701c6ab0931c2b5620a454df2
+DIST komikku-1.50.0.tar.gz 4923523 BLAKE2B 5e39e9edc1f47054863c10c39fa7c953cfeca05d115f43600ec2d46f54b1d3b03b8fa9283c00a9a8096e3b32ad82ca5049c29ea7a6eff480e2e44ba7e83488ac SHA512 b62f93798f24b5e57709d4662d9ef7d3efb685ca1ff4c288bec99b8b57d5e20fdd7421d5f637d08cba395bcd6c8457f0e73233afb245e356ba525057b7e9c384
diff --git a/app-text/komikku/komikku-1.50.0.ebuild b/app-text/komikku/komikku-1.50.0.ebuild
new file mode 100644
index 000000000..7af66f6f1
--- /dev/null
+++ b/app-text/komikku/komikku-1.50.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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="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.5: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
+}