aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMaria Keating <maria@mariakeating.com>2022-04-28 01:43:27 +0800
committerMaria Keating <maria@mariakeating.com>2022-04-28 01:43:27 +0800
commit16e304842a76edfcd6d099f4017734cc8529caab (patch)
tree7688d0843219cc1f564b37db4305cdbc93221c86 /net-im
parentsys-libs/solo-udev-rules: Update URL in metadata.xml (diff)
downloadguru-16e304842a76edfcd6d099f4017734cc8529caab.tar.gz
guru-16e304842a76edfcd6d099f4017734cc8529caab.tar.bz2
guru-16e304842a76edfcd6d099f4017734cc8529caab.zip
net-im/chatterino: initial import
Signed-off-by: Maria Keating <maria@mariakeating.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/chatterino/Manifest9
-rw-r--r--net-im/chatterino/chatterino-2.3.5.ebuild55
-rw-r--r--net-im/chatterino/metadata.xml8
3 files changed, 72 insertions, 0 deletions
diff --git a/net-im/chatterino/Manifest b/net-im/chatterino/Manifest
new file mode 100644
index 000000000..3f63595df
--- /dev/null
+++ b/net-im/chatterino/Manifest
@@ -0,0 +1,9 @@
+DIST chatterino-2.3.5.tar.gz 1753250 BLAKE2B 0f723439d582af3d1cf386f186b1a71c93efab4c3edebd1f2cccc94cff2876a91087ced264a065233448a96be80df1071e4ae8f01ac021dea4a1aa65a9860cac SHA512 b3c28dea751bb6e7f9b44dfcc34d508ac89528a46c72f863957149519f2c229822165a073c3004baa1347dc0a78d7deec37dd0a1dd6f9674209d4a72427a823f
+DIST libcommuni-a7b32cd.tar.gz 477832 BLAKE2B 97c9f2bb01153220466a6b82e576a80acb733e866817c3add0f5206d131a5f1e43889a7b89253f7648ac035839e261fdab6ff7de13e83f2633be96901aa2340d SHA512 66369c1650b0c3f91cceb3645c5cbcec9ae3bc002a16bb9a54d85b4042eac90c324bff44d037512e4ad67919bef77ba4aebdb368fd484c901aacd0049aa4b837
+DIST qtkeychain-de95462.tar.gz 45283 BLAKE2B cee78a9afed2c9bbea664b723264fdf67fee555b5cc20189bd51acb69e025749e5adffa3cb4325d2ffbd3947717029677a80ab2bd1f90ebca970b3b64702d1a9 SHA512 563c8a5a931cecb8982d8c5d8e196f77a61953539a3b5f0ebe83de243ac1c7748c15b656cbfb4d7343be121dd55986da225e20c126779ec218d14a03c6b5a722
+DIST rapidjson-d87b698.tar.gz 1057391 BLAKE2B 37364a1e1ac33ed3b4751dd8826d9f0af237d2402c686937e185ea32819ea2e3c03bff3846ccccb3472ae4d9bf310cf5fdd7162f7daa53b12efeb49cdcd323ab SHA512 1770668c954e1bfa40da3956ccf2252703d2addb058bb8c0bf579abac585262452d0e15dcfed9ac2fa358c0da305d706226fdab8310b584017aba98e4f31db4f
+DIST sanitizers-cmake-99e159e.tar.gz 7339 BLAKE2B e600886c9afed2681ea7ad5fd9900af7d3f98a7d96291af7c9ef648be438d149e86ee143f3fa5af0dee08457008ce66be43177adcac79401ef025ddd0d8d40fe SHA512 61df4641f3dbeca38cff44336df6fcea75d02d97135a677df51a02353b5580a96dd77af268bd42944afe36a58512fd948200098ea96a41d20ec503fc33a69421
+DIST serialize-7d37cbf.tar.gz 9033 BLAKE2B 4de939d3850113aed18b3ef2d1915bc97d068abfcdbf7e1f97a881a2cefa0a46dca9dcec91392845b8caef44d05266b2c2b3684407d013f67cbdd79ab78a83ee SHA512 14b7abd15b2bb2357071d4be1d92079a610554d6da48f6f53234da81f116cf9f2db2c84ae197f779f499e53dab79db139b8191f8f4821308f8fe17079d3e05e1
+DIST settings-04792d8.tar.gz 111204 BLAKE2B 190e93cb2deeab5c261a72e71509edbb8b334461648e7a8b75d08e6ed65d988e539cf28e6d575c880b2dba549d35cf2a5a66351ea4999324e4061d3e92cc844f SHA512 5df5cefa950290b8cb96c8ddc884dd8b8e119161b8949ced4fd56edb8602616b29067c6a2aa6b86eb54628bf5c64621641a07cba600609a8a51abd88e1c72395
+DIST signals-25e4ec3.tar.gz 10063 BLAKE2B 58bbaaaf9685d2b47f60fd327b72bb49cfb7374809cf3c29bb345badece7c2c0d315e6798fb73ae74d903512300d1f1067742cb757f9b2adf95dfdc3501255bb SHA512 9f7e9212b3c9fcf1c490303d404b9fe92a49e161d71b41b1b262eaf4329064672b61884a4217466f8c4670b79c68f1a998c7fe9f837218fb23a383d9f2f4c4e0
+DIST websocketpp-1b11fd3.tar.gz 701611 BLAKE2B c55b9f6d5e0ea22b4dcbe7eafb96a920e77181417366fc89685ea735ae482de8286a88e6c0b4e1f614a2cd392bc290fb8bab5c296ff4c2ee5a8976fd1e91e62d SHA512 7ff63bac4c00a34d4db92dd0318dc38981f7ee2f45fcc24d6bde4baac2e099e90d96b26ec2c9f958d2ea44845b2cbcff02a2e376d0ee10975b02b7d26fc3d3bc
diff --git a/net-im/chatterino/chatterino-2.3.5.ebuild b/net-im/chatterino/chatterino-2.3.5.ebuild
new file mode 100644
index 000000000..6a41ed346
--- /dev/null
+++ b/net-im/chatterino/chatterino-2.3.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature
+
+DESCRIPTION="Chat client for https://twitch.tv"
+HOMEPAGE="https://chatterino.com/"
+SRC_URI="https://github.com/Chatterino/chatterino2/archive/v${PV}.tar.gz -> ${P}.tar.gz
+https://github.com/Chatterino/libcommuni/archive/a7b32cd.tar.gz -> libcommuni-a7b32cd.tar.gz
+https://github.com/Chatterino/qtkeychain/archive/de95462.tar.gz -> qtkeychain-de95462.tar.gz
+https://github.com/Tencent/rapidjson/archive/d87b698.tar.gz -> rapidjson-d87b698.tar.gz
+https://github.com/zaphoyd/websocketpp/archive/1b11fd3.tar.gz -> websocketpp-1b11fd3.tar.gz
+https://github.com/pajlada/serialize/archive/7d37cbf.tar.gz -> serialize-7d37cbf.tar.gz
+https://github.com/pajlada/signals/archive/25e4ec3.tar.gz -> signals-25e4ec3.tar.gz
+https://github.com/pajlada/settings/archive/04792d8.tar.gz -> settings-04792d8.tar.gz
+https://github.com/arsenm/sanitizers-cmake/archive/99e159e.tar.gz -> sanitizers-cmake-99e159e.tar.gz
+"
+
+S=${WORKDIR}/chatterino2-${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtdbus:5
+ dev-libs/openssl:="
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die
+ ln -sr ../libcommuni-* ./lib/libcommuni || die
+ ln -sr ../qtkeychain-* ./lib/qtkeychain || die
+ ln -sr ../rapidjson-* ./lib/rapidjson || die
+ ln -sr ../websocketpp-* ./lib/websocketpp || die
+ ln -sr ../serialize-* ./lib/serialize || die
+ ln -sr ../signals-* ./lib/signals || die
+ ln -sr ../settings-* ./lib/settings || die
+ ln -sr ../sanitizers-cmake-* ./cmake/sanitizers-cmake || die
+ cmake_src_prepare
+}
+
+src_install() {
+ cmake_src_install
+ mv "${D}"/usr/share/icons/hicolor/256x256/apps/{com.chatterino.,}chatterino.png || die
+}
+
+pkg_postinst() {
+ optfeature "for opening streams in a local video player" net-misc/streamlink
+}
diff --git a/net-im/chatterino/metadata.xml b/net-im/chatterino/metadata.xml
new file mode 100644
index 000000000..a1d5c0089
--- /dev/null
+++ b/net-im/chatterino/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Maria Keating</name>
+ <email>maria@mariakeating.com</email>
+ </maintainer>
+</pkgmetadata>