Package Details: mkvalidator 0.6.0-1

Git Clone URL: https://aur.archlinux.org/mkvalidator.git (read-only, click to copy)
Package Base: mkvalidator
Description: Validator for MKV files
Upstream URL: https://www.matroska.org/downloads/mkvalidator.html
Licenses: BSD
Submitter: None
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 34
Popularity: 0.038813
First Submitted: 2010-06-01 11:58 (UTC)
Last Updated: 2023-04-08 18:52 (UTC)

Latest Comments

1 2 3 4 Next › Last »

gabor_zoka commented on 2023-04-07 13:31 (UTC)

Hello sl1pkn07,

Would you consider this patch? https:// makes more credibility, and not just relying on the chksum in the PKGBUILD

Thank you,

Gábor

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url='http://www.matroska.org/downloads/mkvalidator.html'
 license=('BSD')
 depends=('glibc')
 makedepends=('cmake')
-source=("http://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-${pkgver}.tar.bz2")
+source=("https://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-${pkgver}.tar.bz2")
 sha256sums=('f9eaa2138fade7103e6df999425291d2947c5355294239874041471e3aa243f0')

 prepare(){

qubidt commented on 2021-04-30 22:31 (UTC)

mostly because I couldn't get the 0.5.2 package to build for w/e reason, I updated the PKGBUILD for the v0.6.0 released a few months ago. This included a change of the build system to cmake:

diff --git a/PKGBUILD b/PKGBUILD
index f5ba642..fff51ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,29 @@
 # Contributor: garion < garion @ mailoo.org >

 pkgname=mkvalidator
-pkgver=0.5.2
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="Validator for MKV files"
 arch=('x86_64')
+makedepends=('cmake')
 url='http://www.matroska.org/downloads/mkvalidator.html'
 license=('BSD')
 source=("http://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-${pkgver}.tar.bz2")
-sha1sums=('cd702e87568580d5db4184e64c19cd16eccb5263')
+sha1sums=('6f42bc7bca906acaa64626eba104b3a8c48b8af0')
 options=(!makeflags)

 prepare() {
   cd "mkvalidator-${pkgver}"
-
-  gcc ${CFAGS} -o coremake corec/tools/coremake/coremake.c
-
-  sed "s|/usr/local|${pkgdir}/usr|g" -i corec/tools/coremake/gcc_mak.inc
-
-  ./coremake gcc_linux_x64
+  mkdir -p build
 }

 build(){
-  make -C "mkvalidator-${pkgver}/mkvalidator"
+  cd "${srcdir}/mkvalidator-${pkgver}/build"
+  cmake -DCMAKE_BUILD_TYPE=Release ..
+  make
 }

 package(){
-  mkdir -p "${pkgdir}/usr/bin"
-  make -C "mkvalidator-${pkgver}/mkvalidator" install
+  cd "${srcdir}/mkvalidator-${pkgver}"
+  install -Dm755 "build/mkvalidator/mkvalidator" "$pkgdir/usr/bin/mkvalidator"
 }

<deleted-account> commented on 2015-05-10 09:09 (UTC)

Hello, Sorry for the delay. As I am leaving ArchLinux, feel free to adopt this package ;) Best Regards.

<deleted-account> commented on 2013-12-19 19:43 (UTC)

PKGBUILD updated as described by DarkElf for ARM support

DarkElf commented on 2013-12-19 14:05 (UTC)

I found a workaround. The problem is related the .build files for arm architecture. I think that the source files are made with the assumption that if someone wants to compile for arm architecture he is cross-compiling (using for example an x86 machine) and so make serches for the cross-compiler (arm-none-linux-gnueabi). If I modify the .build files everything works fine so I modified the PKGBUILD in this way http://paste2.org/C4Zt6Y1U deleting the "arm-none-linux-gnueabi-" from the .build files so the standard compiler is used. I don't know if it is the best way to solve the problem (maybe through a patch file is better???..or in some other way) but it works. I have tested also for mkclean and it works for that package too.

<deleted-account> commented on 2013-12-18 20:06 (UTC)

Hi DarkElf, It seems that the ARM support requires a new dependency. But I don't know the package; in AUR, there are many packages arm-none-linux-gnueabi. Let me know if you find it. I will update the PKGBUILD.

DarkElf commented on 2013-12-17 07:24 (UTC)

replaced arch=('arm' 'i686' 'x86_64') with arch=('armv6h' 'i686' 'x86_64') and elif [ $CARCH = "arm" ]; then with elif [ $CARCH = "armv6h" ]; then but when it starts compiling it gives me the following error: make[3]: arm-none-linux-gnueabi-gcc: command not found here is the full error chain (some messages are in italian language) http://paste2.org/8Mb95F2v

<deleted-account> commented on 2013-12-17 05:34 (UTC)

@DarkElf: I have added the support of ARM but I cannot check it. Let me know in case of any issue.

DarkElf commented on 2013-12-16 10:19 (UTC)

It is possible to make the package compatible with arm architecture?

<deleted-account> commented on 2013-01-06 20:16 (UTC)

@kfgz: corrected.