mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
parent
b5e8abfd1f
commit
03bbc34330
1 changed files with 6 additions and 22 deletions
|
@ -1,35 +1,19 @@
|
||||||
# Template file for 'qtox'
|
# Template file for 'qtox'
|
||||||
pkgname=qtox
|
pkgname=qtox
|
||||||
version=1.10.2
|
version=1.11.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=qmake
|
build_style=cmake
|
||||||
short_desc="QT-based TOX instant messenger client"
|
short_desc="QT-based TOX instant messenger client"
|
||||||
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="https://wiki.tox.chat/clients/qtox"
|
homepage="https://wiki.tox.chat/clients/qtox"
|
||||||
hostmakedepends="qt5-qmake pkg-config"
|
hostmakedepends="qt5-qmake pkg-config"
|
||||||
makedepends="toxcore-devel filteraudio-devel-git ffmpeg-devel qt5-svg-devel
|
makedepends="toxcore-devel filter_audio-devel ffmpeg-devel qt5-svg-devel
|
||||||
qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel
|
qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel
|
||||||
libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel
|
libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel
|
||||||
sqlcipher-devel"
|
sqlcipher-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
|
||||||
|
qt5-plugin-tds opus-devel"
|
||||||
depends="qt5-plugin-sqlite"
|
depends="qt5-plugin-sqlite"
|
||||||
distfiles="https://github.com/tux3/qTox/archive/v${version}.tar.gz"
|
distfiles="https://github.com/tux3/qTox/archive/v${version}.tar.gz"
|
||||||
checksum=1709ba412149781fc922c0807fddbf36af355e59a8cb4454b568fa739b2a5e80
|
checksum=be38517cd915727dbd9b3cd2a51bbaf1cae28290de07a34c759ec8b77c502cd4
|
||||||
wrksrc="qTox-${version}"
|
wrksrc="qTox-${version}"
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl)
|
|
||||||
configure_args+=" ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_UNITY_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin qtox
|
|
||||||
vinstall qtox.desktop 644 usr/share/applications
|
|
||||||
vinstall img/icons/qtox.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
||||||
for _s in 14 16 22 24 32 36 48 64 72 96 128 192 256 512; do
|
|
||||||
vinstall "img/icons/${_s}x${_s}/qtox.png" 644 "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue