Skip to content

Commit

Permalink
media-video/mkvalidator: bump to 0.5.2
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
aballier committed Aug 26, 2017
1 parent 7416a16 commit 0537cc7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-video/mkvalidator/Manifest
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions media-video/mkvalidator/mkvalidator-0.5.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 0537cc7

Please sign in to comment.