net-misc/starfish: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-09 15:14:46 +05:00
parent e6cb33a237
commit ec7f68bcd3
3 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST starfish-1.2.0.tar.gz 1104871 BLAKE2B 1d1748eb5ccdcf083ee093a7f3ada78327e84bafbfaea990a85723b30da6633036f90005ab255c2d947e1fc202ca25ed7f9ebc592dac16ad2a16481dfc069b6b SHA512 68680f3dd2be36d7b43ed7e127f1e9480d4d9ad5e1f71354337d90163e3818fbcdabc9b02176807422bd1cbf581fabd2e3fba58a2f2ab22fa2667d2af08417e4

View File

@@ -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>

View File

@@ -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
}