diff options
-rw-r--r-- | media-video/mkvalidator/Manifest | 1 | ||||
-rw-r--r-- | media-video/mkvalidator/mkvalidator-0.5.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/media-video/mkvalidator/Manifest b/media-video/mkvalidator/Manifest index 7f4541f96dfd..0882064d94d9 100644 --- a/media-video/mkvalidator/Manifest +++ b/media-video/mkvalidator/Manifest @@ -1 +1,2 @@ DIST mkvalidator-0.5.1.tar.bz2 589116 SHA256 e4f9b2e89df141926a3ac447bd9a2de17df28f6c413c2bff3323068b530da48f SHA512 236f15f2161e59b9a9923c1f9e4347069696578956d490def776e0b11339b9ba90eeb9a4b4ac85e1e506c250830e9ff3f007b52f7208c10d05180489abd1ccb9 WHIRLPOOL f0dfc728c5fdf0629fdd162c18f5542453271727911068f1cdc89592b648bf77ad253fbcff4405f64305e7dfb8391908ec2e15c3747cc0debadbf7cfa23f39b9 +DIST mkvalidator-0.5.2.tar.bz2 612382 SHA256 2e2a91062f6bf6034e8049646897095b5fc7a1639787d5fe0fcef1f1215d873b SHA512 c87d89ce97f8c701f73932012af8c8df3d6e5ac8b0ee24e48000f93b0e29e02ce74250565f6a662fa0c9c2fbd9910705e1d1403ac6d2ac2fe54331ef150d00cc WHIRLPOOL 87c98a98c4b9a44fcaa057c37d5f7b00d8ee23fcfe1bb95dd63ff92c5f0bdff3ef90cb9b7a0931c69c85000345c5a852a3c2b263312215e96f8497736444d726 diff --git a/media-video/mkvalidator/mkvalidator-0.5.2.ebuild b/media-video/mkvalidator/mkvalidator-0.5.2.ebuild new file mode 100644 index 000000000000..3e4f279a6c73 --- /dev/null +++ b/media-video/mkvalidator/mkvalidator-0.5.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="mkvalidator is a command line tool to verify Matroska files for spec conformance" +HOMEPAGE="http://www.matroska.org/downloads/mkvalidator.html" +SRC_URI="http://downloads.sourceforge.net/project/matroska/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_configure() { + tc-export CC CXX + + emake -C corec/tools/coremake + mv corec/tools/coremake/coremake . || die + + ./coremake $(corec/tools/coremake/system_output.sh) || die + + # fixing generated makefiles + sed -i -e 's|^\(LFLAGS.*+=.*\$(LIBS)\)|\1 \$(LDFLAGS)|g' \ + -e 's|^\(STRIP.*=\)|\1 echo|g' $(find -name "*.mak") || die +} + +src_compile() { + emake -j1 V=1 -C ${PN} +} + +src_install() { + dobin release/*/mkv* + newdoc ChangeLog.txt ChangeLog + newdoc ReadMe.txt README +} |