libmatroska: adopted port
This commit is contained in:
parent
cfda1957c6
commit
695c5ed7e6
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF39bdl26L+7ByZtU2hyoDsIA8rOsJnBNkRaZFaRAQy6Ub8Kt6kSwIjHzqJAbr5B0jnXH0cEcd6hO8rNmVjiPxRw0=
|
RWSagIOpLGJF37G/b97qXmVxwgvN6fglYyt3DPv49s2Ge9BGZfitogIJrSo71hQKkpCRhrTgyoJgCeYxnHkEB2yr1TeZNDig4Qw=
|
||||||
SHA256 (Pkgfile) = fcfea5d278539f324a9818cc3b5acd6a2334ac728c166e6136509c23ebe0be30
|
SHA256 (Pkgfile) = c421f044d27815ef904d2d5d252921305c73d288c96ccc670b39bebde98480d2
|
||||||
SHA256 (.footprint) = d3335d028ed596f2f5989ebd78e3346c3af69f3bfffeb61136ad9fc86d7c336e
|
SHA256 (.footprint) = d3335d028ed596f2f5989ebd78e3346c3af69f3bfffeb61136ad9fc86d7c336e
|
||||||
SHA256 (libmatroska-1.7.1.tar.xz) = 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3
|
SHA256 (libmatroska-1.7.1.tar.xz) = 572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Description: An extensible open standard Audio/Video container format library.
|
# Description: An extensible open standard Audio/Video container format library
|
||||||
# URL: https://github.com/Matroska-Org/libmatroska
|
# URL: https://github.com/Matroska-Org/libmatroska
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||||
# Depends on: libebml
|
# Depends on: libebml
|
||||||
|
|
||||||
name=libmatroska
|
name=libmatroska
|
||||||
@ -9,15 +9,15 @@ release=1
|
|||||||
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
|
source=(https://dl.matroska.org/downloads/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -S $name-$version -B build -G Ninja \
|
cmake -S $name-$version -B build -G Ninja \
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||||
-D BUILD_SHARED_LIBS=ON \
|
-D BUILD_SHARED_LIBS=ON \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
DESTDIR=$PKG cmake --install build
|
DESTDIR=$PKG cmake --install build
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user