aboutsummaryrefslogtreecommitdiffstats
path: root/gui-libs/libpanel/libpanel-1.0_alpha1.ebuild
blob: 0dda397a26ce70cfab6a72ca91da97f9f37aa95f (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="dock/panel library for GTK 4"

HOMEPAGE="https://gitlab.gnome.org/GNOME/libpanel"

MYPV="1.0.alpha1"
SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MYPV}/${PN}-${MYPV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${MYPV}"

LICENSE="LGPL-3"

SLOT="0"

KEYWORDS="~amd64"

IUSE="vala introspection examples"

RDEPEND=">=dev-libs/glib-2.72
>=gui-libs/gtk-4.6
>=gui-libs/libadwaita-1.0
vala? ( dev-lang/vala )
introspection? ( dev-libs/gobject-introspection )"

DEPEND="${RDEPEND}"

BDEPEND="virtual/pkgconfig
dev-util/cmake
>=dev-util/meson-0.60"

PATCHES=(
	# i know this is stupid but whatever
	"${FILESDIR}/${P}-gtk4.6.patch"
)

src_configure() {
	local emesonargs=(
		$(meson_use vala vapi)
		$(meson_feature introspection)
		$(meson_use examples install-examples)
	)
	meson_src_configure
}