aboutsummaryrefslogtreecommitdiff
blob: 0f00bb9d7fcbb10d3ef0498b053aa4df5ac2af36 (plain)
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
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="Application/browser chooser"
HOMEPAGE="https://apps.gnome.org/app/re.sonny.Junction/"

if [[ ${PV} == *9999 ]]; then
	EGIT_REPO_URI="https://github.com/sonnyp/Junction.git"
	inherit git-r3
else
	SRC_URI="https://github.com/sonnyp/Junction/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
	S="${WORKDIR}/${P/j/J}"
fi

LICENSE="GPL-3+"
SLOT="0"

RDEPEND="${DEPEND}"

src_configure() {
	meson_src_configure \
		--datadir=/usr/share
}