Commit 40ba649c authored by Jeff Huang's avatar Jeff Huang 😕

[skip-ci] libmatroska: update to 1.5.0

parent 4223a1ae
Pipeline #2916 skipped
pkgname=libmatroska
pkgver=1.4.8
pkgrel=2
pkgver=1.5.0
pkgrel=1
pkgdesc="Matroska library"
arch=('x86_64')
url="http://dl.matroska.org/downloads/libmatroska/"
url="https://dl.matroska.org/downloads/libmatroska/"
license=('LGPL')
depends=('libebml')
makedepends=('cmake')
source=("http://dl.matroska.org/downloads/libmatroska/${pkgname}-${pkgver}.tar.xz")
md5sums=('45ffda84badb4e3da5d8f2535e54d511')
md5sums=('39a5293ccac395c741b2208336bf2510')
prepare() {
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-static
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
make DESTDIR="${pkgdir}" -C build install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment