summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsehraf2019-03-02 20:47:35 +0100
committersehraf2019-03-02 20:47:35 +0100
commitfac8d9af16370401e746449c36a4df2794492c66 (patch)
treea3b43b793226efb165d214fc122784e14b54f9af
parent05b706e84e9cbb7f44b90efd271983a4d804cf2d (diff)
downloadaur-fac8d9af16370401e746449c36a4df2794492c66.tar.gz
correct opencv version
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3539e68e6d0..b0bf9d39d8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,7 +46,7 @@ source=("https://github.com/RetroShare/RetroShare/archive/v${pkgver}.tar.gz")
sha256sums=('901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5')
# Add missing dependencies if needed
-[[ "$_plugin_voip" == 'true' ]] && depends=(${depends[@]} 'ffmpeg' 'opencv')
+[[ "$_plugin_voip" == 'true' ]] && depends=(${depends[@]} 'ffmpeg' 'opencv3-opt')
[[ "$_plugin_feedreader" == 'true' ]] && depends=(${depends[@]} 'curl' 'libxslt')
[[ "$_jsonapi" == 'true' ]] && depends=(${depends[@]} 'restbed')
[[ "$_clang" == 'true' ]] && makedepends=(${makedepends[@]} 'clang')
@@ -74,7 +74,7 @@ fi
prepare() {
cd "${srcdir}/RetroShare-${pkgver}"
- [[ "$_plugin_voip" == 'true' ]] && sed -i -e 's/PKGCONFIG += opencv/PKGCONFIG += opencv4/g' plugins/VOIP/VOIP.pro
+ [[ "$_plugin_voip" == 'true' ]] && sed -i -e 's/PKGCONFIG += opencv/PKGCONFIG += opencv3/g' plugins/VOIP/VOIP.pro
}
build() {