Commit 6c807b79 authored by Alexander Edland's avatar Alexander Edland Committed by Shiz ...

testing/lsmash: new aport

parent 75154b31
# Contributor: Alexander Edland <alpine@ocv.me>
# Maintainer: Alexander Edland <alpine@ocv.me>
pkgname=lsmash
pkgver=2.14.5
pkgrel=0
pkgdesc="MP4 and MOV muxer/demuxer"
url="https://github.com/l-smash/l-smash"
arch="all"
license="ISC"
options="!check"
subpackages="$pkgname-dev"
source="lsmash-$pkgver.tar.gz::https://github.com/l-smash/l-smash/archive/v$pkgver.tar.gz"
builddir="$srcdir/l-smash-$pkgver"
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--extra-cflags=-fPIC \
--disable-static \
--enable-shared
make
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
# prefix binaries with lsmash- because
# /usr/bin/muxer is likely to cause collisions
for i in "$pkgdir"/usr/bin/*; do
mv "$i" "${i%/*}/lsmash-${i##*/}"
done
}
sha512sums="1dc38cd89d7b317b608d5f5f411ffeac3c1e7fdeea2fc2d7c09d209dce90756c51c27198c20199082fc2168f966a604cef3f9cfd2fd17086ae0f9c0bf50f1ec7 lsmash-2.14.5.tar.gz"
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