mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
frei0r-plugins: updated cmake build syntax
This commit is contained in:
@@ -31,6 +31,10 @@ drwxr-xr-x root/root usr/lib/frei0r-1/
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/burn.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/bw0r.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/c0rners.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cairoaffineblend.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cairoblend.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cairogradient.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cairoimagegrid.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cartoon.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/cluster.so
|
||||
-rwxr-xr-x root/root usr/lib/frei0r-1/colgate.so
|
||||
|
||||
@@ -7,15 +7,15 @@ release=1
|
||||
source="https://files.dyne.org/frei0r/releases/$name-$version.tar.gz"
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
mkdir -vp build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DOpenCV_DIR=/usr/share/OpenCV \
|
||||
-Wno-dev ..
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cmake -S $name-$version -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-DOpenCV_DIR=/usr/share/OpenCV \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user