kodi-addon-inputstream-adaptive: updated cmake syntax
This commit is contained in:
parent
beb6dce098
commit
a499ba5d6a
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39fVhjORzU0Npe72Ap+1PKSY3TvtIxd8CNKNwwhVdhXGYXOTK4iSXh6h95cg3dqKyPGKUxHUgmhKaSILjPtgGQY=
|
||||
SHA256 (Pkgfile) = 0a1288268255098aaef41ae8beb354c295515c47feebe97877cc9462fbd48c5a
|
||||
RWSagIOpLGJF30x9MwuyHF/jBnN7NKo1ihYrsSpr8o1B6Q3DbaQv9034TQImV6nNcDGLCIWXMqfY46aWCoXa6NEShkXbmCGfXgI=
|
||||
SHA256 (Pkgfile) = 768900ca2f790403041eba4999204fd1d4ec2cf72c0b176d21e454a7f4f2d35e
|
||||
SHA256 (.footprint) = ad4117a4c6dba6c30464ada77684eca0f941bf15f2a1b595f02ad7d0da1f3715
|
||||
SHA256 (kodi-addon-inputstream-adaptive-2.4.6.tar.gz) = 222b7ad879146c62a1fc6016fc70ca1ca57b3b882882ebc54e0b772bf96482e7
|
||||
|
@ -10,10 +10,13 @@ release=2
|
||||
source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -Sinputstream.adaptive-$version-$_codename -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=1
|
||||
cmake -S inputstream.adaptive-$version-$_codename -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||
-D BUILD_SHARED_LIBS=1 \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user