commit:     dc77fdff4a8f1450809508443c20f2c922e9f796
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Mar 19 23:40:55 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Mar 19 23:41:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc77fdff

gnome-extra/wike: new package, add 3.0.0

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 gnome-extra/wike/Manifest          |  1 +
 gnome-extra/wike/metadata.xml      | 34 +++++++++++++++++++++++++
 gnome-extra/wike/wike-3.0.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 87 insertions(+)

diff --git a/gnome-extra/wike/Manifest b/gnome-extra/wike/Manifest
new file mode 100644
index 0000000000..73d6b6d919
--- /dev/null
+++ b/gnome-extra/wike/Manifest
@@ -0,0 +1 @@
+DIST wike-3.0.0.gh.tar.gz 4322817 BLAKE2B 
4a62be67c3edc46b0e732cf4b0d405c4a715ae371e304399c00b17f2f80b061e14867ae630cb71aa3137884408fe15a571ae7caa56dd2bc0f23399ac958b6e57
 SHA512 
7e5c268135fee05d225c8e281c56c70b157c5c395f0b0bca2b8e68f585261d6573b118a4fc6eee55997d9ec2ab12a3c61b5e0649c896610a39adb1e065ffc30c

diff --git a/gnome-extra/wike/metadata.xml b/gnome-extra/wike/metadata.xml
new file mode 100644
index 0000000000..6e5f3f58b1
--- /dev/null
+++ b/gnome-extra/wike/metadata.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Julien Roy</name>
+               <email>[email protected]</email>
+       </maintainer>
+       <longdescription>
+Wike is a Wikipedia reader for the GNOME Desktop. Provides access to all the 
content of this online encyclopedia in a native application, with a simpler and 
distraction-free view of articles.
+
+Features
+
+Open multiple articles in tabs
+More than 300 languages
+Search suggestions
+Bookmarks management
+History of recent articles
+Table of contents
+Text search in articles
+Print articles
+Light, dark and sepia themes
+Desktop and mobile layouts
+GNOME Shell search integration
+       </longdescription>
+       <upstream>
+               <maintainer>
+                       <name>Hugo Olabera</name>
+                       <email>[email protected]</email>
+               </maintainer>
+               <bugs-to>https://github.com/hugolabe/Wike/issues</bugs-to>
+               <doc>https://hugolabe.github.io/Wike/</doc>
+               <remote-id type="github">hugolabe/wike</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/gnome-extra/wike/wike-3.0.0.ebuild 
b/gnome-extra/wike/wike-3.0.0.ebuild
new file mode 100644
index 0000000000..7151e44173
--- /dev/null
+++ b/gnome-extra/wike/wike-3.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+inherit gnome2-utils meson python-single-r1 xdg
+
+MY_PN="Wike"
+DESCRIPTION="Wikipedia Reader for the GNOME Desktop"
+HOMEPAGE="https://github.com/hugolabe/Wike";
+SRC_URI="https://github.com/hugolabe/${MY_PN}/archive/${PV}/${P}.tar.gz -> 
${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       dev-python/pygobject
+       dev-python/requests
+       gui-libs/gtk
+       gui-libs/libadwaita
+       net-libs/libsoup:3.0
+       net-libs/webkit-gtk:6
+       x11-libs/pango
+       x11-themes/hicolor-icon-theme
+"
+BDEPEND="
+       dev-libs/appstream-glib
+       dev-libs/glib:2
+       sys-devel/gettext
+"
+
+src_install() {
+       meson_src_install
+       python_fix_shebang "${D}/usr/bin/${PN}"
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}

Reply via email to