# Maintainer: goodguy <lists.cinelerra-gg.org>
pkgname=cin
pkgver=5.1
-pkgrel=20190930
+pkgrel=20191031
pkgdesc="Cinelerra git://git.cinelerra-gg.org/goodguy/cinelerra.git ($pkgrel)"
arch=('x86_64')
url="https://www.cinelerra-gg.org"
Source: cin
Section: video
Priority: optional
-Standards-Version: 5.1.20190930
+Standards-Version: 5.1.20191031
Maintainer: mailing list <cin@lists.cinelerra-gg.org>
Homepage: https://www.cinelerra-gg.org/
Build-Depends:
cd $@ && cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DWITH_IPP=OFF \
+ -DWITH_LAPACK=OFF \
-DBUILD_SHARED_LIBS=OFF \
-DINSTALL_C_EXAMPLES=OFF \
-DINSTALL_PYTHON_EXAMPLES=OFF \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DOPENCV_EXTRA_MODULES_PATH="$(opencv)_contrib/modules/"
-LFLAGS += -llapack -lcblas
LFLAGS += -Wl,--start-group
LFLAGS += $(shell find $(opencv_prefix)/lib* -name "libopencv_*.a" 2> /dev/null)
#opencv4 breaks SIFT/SURF findobj
cd $@ && cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DWITH_IPP=OFF \
+ -DWITH_LAPACK=OFF \
-DBUILD_SHARED_LIBS=ON \
-DINSTALL_C_EXAMPLES=ON \
-DINSTALL_PYTHON_EXAMPLES=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DOPENCV_EXTRA_MODULES_PATH="$(opencv)_contrib/modules/"
-LFLAGS += -llapack -lcblas
SYSLIB := $(lastword $(wildcard /usr/lib /usrlib32 /usr/lib64))
CVLIBS := $(dir (shell find $(opencv_prefix) -name libopencv_core.a))
LFLAGS += -L$(CVLIBS) $(patsubst $(CVLIBS)/lib%.so,-l%,$(wildcard $(CVLIBS)/libopencv_*.so))