forked from ports/contrib
mediaelch: 2.8.12 -> 2.8.14
This commit is contained in:
parent
fbb0c647b7
commit
d22135171e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF324xoO+bGARZsV/hUjfo3zYl79mYRZiDKSlaafeAuqjrPawzoz3W54YSAy4LWKkqFmCjd8aIgyCMw5zFFeC31gI=
|
||||
SHA256 (Pkgfile) = 24fba4eba29f2fe3cd2da66846cf717d963f23c98021ce5688766a077c35272f
|
||||
RWSagIOpLGJF33jbjLj6EjHhCbDsIFDU94tr8p0B2Rh5l/eO8Zd+Xnu+Ug1V2L2CpcFAd6bOPbk6HqqpflZ3tF969y80NBhfHAM=
|
||||
SHA256 (Pkgfile) = f14a59617fca49af8bfbeff85b150402af6f4825912304bfe1410ecfc2736ab1
|
||||
SHA256 (.footprint) = eff496c0fd1412ea4d512aac12cd4efd298aa8c851af98be8963d70a92e238ed
|
||||
SHA256 (mediaelch-2.8.12.tar.gz) = c3f30fb18ad496057984ea7ea2593710ec4069eda1f4324ba10dffb66a5c3a75
|
||||
SHA256 (mediaelch-2.8.14.tar.gz) = 57a54a68fa3caf65f4ec193257c24d3ebaee0d05a842007a3424d30371367fcb
|
||||
|
@ -4,17 +4,23 @@
|
||||
# Depends on: quazip5 libmediainfo
|
||||
|
||||
name=mediaelch
|
||||
version=2.8.12
|
||||
version=2.8.14
|
||||
release=1
|
||||
source=(https://github.com/Komet/MediaElch/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd MediaElch-$version
|
||||
sed 's|quazip/quazip/|QuaZip-Qt5-1.1/quazip/|g' -i src/*/*.cpp src/*/*.h
|
||||
sed 's|lquazip5|lquazip1-qt5|g' -i MediaElch.pro
|
||||
mkdir build
|
||||
cd build
|
||||
qmake ..
|
||||
make SUBLIBS="-lquazip1-qt5"
|
||||
make INSTALL_ROOT=$PKG install
|
||||
|
||||
cmake -S MediaElch-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_INSTALL_LIBEXECDIR=lib/$name \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D USE_EXTERN_QUAZIP=ON \
|
||||
-D ENABLE_LTO=ON \
|
||||
-D DISABLE_UPDATER=ON \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user