commit:     95ee142de6e5a824db851ff6087830d1b58b3ed8
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 10:25:24 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 11:21:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ee142d

media-libs/libltc: new ebuild

thanks to Simon van der Veldt <simon.vanderveldt <AT> gmail.com>

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/libltc/Manifest            |  1 +
 media-libs/libltc/libltc-1.3.1.ebuild | 23 +++++++++++++++++++++++
 media-libs/libltc/libltc-9999.ebuild  | 23 +++++++++++++++++++++++
 media-libs/libltc/metadata.xml        | 12 ++++++++++++
 4 files changed, 59 insertions(+)

diff --git a/media-libs/libltc/Manifest b/media-libs/libltc/Manifest
new file mode 100644
index 00000000000..97ae3d630a0
--- /dev/null
+++ b/media-libs/libltc/Manifest
@@ -0,0 +1 @@
+DIST libltc-1.3.1.tar.gz 440790 BLAKE2B 
881a237a23e6f4a9d058d69b26cad78c96a9dc0f90bb5b5ffc2d08f4b894d039b57e53cb70844d89b0defa5795d252e3afef07d43bfd4dc8b10a34066b6c1efe
 SHA512 
e4ba96560f04155d022d2c975fa36d4bb77efb9a877344041e1bd12bd5e7d04dccb452f3a4e061aba961bd0c3c0d1d53dc98ac469e04e61a934feeedc20e09b3

diff --git a/media-libs/libltc/libltc-1.3.1.ebuild 
b/media-libs/libltc/libltc-1.3.1.ebuild
new file mode 100644
index 00000000000..55dfca50fbe
--- /dev/null
+++ b/media-libs/libltc/libltc-1.3.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library"
+HOMEPAGE="https://github.com/x42/libltc.git";
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3 autotools
+       EGIT_REPO_URI="https://github.com/x42/libltc.git";
+else
+       
SRC_URI="https://github.com/x42/libltc/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+LICENSE="LGPL-3"
+SLOT="0"
+RESTRICT="mirror"
+
+src_prepare() {
+       default
+
+       [[ ${PV} == *9999 ]] && (eautoreconf || die)
+}

diff --git a/media-libs/libltc/libltc-9999.ebuild 
b/media-libs/libltc/libltc-9999.ebuild
new file mode 100644
index 00000000000..55dfca50fbe
--- /dev/null
+++ b/media-libs/libltc/libltc-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library"
+HOMEPAGE="https://github.com/x42/libltc.git";
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3 autotools
+       EGIT_REPO_URI="https://github.com/x42/libltc.git";
+else
+       
SRC_URI="https://github.com/x42/libltc/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+LICENSE="LGPL-3"
+SLOT="0"
+RESTRICT="mirror"
+
+src_prepare() {
+       default
+
+       [[ ${PV} == *9999 ]] && (eautoreconf || die)
+}

diff --git a/media-libs/libltc/metadata.xml b/media-libs/libltc/metadata.xml
new file mode 100644
index 00000000000..703c168ad04
--- /dev/null
+++ b/media-libs/libltc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>proau...@gentoo.org</email>
+               <name>Gentoo ProAudio Project</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://github.com/x42/libltc/issues</bugs-to>
+               <remote-id type="github">x42/libltc</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to