30 lines
932 B
Bash
30 lines
932 B
Bash
# Template file for 'toxcore'
|
|
pkgname=toxcore
|
|
version=0.2.2
|
|
revision=1
|
|
wrksrc="c-toxcore-${version}"
|
|
configure_args="-DMUST_BUILD_TOXAV=ON -DBUILD_TOXAV=ON -DDHT_BOOTSTARP=OFF
|
|
-DBOOTSTRAP=DAEMON=ON -DBUILD_AV_TEST=OFF"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libconfig-devel libsodium-devel libvpx-devel opus-devel"
|
|
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://tox.chat"
|
|
distfiles="https://github.com/TokTok/c-toxcore/archive/v${version}.tar.gz"
|
|
checksum=a3b25d8bd92b9526b47ba1f60a2893d2154a80bb7ae690f44b5a2dea41c76ea1
|
|
|
|
post_install() {
|
|
vsconf other/bootstrap_daemon/tox-bootstrapd.conf
|
|
}
|
|
|
|
toxcore-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|