60 lines
2.8 KiB
Bash
60 lines
2.8 KiB
Bash
# Template file for 'chatterino2'
|
|
pkgname=chatterino2
|
|
version=2.3.4
|
|
revision=1
|
|
_libcommuni_commit="c613600e6a52e6d3166247a05205cf1c755d4868"
|
|
_serialize_commit="7d37cbfd5ac3bfbe046118e1cec3d32ba4696469"
|
|
_settings_commit="7cf8431d644332107a51a46c1e3de70e64692f0c"
|
|
_signals_commit="baf5bb04bd13b090e405e0447c89a811f7e23ddc"
|
|
_qtkeychain_commit="de954627363b0b4bff9a2616f1a409b7e14d5df9"
|
|
_sanitizers_cmake_commit="99e159ec9bc8dd362b08d18436bd40ff0648417b"
|
|
create_wrksrc=yes
|
|
build_wrksrc="chatterino2"
|
|
build_style=cmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-tools-devel qt5-multimedia-devel qt5-svg-devel
|
|
boost-devel openssl-devel rapidjson websocketpp"
|
|
depends="qt5-imageformats qt5-svg"
|
|
short_desc="Chat client for twitch.tv"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license=MIT
|
|
homepage="https://chatterino.com"
|
|
changelog="https://chatterino.com/changelog"
|
|
distfiles="https://github.com/Chatterino/chatterino2/archive/refs/tags/v${version}.tar.gz
|
|
https://github.com/Chatterino/libcommuni/archive/${_libcommuni_commit}.tar.gz
|
|
https://github.com/pajlada/serialize/archive/${_serialize_commit}.tar.gz
|
|
https://github.com/pajlada/settings/archive/${_settings_commit}.tar.gz
|
|
https://github.com/pajlada/signals/archive/${_signals_commit}.tar.gz
|
|
https://github.com/Chatterino/qtkeychain/archive/${_qtkeychain_commit}.tar.gz
|
|
https://github.com/arsenm/sanitizers-cmake/archive/${_sanitizers_cmake_commit}.tar.gz"
|
|
checksum="27d42138d48d807340fe4194b4cdada6183b0ff2127f24d39032b3ad1f66594c
|
|
ba2179eb43638366ca65214137a850a127fb93a36fcc54658649c34e8d6f7dc4
|
|
d0da2cebd5dfd7b20f7247f1e4fb6b8a866434db49316a067b6c798ec8217c63
|
|
0b35eb297f0949f27b3c54bc66d8b0c9293102fb52838d12371a5fcc80c590e5
|
|
7ffd43dbd05704af5bef64b0eae8c12174013d4c7105472019ef381ff82c0a46
|
|
4fdd7fd8bbae4fd7a505c917facc6e6b838850cd4f016c30fae45535dbaab4b7
|
|
f9cf386638f455c5d2e7a835b95941201387d2531b8682942d59827663b58341"
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LIBS="-latomic"
|
|
fi
|
|
|
|
post_extract() {
|
|
mv "chatterino2-${version}" "${build_wrksrc}"
|
|
rmdir ${build_wrksrc}/lib/libcommuni ${build_wrksrc}/lib/serialize \
|
|
${build_wrksrc}/lib/settings ${build_wrksrc}/lib/signals \
|
|
${build_wrksrc}/lib/rapidjson ${build_wrksrc}/lib/websocketpp \
|
|
${build_wrksrc}/lib/qtkeychain ${build_wrksrc}/cmake/sanitizers-cmake
|
|
mv "libcommuni-${_libcommuni_commit}" "${build_wrksrc}/lib/libcommuni"
|
|
mv "serialize-${_serialize_commit}" "${build_wrksrc}/lib/serialize"
|
|
mv "settings-${_settings_commit}" "${build_wrksrc}/lib/settings"
|
|
mv "signals-${_signals_commit}" "${build_wrksrc}/lib/signals"
|
|
mv "qtkeychain-${_qtkeychain_commit}" "${build_wrksrc}/lib/qtkeychain"
|
|
mv "sanitizers-cmake-${_sanitizers_cmake_commit}" "${build_wrksrc}/cmake/sanitizers-cmake"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|