New package: makemkv-1.16.7

This commit is contained in:
Jan Christian Grünhage 2021-01-16 00:37:02 +01:00
parent 4d9ebdf504
commit 2b35be6413
Signed by: jcgruenhage
GPG key ID: EEC1170CE56FA2ED
2 changed files with 45 additions and 0 deletions

43
srcpkgs/makemkv/template Normal file
View file

@ -0,0 +1,43 @@
# Template file for 'makemkv'
pkgname=makemkv
version=1.16.7
revision=1
archs="x86_64"
wrksrc="${pkgname}-oss-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="openssl-devel qt5-devel ffmpeg-devel"
short_desc="Blu-ray and DVD ripper"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="custom: Proprietary License"
homepage="https://www.makemkv.com/"
distfiles="https://www.makemkv.com/download/makemkv-bin-${version}.tar.gz
https://www.makemkv.com/download/makemkv-oss-${version}.tar.gz"
checksum="623b185b6326cc366a38c75896a134759dfdf50abc849450f4109588d7b12c7b
4cbd0f44ffe90e0d7aaac6d88bd458c83d1e80d0dac6e029991f3a86247f46af"
nopie_files="/usr/bin/makemkvcon"
repository=nonfree
do_configure() {
./configure
}
do_build() {
make ${makejobs}
cd ../${pkgname}-bin-${version}
mkdir -p tmp
echo "accepted" > tmp/eula_accepted
make ${makejobs}
cd ../${pkgname}-oss-${version}
}
do_install() {
make DESTDIR=${DESTDIR} install
cd ../${pkgname}-bin-${version}
make DESTDIR=${DESTDIR} install
cd ../${pkgname}-oss-${version}
}
post_install() {
vlicense License.txt
}

2
srcpkgs/makemkv/update Normal file
View file

@ -0,0 +1,2 @@
site="https://www.makemkv.com/download/"
pattern="MakeMKV v\K[0-9]+.[0-9]+.[0-9]+(?= \([0-9]+.[0-9]+.[0-9]+ \))"