diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-12-20 14:07:23 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-12-20 14:07:23 +0500 |
commit | 23faa45b59ceebfd0172d76ac5275c834f71df96 (patch) | |
tree | 418386a9c3aebb00d17ff6a073fc5c993d853df5 /net-client | |
parent | net-client/lagrange: rename net-misc/lagrange (diff) | |
download | guru-23faa45b59ceebfd0172d76ac5275c834f71df96.tar.gz guru-23faa45b59ceebfd0172d76ac5275c834f71df96.tar.bz2 guru-23faa45b59ceebfd0172d76ac5275c834f71df96.zip |
net-client/kristall: rename net-misc/kristall
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'net-client')
-rw-r--r-- | net-client/kristall/Manifest | 1 | ||||
-rw-r--r-- | net-client/kristall/files/kristall-0.3_add_flags.patch | 27 | ||||
-rw-r--r-- | net-client/kristall/kristall-0.3-r1.ebuild | 35 | ||||
-rw-r--r-- | net-client/kristall/kristall-9999.ebuild | 33 | ||||
-rw-r--r-- | net-client/kristall/metadata.xml | 15 |
5 files changed, 111 insertions, 0 deletions
diff --git a/net-client/kristall/Manifest b/net-client/kristall/Manifest new file mode 100644 index 000000000..a597b1137 --- /dev/null +++ b/net-client/kristall/Manifest @@ -0,0 +1 @@ +DIST kristall-0.3.tar.gz 7535712 BLAKE2B 3e00243cf455ad810e8d51333b63186e637de1c292a116dbb4273825c51b1c1bf1921bfd243acb97e13dc201b3dcce7240f3c66368b66b607e5c207a2d901934 SHA512 21c102e25235f3a7c1a4128d84215a2444603b4b9bc680e94100148d143dc50744bb86450c22b8848453c5e183ae4708a1594240486951614d4e4af2706cd2e8 diff --git a/net-client/kristall/files/kristall-0.3_add_flags.patch b/net-client/kristall/files/kristall-0.3_add_flags.patch new file mode 100644 index 000000000..2fa9d2ce8 --- /dev/null +++ b/net-client/kristall/files/kristall-0.3_add_flags.patch @@ -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 + diff --git a/net-client/kristall/kristall-0.3-r1.ebuild b/net-client/kristall/kristall-0.3-r1.ebuild new file mode 100644 index 000000000..0d5efcd77 --- /dev/null +++ b/net-client/kristall/kristall-0.3-r1.ebuild @@ -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 +} diff --git a/net-client/kristall/kristall-9999.ebuild b/net-client/kristall/kristall-9999.ebuild new file mode 100644 index 000000000..e255fe2b1 --- /dev/null +++ b/net-client/kristall/kristall-9999.ebuild @@ -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 +} diff --git a/net-client/kristall/metadata.xml b/net-client/kristall/metadata.xml new file mode 100644 index 000000000..bd303c610 --- /dev/null +++ b/net-client/kristall/metadata.xml @@ -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> |