app-text/komikku: new package, add 1.31.0, 9999
The GURU version is no longer maintained, but I do not want to contribute to GURU right now.
This commit is contained in:
parent
a529341b4a
commit
c0c31a68c7
1
app-text/komikku/Manifest
Normal file
1
app-text/komikku/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST komikku-1.31.0.tar.bz2 3403924 BLAKE2B 1c346e42b7077e09a04d524506bb2cd0d69d6b68964c25a710434959bfe8dfc90113be3699588ae7faf910bdf252808dbd00cf7f4cb0941ef4f8f90a2aed5959 SHA512 b36b066bdc52e2544481a582060166c747024def99d142f32e5ffc290bc243541f2cbce7b222fc05483ecca0489ecf6a2c8d8e9401edfb32b1aa3c5e2b68abdd
|
78
app-text/komikku/komikku-1.31.0.ebuild
Normal file
78
app-text/komikku/komikku-1.31.0.ebuild
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2023 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
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/valos/Komikku.git"
|
||||
else
|
||||
MY_PN="${PN^}"
|
||||
MY_P="${MY_PN}-v${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SRC_URI="https://gitlab.com/valos/Komikku/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An online/offline manga reader for GNOME"
|
||||
HOMEPAGE="https://gitlab.com/valos/Komikku"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
>=gui-libs/gtk-4.10:4
|
||||
>=gui-libs/libadwaita-1.3:1[introspection]
|
||||
net-libs/webkit-gtk:6[introspection]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
app-arch/brotli[python,${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/colorthief[${PYTHON_USEDEP}]
|
||||
dev-python/cffi[${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/pure-protobuf[${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="
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
python_fix_shebang "${D}/usr/bin/komikku"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
78
app-text/komikku/komikku-9999.ebuild
Normal file
78
app-text/komikku/komikku-9999.ebuild
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2023 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
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/valos/Komikku.git"
|
||||
else
|
||||
MY_PN="${PN^}"
|
||||
MY_P="${MY_PN}-v${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SRC_URI="https://gitlab.com/valos/Komikku/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An online/offline manga reader for GNOME"
|
||||
HOMEPAGE="https://gitlab.com/valos/Komikku"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
>=gui-libs/gtk-4.10:4
|
||||
>=gui-libs/libadwaita-1.3:1[introspection]
|
||||
net-libs/webkit-gtk:6[introspection]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
app-arch/brotli[python,${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/colorthief[${PYTHON_USEDEP}]
|
||||
dev-python/cffi[${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/pure-protobuf[${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="
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
python_fix_shebang "${D}/usr/bin/komikku"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
11
app-text/komikku/metadata.xml
Normal file
11
app-text/komikku/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>flewkey@2a03.party</email>
|
||||
<name>Ryan Fox</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">valos/Komikku</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user