summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-26 16:33:04 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-26 16:33:04 +0200
commitb21782724ea54e39a4db12e3e22d8280487f5344 (patch)
treeb0987c5f503080c7aa96f9a695e456560db71b82 /media-video
parentmedia-video/mkclean: Remove old (diff)
downloadgentoo-b21782724ea54e39a4db12e3e22d8280487f5344.tar.gz
gentoo-b21782724ea54e39a4db12e3e22d8280487f5344.tar.bz2
gentoo-b21782724ea54e39a4db12e3e22d8280487f5344.zip
media-video/mkclean: bump to 0.8.10
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mkclean/Manifest1
-rw-r--r--media-video/mkclean/mkclean-0.8.10.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-video/mkclean/Manifest b/media-video/mkclean/Manifest
index c63b5743fdfc..bc393fc70a94 100644
--- a/media-video/mkclean/Manifest
+++ b/media-video/mkclean/Manifest
@@ -1 +1,2 @@
+DIST mkclean-0.8.10.tar.bz2 764380 SHA256 96773e72903b00d73e68ba9d5f19744a91ed46d27acd511a10eb23533589777d SHA512 8e12ac906205b14c162f0fd29d9e1a56ee854e7946706adf22c3df40376ddeb2c23a02c499d8146aeafc945381eabb96e16ca33da1323dda5929a1fc1f337892 WHIRLPOOL 02994d357315fed1d6f88fe93e2c92debb6bcce5b8e9f9f3a24536a4d45f342f399d47348374d0a5a1055ed5964290ed20726778a4989b39c773160eaee69669
DIST mkclean-0.8.9.tar.bz2 739749 SHA256 28df51f3b59b5d04ecd7f50e609112fe3185b7d74cd7abcd0ab8148c66156275 SHA512 23cf1d6ae66089ea717a09afb02b532b3555a4e3061916c460c15a71c0834127b5650fcb663b8d06d88aa9ba45ffff0b063a4b8914d852cb1086d4b59df59b98 WHIRLPOOL f6fc08f09f6159a1327e4ba75b647696b77e2f0465d6b5ecd12fc5df115ec4e7aa3a78f7fe59cbfb14d745ff054c5e30b959a2f964979d7c9ab9f2c5b02b747b
diff --git a/media-video/mkclean/mkclean-0.8.10.ebuild b/media-video/mkclean/mkclean-0.8.10.ebuild
new file mode 100644
index 000000000000..c094af08ab56
--- /dev/null
+++ b/media-video/mkclean/mkclean-0.8.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="mkclean is a command line tool to clean and optimize Matroska files"
+HOMEPAGE="http://www.matroska.org/downloads/mkclean.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 -f GNUmakefile -j1
+ emake -C mkclean -f mkWDclean.mak -j1
+ emake -C mkclean/regression -f mkcleanreg.mak -j1
+}
+
+src_install() {
+ dobin release/*/mk*clean*
+ newdoc ChangeLog.txt ChangeLog
+ newdoc ReadMe.txt README
+}