void-packages/srcpkgs/qtox/template

31 lines
1.1 KiB
Bash
Raw Normal View History

2015-03-26 18:33:00 +00:00
# Template file for 'qtox'
pkgname="qtox"
version="20150325"
2015-05-20 06:26:22 +00:00
revision=2
2015-03-26 18:33:00 +00:00
_commithash="41efb1491b52a1c857702c69ca70e95d9a7933ce"
short_desc="QT-based TOX instant messenger client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-3"
homepage="https://wiki.tox.im/QTox"
hostmakedepends="qt5-qmake"
2015-05-20 07:42:36 +00:00
makedepends="toxcore-devel-git filteraudio-devel-git ffmpeg-devel qt5-svg-devel
qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel
libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel"
2015-03-26 18:33:00 +00:00
distfiles="https://github.com/tux3/qTox/archive/${_commithash}.tar.gz"
checksum="781d3d4e2028b3071c53e34f490ef8ea1141a6a2452bb90745a411e6c8c89f07"
build_style="gnu-makefile"
wrksrc="qTox-${_commithash}"
do_configure() {
qmake
}
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/qtox-${_s}x${_s}.png" 644 "/usr/share/icons/hicolor/${_s}x${_s}/apps" qtox.png
done
}