net-client/kristall: rename net-misc/kristall

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-20 14:07:23 +05:00
parent 15084c1a25
commit 23faa45b59
6 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST kristall-0.3.tar.gz 7535712 BLAKE2B 3e00243cf455ad810e8d51333b63186e637de1c292a116dbb4273825c51b1c1bf1921bfd243acb97e13dc201b3dcce7240f3c66368b66b607e5c207a2d901934 SHA512 21c102e25235f3a7c1a4128d84215a2444603b4b9bc680e94100148d143dc50744bb86450c22b8848453c5e183ae4708a1594240486951614d4e4af2706cd2e8

View File

@@ -0,0 +1,27 @@
From 9cec33fdbd7c7bb983d4562ccbb08adf5d7194ec Mon Sep 17 00:00:00 2001
From: tastytea <tastytea@tastytea.de>
Date: Fri, 9 Apr 2021 19:54:34 +0200
Subject: [PATCH] Add *FLAGS.
---
src/kristall.pro | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/kristall.pro b/src/kristall.pro
index 2a8b21e..4193c57 100644
--- a/src/kristall.pro
+++ b/src/kristall.pro
@@ -19,6 +19,10 @@ LIBS += -lcrypto
# We need iconv on non-linux platforms
!linux: LIBS += -liconv
+QMAKE_CFLAGS = $$(CFLAGS)
+QMAKE_CXXFLAGS = $$(CXXFLAGS)
+QMAKE_LFLAGS = $$(LDFLAGS)
+
QMAKE_CFLAGS += -Wno-unused-parameter -Werror=return-type
QMAKE_CXXFLAGS += -Wno-unused-parameter -Werror=return-type
--
2.26.3

View File

@@ -0,0 +1,35 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg
DESCRIPTION="Visual cross-platform gemini browser"
HOMEPAGE="https://github.com/MasterQ32/kristall"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MasterQ32/kristall.git"
else
SRC_URI="https://github.com/MasterQ32/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsvg:5
dev-qt/qtnetwork:5[ssl]
"
DEPEND="${RDEPEND}"
BDEPEND="dev-qt/qtcore" # qmake
PATCHES=( "${FILESDIR}/${PN}-0.3_add_flags.patch" )
src_install() {
emake DESTDIR="${D}" INSTALL="install -D" PREFIX="${EPREFIX}/usr" install
einstalldocs
}

View File

@@ -0,0 +1,33 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg
DESCRIPTION="Visual cross-platform gemini browser"
HOMEPAGE="https://github.com/MasterQ32/kristall"
if [ "${PV}" == "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MasterQ32/kristall.git"
else
SRC_URI="https://github.com/MasterQ32/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsvg:5
dev-qt/qtnetwork:5[ssl]
"
DEPEND="${RDEPEND}"
BDEPEND="dev-qt/qtcore" # qmake
src_install() {
emake DESTDIR="${D}" INSTALL="install -D" PREFIX="${EPREFIX}/usr" install
einstalldocs
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<longdescription lang="en">
Graphical small-internet client for windows, linux, MacOS X and
BSDs. Supports gemini, http, https, gopher, finger.
</longdescription>
<upstream>
<bugs-to>https://github.com/MasterQ32/kristall/issues</bugs-to>
</upstream>
</pkgmetadata>