2021-07-18 19:42:05 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
2021-07-18 19:50:44 +02:00
|
|
|
VALA_USE_DEPEND="vapigen"
|
2021-07-18 19:42:05 +02:00
|
|
|
|
|
|
|
inherit vala meson gnome2-utils git-r3 xdg
|
|
|
|
|
|
|
|
DESCRIPTION="Building blocks for modern GNOME applications."
|
|
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/libadwaita"
|
|
|
|
SRC_URI="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/main/libadwaita-main.tar.gz"
|
|
|
|
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libadwaita.git"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm64"
|
2021-07-18 19:50:44 +02:00
|
|
|
IUSE="+vala"
|
2021-07-18 19:42:05 +02:00
|
|
|
REQUIRED_USE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
2021-07-18 19:50:44 +02:00
|
|
|
BDEPEND="
|
|
|
|
vala? ( $(vala_depend) )
|
|
|
|
dev-util/meson
|
|
|
|
"
|
2021-07-18 19:42:05 +02:00
|
|
|
|
|
|
|
S="${WORKDIR}/$PN-${PV}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
meson_src_install
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|