diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-08-26 16:33:04 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-08-26 16:33:04 +0200 |
commit | b21782724ea54e39a4db12e3e22d8280487f5344 (patch) | |
tree | b0987c5f503080c7aa96f9a695e456560db71b82 /media-video/mkclean/mkclean-0.8.10.ebuild | |
parent | media-video/mkclean: Remove old (diff) | |
download | gentoo-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/mkclean/mkclean-0.8.10.ebuild')
-rw-r--r-- | media-video/mkclean/mkclean-0.8.10.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
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 +} |