New package: makemkv-1.15.4

This commit is contained in:
Jan Christian Grünhage 2021-01-16 00:37:02 +01:00
parent 4d9ebdf504
commit ca9bddc12e
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.15.4
revision=1
archs="x86_64"
wrksrc="${pkgname}-oss-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libressl-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="45eba7e61a7b467b1fe8de722fa890d556e19f3fc02a7b7f8d846ac8e2badb9a
82d062d4844d17901293f65dce40e63ae1084fd81accd6913427eda9b2c43fe3"
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]+ \))"