summaryrefslogtreecommitdiffstats
path: root/dev-libs/libsfdo/libsfdo-0.1.3.ebuild
blob: b2064cbcdd568a69bc0c90e655b22e70b1b3be9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}