aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-12 20:44:22 +0200
committerAriadne Conill <ariadne@dereferenced.org>2020-04-12 23:39:54 +0000
commit5531a067b8423da6bc494852f295a9a949839d25 (patch)
tree82683ec51eedc208dbc7fe69532f092ff8ba1f1a
parent807ca0c332f70fe3ad2485d579382dbd4a152590 (diff)
downloadaports-5531a067b8423da6bc494852f295a9a949839d25.tar.gz
aports-5531a067b8423da6bc494852f295a9a949839d25.tar.bz2
aports-5531a067b8423da6bc494852f295a9a949839d25.tar.xz
community/frei0r-plugins: move from testing and take over maintainership
-rw-r--r--community/frei0r-plugins/APKBUILD (renamed from testing/frei0r-plugins/APKBUILD)20
1 files changed, 6 insertions, 14 deletions
diff --git a/testing/frei0r-plugins/APKBUILD b/community/frei0r-plugins/APKBUILD
index 55eb6b0930..773721d946 100644
--- a/testing/frei0r-plugins/APKBUILD
+++ b/community/frei0r-plugins/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=frei0r-plugins
pkgver=1.7.0
-pkgrel=1
+pkgrel=2
pkgdesc="A minimalistic plugin API for video sources and filters"
url="https://frei0r.dyne.org/"
arch="all"
@@ -13,22 +13,14 @@ 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 \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS} ..
- make
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make -C build
}
package() {
- make -C build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" make -C build install
}
sha512sums="8c80e8e0ce8c302e633ea1f6ff4e2a141fd7a8bcb7fce25dc7f1f6521be11258a3efa1074c224c7323e6a17bc405413385be193a5c787e2f276252b50477ebce frei0r-plugins-1.7.0.tar.gz"