aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-12-20 14:08:07 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-12-20 14:08:07 +0500
commitc6824a7b4a4269227f57ddaeb20d5ee0b44a06a5 (patch)
tree70ecd1e289f9691e05aa69563365432f595a86ea /net-client
parentnet-client/kristall: rename net-misc/kristall (diff)
downloadguru-c6824a7b4a4269227f57ddaeb20d5ee0b44a06a5.tar.gz
guru-c6824a7b4a4269227f57ddaeb20d5ee0b44a06a5.tar.bz2
guru-c6824a7b4a4269227f57ddaeb20d5ee0b44a06a5.zip
net-client/starfish: rename net-misc/starfish
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-client')
-rw-r--r--net-client/starfish/Manifest2
-rw-r--r--net-client/starfish/metadata.xml28
-rw-r--r--net-client/starfish/starfish-1.2.0.ebuild58
-rw-r--r--net-client/starfish/starfish-1.3.1.ebuild59
4 files changed, 147 insertions, 0 deletions
diff --git a/net-client/starfish/Manifest b/net-client/starfish/Manifest
new file mode 100644
index 000000000..bc2d47d7c
--- /dev/null
+++ b/net-client/starfish/Manifest
@@ -0,0 +1,2 @@
+DIST starfish-1.2.0.tar.gz 1104871 BLAKE2B 1d1748eb5ccdcf083ee093a7f3ada78327e84bafbfaea990a85723b30da6633036f90005ab255c2d947e1fc202ca25ed7f9ebc592dac16ad2a16481dfc069b6b SHA512 68680f3dd2be36d7b43ed7e127f1e9480d4d9ad5e1f71354337d90163e3818fbcdabc9b02176807422bd1cbf581fabd2e3fba58a2f2ab22fa2667d2af08417e4
+DIST starfish-1.3.1.tar.gz 1093518 BLAKE2B 320f39f426c0430e026e56dd111cff4569f47f1793feecc4ab2b29823b78a8fd78ca3b246f0bceea8d15851b51d17b45ec42d4731f3da9e28c6162eaf46fea54 SHA512 77b4976b649820a58430a69e1fde7d34a5cce8af4ebe8de5704a63dce5b70148c34cfaf35bd88b0acb8d08c4dda0c57916b61a8aef2ac567393f70bdead31cdd
diff --git a/net-client/starfish/metadata.xml b/net-client/starfish/metadata.xml
new file mode 100644
index 000000000..72d71d432
--- /dev/null
+++ b/net-client/starfish/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">starfish-app/Starfish</remote-id>
+ <maintainer>
+ <email>josip.antolis@protonmail.com</email>
+ <name>Josip Antoliš</name>
+ </maintainer>
+</upstream>
+<longdescription>
+ Surf the Geminispace
+
+ Browse Gemini sites on the small internet. Read personal stories and
+ fictional tales. Enjoy written words without flashy distractions. Keep
+ your browsing private and stay safe from tracking.
+
+ Starfish is a begginer-friendly desktop client for Gemini protol. It
+ supports all core features of Gemini, such as beautiful rendering of
+ text based content and encrypted communication with servers. On top of
+ those Starfish offers comforts of modern browsers, like local browsing
+ history, tabs and favorites.
+</longdescription>
+</pkgmetadata>
diff --git a/net-client/starfish/starfish-1.2.0.ebuild b/net-client/starfish/starfish-1.2.0.ebuild
new file mode 100644
index 000000000..e9b678774
--- /dev/null
+++ b/net-client/starfish/starfish-1.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils meson vala xdg
+
+DESCRIPTION="A Gemini browser for elementary OS"
+HOMEPAGE="https://github.com/starfish-app/Starfish"
+SRC_URI="https://github.com/${PN}-app/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN^}-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-libs/granite
+ dev-libs/libgee:=
+ gui-libs/libhandy:1
+ net-libs/gnutls:=
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+"
+RDEPEND="${DEPEND}"
+BDEPEND="$(vala_depend)"
+
+src_prepare() {
+ default
+ vala_src_prepare
+
+ sed "s/'doc', 'starfish'/'doc', '${PF}'/" -i meson.build || die
+ sed \
+ -e "s:{{MESON_INSTALL_PREFIX}}:${EPREFIX}/usr:g" \
+ -e "s:doc/starfish:doc/${PF}:g" \
+ -i data/gschema.xml || die
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+ gnome2_schemas_update
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_gconf_uninstall
+ gnome2_schemas_update
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_postrm
+}
diff --git a/net-client/starfish/starfish-1.3.1.ebuild b/net-client/starfish/starfish-1.3.1.ebuild
new file mode 100644
index 000000000..7061e4a0f
--- /dev/null
+++ b/net-client/starfish/starfish-1.3.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils meson vala xdg
+
+DESCRIPTION="A Gemini browser for elementary OS"
+HOMEPAGE="https://github.com/starfish-app/Starfish"
+SRC_URI="https://github.com/${PN}-app/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN^}-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ app-text/gtkspell:3=[vala]
+ dev-libs/glib:2
+ dev-libs/granite
+ dev-libs/libgee:=
+ gui-libs/libhandy:1
+ net-libs/gnutls:=
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+"
+RDEPEND="${DEPEND}"
+BDEPEND="$(vala_depend)"
+
+src_prepare() {
+ default
+ vala_src_prepare
+
+ sed "s/'doc', 'starfish'/'doc', '${PF}'/" -i meson.build || die
+ sed \
+ -e "s:{{MESON_INSTALL_PREFIX}}:${EPREFIX}/usr:g" \
+ -e "s:doc/starfish:doc/${PF}:g" \
+ -i data/gschema.xml || die
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+ gnome2_schemas_update
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_gconf_uninstall
+ gnome2_schemas_update
+ gnome2_gdk_pixbuf_update
+ xdg_pkg_postrm
+}