X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=media-libs%2Flibspiro%2Flibspiro-20200505.ebuild;fp=media-libs%2Flibspiro%2Flibspiro-20200505.ebuild;h=84d1bcdd7c80b7b1d290773d5a660e2e5708093a;hp=0000000000000000000000000000000000000000;hb=589eb26300fd37f17459ae69a66ef3bb66b08600;hpb=97278a6c49c4fd42482a2b8430065fbcb17a0757 diff --git a/media-libs/libspiro/libspiro-20200505.ebuild b/media-libs/libspiro/libspiro-20200505.ebuild new file mode 100644 index 0000000..84d1bcd --- /dev/null +++ b/media-libs/libspiro/libspiro-20200505.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ -z ${PV%%*9999} ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fontforge/${PN}.git" +else + MY_PV="${PV}" + if [[ -z ${PV%%*_p*} ]]; then + inherit vcs-snapshot + MY_PV="8c7a31e" + fi + SRC_URI=" + https://github.com/fontforge/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz + " + RESTRICT="primaryuri" + KEYWORDS="~amd64 ~x86" +fi +inherit autotools + +DESCRIPTION="A library for drawing beautiful curves" +HOMEPAGE="https://github.com/fontforge/libspiro" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +}