mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Signed-off-by: Jonas Frei <freijon@pm.me> Part-of: https://github.com/gentoo/gentoo/pull/43107 Closes: https://github.com/gentoo/gentoo/pull/43107 Signed-off-by: Sam James <sam@gentoo.org>
42 lines
808 B
Bash
42 lines
808 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
BUILD_DIR="${WORKDIR}/${P}-build"
|
|
|
|
inherit meson vala xdg
|
|
|
|
DESCRIPTION="Elementary OS library that extends GTK+"
|
|
HOMEPAGE="https://github.com/elementary/granite"
|
|
SRC_URI="https://github.com/elementary/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-3+"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
BDEPEND="
|
|
$(vala_depend)
|
|
virtual/pkgconfig
|
|
"
|
|
DEPEND="
|
|
dev-lang/sassc
|
|
>=dev-libs/glib-2.50:2
|
|
dev-libs/libgee:0.8[introspection]
|
|
gui-libs/gtk:4[introspection]
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
vala_setup
|
|
}
|
|
|
|
src_configure() {
|
|
# docs disabled due to: https://github.com/elementary/granite/issues/482
|
|
local emesonargs=(
|
|
-Ddocumentation=false
|
|
)
|
|
meson_src_configure
|
|
}
|