diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-18 12:25:24 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-18 13:21:14 +0200 |
commit | 95ee142de6e5a824db851ff6087830d1b58b3ed8 (patch) | |
tree | 0ae7c2107eb9a63815b8eeb8d0a9dbdb618a3aa9 /media-libs/libltc/libltc-9999.ebuild | |
parent | dev-lang/rust: don't install docs component in bootstrap compiler (diff) | |
download | gentoo-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/libltc-9999.ebuild')
-rw-r--r-- | media-libs/libltc/libltc-9999.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
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) +} |