diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-18 16:58:23 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-18 16:58:34 +0200 |
commit | 37ba6285d6da6735f03895a3c1569612378cffeb (patch) | |
tree | f8ad8c8b7cce39c1a8a5b1231b4e1dbea37686c8 /media-libs/libltc/libltc-1.3.1-r1.ebuild | |
parent | mail-filter/amavisd-milter: Version bump for 1.7.1 (diff) | |
download | gentoo-37ba6285d6da6735f03895a3c1569612378cffeb.tar.gz gentoo-37ba6285d6da6735f03895a3c1569612378cffeb.tar.bz2 gentoo-37ba6285d6da6735f03895a3c1569612378cffeb.zip |
media-libs/libltc: removing static libs
Closes: https://bugs.gentoo.org/783801
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-1.3.1-r1.ebuild')
-rw-r--r-- | media-libs/libltc/libltc-1.3.1-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/libltc/libltc-1.3.1-r1.ebuild b/media-libs/libltc/libltc-1.3.1-r1.ebuild new file mode 100644 index 000000000000..37f4e75a206e --- /dev/null +++ b/media-libs/libltc/libltc-1.3.1-r1.ebuild @@ -0,0 +1,28 @@ +# 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) +} + +src_install() { + default + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |