aboutsummaryrefslogblamecommitdiffstats
path: root/testing/frei0r-plugins/APKBUILD
blob: 55eb6b09307c98a530398a6f38e47b5035e32b40 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
            
        
                                                                 
                              
          
                                  
                          

                                      
                                                                             
 
         






                                                                                          
                                         


                                               
            


           
                                               

 
                                                                                                                                                                          
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=frei0r-plugins
pkgver=1.7.0
pkgrel=1
pkgdesc="A minimalistic plugin API for video sources and filters"
url="https://frei0r.dyne.org/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-or-later"
makedepends="cmake gavl-dev cairo-dev"
subpackages="$pkgname-dev"
source="https://files.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz"

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	mkdir build && cd build
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_SHARED_LIBS=True \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
		-DCMAKE_C_FLAGS="$CFLAGS" \
		${CMAKE_CROSSOPTS} ..
	make
}

package() {
	make -C build DESTDIR="$pkgdir" install
}

sha512sums="8c80e8e0ce8c302e633ea1f6ff4e2a141fd7a8bcb7fce25dc7f1f6521be11258a3efa1074c224c7323e6a17bc405413385be193a5c787e2f276252b50477ebce  frei0r-plugins-1.7.0.tar.gz"