aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/chatterino/Manifest7
-rw-r--r--net-im/chatterino/chatterino-2.5.1.ebuild75
-rw-r--r--net-im/chatterino/metadata.xml2
3 files changed, 83 insertions, 1 deletions
diff --git a/net-im/chatterino/Manifest b/net-im/chatterino/Manifest
index 089139b89..bff0af293 100644
--- a/net-im/chatterino/Manifest
+++ b/net-im/chatterino/Manifest
@@ -1,10 +1,17 @@
DIST chatterino-2.4.6.tar.gz 1899260 BLAKE2B 8527ccf49dec7e1b4c5e7551f8d4d07e309db0744fe736cf033e2b9bcef614f4cae7066f6a5b1b8eca83f2e0bdf4c9847035a3ffc1fbfde14442aa7e35d3d47f SHA512 6bd42cd88e144ca29cf85e1ad86dc06843140fe3841e4304fdb8e3d6ecb5e70739d88e190cca05e4608966c9b5817ff176c34d430d29a024368fbcd7889392b6
+DIST chatterino-2.5.1.tar.gz 2054772 BLAKE2B d7b4f29bbec67403787d2ca7c3870fcab59f9f7ca1ce0daa08bcb12df774c2990f8146793589026f2e6e0fb982e1939cafcbbca66ed42113a0cc562e5cdd8c00 SHA512 29595bbbd161783deeb6159188f9271565a86907158178dbfd5ba576c1896dac708e65785d671673fb071fc00047e918a3b7066f57ee2b370d6b21ef4c106f2e
DIST libcommuni-030710a.tar.gz 477847 BLAKE2B 5da62609ee0551f8aa722fa6da5427297dc960de87733a88d54dc75e9db061664bfa42955b1cb30bb27ebb1668138c80bd6e8f1f932ecec096dd1ffb026557b8 SHA512 4a056c6c69b5a6b1f29118034f7769de68f06c99549714272f515182e118bb744ba43956795ec42f1b283c89c30db53b19ac27988c31d185132ce71741e3b062
DIST magic_enum-e1a68e9.tar.gz 172016 BLAKE2B 08742840e395c125e8ab06039dfe6d0a98085660ae6c8aa560be4d48672d8123f0219dfddda3000236100331b051d06b0570ee30ee671b90dd96678f5f701161 SHA512 76a88937e713d0560f915d6ea68b03bdca0acb81d5644b02e25fd0ed3427cddcad93634d095c9b002d0f97589c5bd1b26cc9a56ca9ccf9f6d1b3d46866b8c110
+DIST magic_enum-e55b9b5.tar.gz 198416 BLAKE2B a0cfc5aa1c45f69664d69c809d3c561a52641f9764f6e9d558a03ef1581f244b9ecf069d366bb9889db9fa3591fe2698cce2d5a3151d2217cd8c21497cf5391f SHA512 466ba8e6e9122e55fb49b1a842b3f88ddc5faa5ea096df445dec1feba0c9db09748e735874b7839bf5f822f39480fa556a6bfaac0855c065df23b00ce45c5b3d
DIST miniaudio-3898fff.tar.gz 1454527 BLAKE2B b891ad87adbdf330db9c29a9ae522651c8c2047e2726f921a6de3d6c06a2fb9ccdd572687f4f725dcb0f3cab888584688ae2a55c23e3e6375d834e693d6f7b7c SHA512 c1d6c5c846e648b975dae34eea437ba4b4b999f6ba64298171853abcdc2649b29fb55789dd8332835e9f5089274ebe6c7c6f12f42f146e60cb56b6a24960c652
+DIST miniaudio-4a5b74b.tar.gz 1469710 BLAKE2B 17d8d94cb0ae7aa4308f7cade6f0c0732be80645b8b92d16ae44cc5de5c4181b29ce084b8ff85f7f02f33259f53e6d02164ddc8b6e2384a6c7eb12d194a090d7 SHA512 d9328238e738280fccc34ae0d6d6ac68a171a30aef53defd5d74b6991b1c8dd63d0d433ede52d50f191984cefdabf414913b3f458d39a4fe16e0ade4beefaf7a
DIST rapidjson-d87b698.tar.gz 1057391 BLAKE2B 37364a1e1ac33ed3b4751dd8826d9f0af237d2402c686937e185ea32819ea2e3c03bff3846ccccb3472ae4d9bf310cf5fdd7162f7daa53b12efeb49cdcd323ab SHA512 1770668c954e1bfa40da3956ccf2252703d2addb058bb8c0bf579abac585262452d0e15dcfed9ac2fa358c0da305d706226fdab8310b584017aba98e4f31db4f
+DIST sanitizers-cmake-3f0542e.tar.gz 7451 BLAKE2B 2ca72e3ecda02d4f0eed05be0954af02706425e94626d5a4b9d897968e35c341413171e2388ece7e83dad9eb7b5e2c2f73811ea8db8fa33b0bce6d5dd53550b7 SHA512 10cd4eeb3bbb7bf5c6f5cf8b5bc6a531b1ec8bdc147583d8de028a3e4b8b9d0e258aad81f02135267ce8f7d87b30999dedd25b44c0754b5c31e00d8481cd412f
DIST sanitizers-cmake-c3dc841.tar.gz 7433 BLAKE2B 4a49004309460a62a26ece8f1964106a0fd1d3790274f38d94c2b3a05fbb6ca32e2f6864bb5b93a4607d0e7b2e980b3952378adddd852ecfa79287899624443b SHA512 ef8704d1b47fb3b36f8101f0f0df40b6c4235ea657edeedce4d641e5fe68503639af457e21aa75e5eaa559aea440edf5dd63a643fd09551ba503c5324cc9b569
+DIST serialize-17946d6.tar.gz 10771 BLAKE2B 496e2d8b742d26739e5f7dd534b29bf5f9a942ff25bf8952e936e7d0fbd737683ac825341b8986e58452774d77be147ecb3da8eab829525267fff3ec1d35eeb0 SHA512 2ea660b6f164b8ba5b419e8381272dca507fcab09434421915a9b4be5e95cba08e72e708f16b3b22f5e0cae6dab2ef332d0a7976c287f048710e328d9a8913be
DIST serialize-bbf0a34.tar.gz 10279 BLAKE2B c814cdcdac5143cdf7b8bc3d64f28b5c7f10cd809e5115f7b07f7c3ab413930dc57bb29c6af51c7c362a487d0a69fa74c7025e16621d80a011c71218d2219bd5 SHA512 8c1b44c6fbfa1c30f25cef842e36486d1e9e0a50ce13f82e76e6539f64f44db993a51091d7e9c34c3a0f7530097ef76b34079bff06ad74b6bd691593f7de5e50
+DIST settings-70fbc72.tar.gz 43407 BLAKE2B 65a5dbb8722788c7b3f7a7312b145405c61f95d1f79ba7d433a01fe4a54f15fe12ecb347944ad5ce28fb0777bc57153c52f0a31bf0c4f3c9b6d92c56192a6124 SHA512 811dabaf1c90f1a614c1df8b7dbe791a16e658cbe36dc56b108006ee0a14d8b4ca58752e5e2fe088fe0a8b59966a93c9de5d5c0a172ee1556ba01326e6a6f4fc
DIST settings-f168c09.tar.gz 35679 BLAKE2B f6fae9c67d845eee736c7589bb7c9b644b17b8e4dc23a0372e3e220ec92db102443dd94d65b19e01986c2316b20fa37329d9dab547c2b85368e298f4dd511d0f SHA512 8538255dffe41133ddd92ef780313b8ce91aa237f0061c100139a63354551d2800845ab5806b4e93f34178ad45e08f1126b3f5404b5eca78ef87856bb4de1e4c
DIST signals-6561aa5.tar.gz 14645 BLAKE2B 35302a32756dc9c007a980689e52fb3a59204e59f147012f700073b5bea01f820d8983ce45273eb987d271676e8c8d64430d296e789c332afcb3c190d0c7a54a SHA512 a332f947a3d669843ed9d4b3a9d9f7d071e9702c74b8fe80f0081941c26e2bfdbb8d9a273530f744930e22138eed4f811206e2f6bb6d3e8460ccd276bc5e03bc
+DIST signals-d067706.tar.gz 14543 BLAKE2B 973979e0470582d3bf54689beb5e2071dd130d21121ff2e80cfeb63221f78c28d7dda9177848e2dd8366c44f734d892d1aaab22238a383517109b9d4f2ce58aa SHA512 5489151f2d036dc8834346f902cf740e1b1b6823d385d2bc7c5d715af6911ade9ee383c591c48bdb8bdfca70890f48e8333ee39c6319d3871239f99d34a51cc9
DIST websocketpp-b9aeec6.tar.gz 716277 BLAKE2B 4e43e5a1c49215d5cdbe64a526dcfd31637c0b463a74b7b49857fdcd0a2e1e7ca3060b1ff3043df6ae1f2445d55e14cc3a5ef40b11392c74e5e3e1ae37c23817 SHA512 5449a10086c1b80d0d2865bac90539f64613156050816e97a2da1a2bc1f6710ac72305747e839a13e49b2ce1b25610480c110743aef60d7d148f2c39339289c4
diff --git a/net-im/chatterino/chatterino-2.5.1.ebuild b/net-im/chatterino/chatterino-2.5.1.ebuild
new file mode 100644
index 000000000..0ad49d100
--- /dev/null
+++ b/net-im/chatterino/chatterino-2.5.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature xdg-utils
+
+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/030710a.tar.gz -> libcommuni-030710a.tar.gz
+ https://github.com/Neargye/magic_enum/archive/e55b9b5.tar.gz -> magic_enum-e55b9b5.tar.gz
+ https://github.com/mackron/miniaudio/archive/4a5b74b.tar.gz -> miniaudio-4a5b74b.tar.gz
+ https://github.com/Tencent/rapidjson/archive/d87b698.tar.gz -> rapidjson-d87b698.tar.gz
+ https://github.com/pajlada/serialize/archive/17946d6.tar.gz -> serialize-17946d6.tar.gz
+ https://github.com/pajlada/settings/archive/70fbc72.tar.gz -> settings-70fbc72.tar.gz
+ https://github.com/pajlada/signals/archive/d067706.tar.gz -> signals-d067706.tar.gz
+ https://github.com/zaphoyd/websocketpp/archive/b9aeec6.tar.gz -> websocketpp-b9aeec6.tar.gz
+ https://github.com/arsenm/sanitizers-cmake/archive/3f0542e.tar.gz -> sanitizers-cmake-3f0542e.tar.gz
+"
+
+S=${WORKDIR}/chatterino2-${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/openssl:=
+ dev-libs/qtkeychain:=
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+src_prepare() {
+ rmdir --ignore-fail-on-non-empty ./lib/*/ ./cmake/*/ || die
+ ln -sr ../libcommuni-* ./lib/libcommuni || die
+ ln -sr ../magic_enum-* ./lib/magic_enum || die
+ ln -sr ../miniaudio-* ./lib/miniaudio || die
+ ln -sr ../rapidjson-* ./lib/rapidjson || die
+ ln -sr ../serialize-* ./lib/serialize || die
+ ln -sr ../settings-* ./lib/settings || die
+ ln -sr ../signals-* ./lib/signals || die
+ ln -sr ../websocketpp-* ./lib/websocketpp || die
+ ln -sr ../sanitizers-cmake-* ./cmake/sanitizers-cmake || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_SYSTEM_QTKEYCHAIN=ON
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ optfeature "for opening streams in a local video player" net-misc/streamlink
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/net-im/chatterino/metadata.xml b/net-im/chatterino/metadata.xml
index 45b4d2f37..002be821d 100644
--- a/net-im/chatterino/metadata.xml
+++ b/net-im/chatterino/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
- <remote-id type="github">pajlada/signals</remote-id>
+ <remote-id type="github">Chatterino/chatterino2</remote-id>
</upstream>
</pkgmetadata>