commit: c946018d82fefa18b7b453e376c53d4387d7742e
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 13:26:45 2017 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 14:45:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c946018d
media-video/mkvtoolnix: add live ebuild
media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild | 14 ++++++++++----
...{mkvtoolnix-15.0.0-r1.ebuild => mkvtoolnix-9999.ebuild} | 14 ++++++++++----
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
b/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
index cecc4e7454d..6afdf102386 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
@@ -2,15 +2,21 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit toolchain-funcs versionator multiprocessing autotools
+inherit toolchain-funcs versionator multiprocessing
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mbunkus/mkvtoolnix.git"
+ inherit git-r3
+else
+ SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz"
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
DESCRIPTION="Tools to create, alter, and inspect Matroska files"
HOMEPAGE="https://mkvtoolnix.download/ https://github.com/mbunkus/mkvtoolnix"
-SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="debug pch test qt5"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
@@ -59,7 +65,7 @@ pkg_pretend() {
src_prepare() {
default
- eautoreconf
+ [[ ${PV} == "9999" ]] && { ./autogen.sh || die; }
}
src_configure() {
diff --git a/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
similarity index 86%
copy from media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
copy to media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
index cecc4e7454d..6afdf102386 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-15.0.0-r1.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild
@@ -2,15 +2,21 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit toolchain-funcs versionator multiprocessing autotools
+inherit toolchain-funcs versionator multiprocessing
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mbunkus/mkvtoolnix.git"
+ inherit git-r3
+else
+ SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz"
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
DESCRIPTION="Tools to create, alter, and inspect Matroska files"
HOMEPAGE="https://mkvtoolnix.download/ https://github.com/mbunkus/mkvtoolnix"
-SRC_URI="https://mkvtoolnix.download/sources/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="debug pch test qt5"
# check NEWS.md for build system changes entries for boost/libebml/libmatroska
@@ -59,7 +65,7 @@ pkg_pretend() {
src_prepare() {
default
- eautoreconf
+ [[ ${PV} == "9999" ]] && { ./autogen.sh || die; }
}
src_configure() {