summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-04-18 12:25:24 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-18 13:21:14 +0200
commit95ee142de6e5a824db851ff6087830d1b58b3ed8 (patch)
tree0ae7c2107eb9a63815b8eeb8d0a9dbdb618a3aa9 /media-libs/libltc
parentdev-lang/rust: don't install docs component in bootstrap compiler (diff)
downloadgentoo-95ee142de6e5a824db851ff6087830d1b58b3ed8.tar.gz
gentoo-95ee142de6e5a824db851ff6087830d1b58b3ed8.tar.bz2
gentoo-95ee142de6e5a824db851ff6087830d1b58b3ed8.zip
media-libs/libltc: new ebuild
thanks to Simon van der Veldt <simon.vanderveldt@gmail.com> Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libltc')
-rw-r--r--media-libs/libltc/Manifest1
-rw-r--r--media-libs/libltc/libltc-1.3.1.ebuild23
-rw-r--r--media-libs/libltc/libltc-9999.ebuild23
-rw-r--r--media-libs/libltc/metadata.xml12
4 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/libltc/Manifest b/media-libs/libltc/Manifest
new file mode 100644
index 000000000000..97ae3d630a04
--- /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 000000000000..55dfca50fbe9
--- /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 000000000000..55dfca50fbe9
--- /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 000000000000..703c168ad048
--- /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>proaudio@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>