--- /dev/null
+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
+}