mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 22:25:42 +02:00
Fixes C99 and C23 compatibility, plus general bugfixes Bug: https://bugs.gentoo.org/809983 Closes: https://bugs.gentoo.org/881069 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/36452 Signed-off-by: Sam James <sam@gentoo.org>
31 lines
665 B
Bash
31 lines
665 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="mkvalidator is a command line tool to verify Matroska files for spec conformance"
|
|
HOMEPAGE="https://www.matroska.org/downloads/mkvalidator.html"
|
|
SRC_URI="https://downloads.sourceforge.net/project/matroska/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
newdoc ChangeLog.txt ChangeLog
|
|
newdoc ReadMe.txt README
|
|
|
|
cd "${BUILD_DIR}" || die
|
|
dobin mkvalidator/mkvalidator
|
|
}
|