From: Orfeas Date: Thu, 18 Sep 2025 14:02:55 +0000 (+0300) Subject: dev-libs/libsfdo: add 9999 X-Git-Url: https://git.orfeas.xyz/?a=commitdiff_plain;h=e90015687dd640dcc4d8dc77298785bb7d7820e3;p=orf-overlay.git dev-libs/libsfdo: add 9999 --- diff --git a/dev-libs/libsfdo/libsfdo-9999.ebuild b/dev-libs/libsfdo/libsfdo-9999.ebuild new file mode 100644 index 0000000..b2064cb --- /dev/null +++ b/dev-libs/libsfdo/libsfdo-9999.ebuild @@ -0,0 +1,31 @@ +EAPI=8 + +inherit meson + +DESCRIPTION="A collection of libraries which implement some of the XDG specifications." +HOMEPAGE="https://github.com/jlindgren90/libsfdo" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jlindgren90/libsfdo.git" +else + SRC_URI="https://github.com/jlindgren90/libsfdo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use test tests) + ) + + meson_src_configure +}