]> Projects - orf-overlay.git/commitdiff Test
dev-libs/libsfdo: add 9999
authorOrfeas <redacted>
Thu, 18 Sep 2025 14:02:55 +0000 (17:02 +0300)
committerOrfeas <redacted>
Thu, 18 Sep 2025 14:02:55 +0000 (17:02 +0300)
dev-libs/libsfdo/libsfdo-9999.ebuild [new file with mode: 0644]

diff --git a/dev-libs/libsfdo/libsfdo-9999.ebuild b/dev-libs/libsfdo/libsfdo-9999.ebuild
new file mode 100644 (file)
index 0000000..b2064cb
--- /dev/null
@@ -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
+}