diff options
Diffstat (limited to 'dev-libs')
| -rw-r--r-- | dev-libs/libsfdo/libsfdo-9999.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ | |||
| 1 | EAPI=8 | ||
| 2 | |||
| 3 | inherit meson | ||
| 4 | |||
| 5 | DESCRIPTION="A collection of libraries which implement some of the XDG specifications." | ||
| 6 | HOMEPAGE="https://github.com/jlindgren90/libsfdo" | ||
| 7 | |||
| 8 | if [[ ${PV} == 9999 ]]; then | ||
| 9 | inherit git-r3 | ||
| 10 | EGIT_REPO_URI="https://github.com/jlindgren90/libsfdo.git" | ||
| 11 | else | ||
| 12 | SRC_URI="https://github.com/jlindgren90/libsfdo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
| 13 | KEYWORDS="~amd64" | ||
| 14 | fi | ||
| 15 | |||
| 16 | LICENSE="BSD-2" | ||
| 17 | SLOT="0" | ||
| 18 | IUSE="test" | ||
| 19 | RESTRICT="!test? ( test )" | ||
| 20 | |||
| 21 | BDEPEND=" | ||
| 22 | virtual/pkgconfig | ||
| 23 | " | ||
| 24 | |||
| 25 | src_configure() { | ||
| 26 | local emesonargs=( | ||
| 27 | $(meson_use test tests) | ||
| 28 | ) | ||
| 29 | |||
| 30 | meson_src_configure | ||
| 31 | } | ||
