# Copyright 2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 VALA_MIN_API_VERSION="0.24" inherit autotools gnome2-utils vala MY_PN="${PN#lightdm-}" DESCRIPTION="A slick-looking LightDM greeter" HOMEPAGE="https://github.com/linuxmint/slick-greeter" SRC_URI="https://github.com/linuxmint/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3.0" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND=" dev-libs/gobject-introspection x11-libs/gtk+:3[introspection,X] >=x11-misc/lightdm-1.12.0[vala] media-libs/libcanberra $(vala_depend) " RDEPEND="${DEPEND}" BDEPEND="" S="${WORKDIR}/${MY_PN}-${PV}" src_prepare() { default eautoreconf || die "eautoreconf failed" vala_src_prepare } pkg_preinst() { gnome2_schemas_savelist } pkg_postinst() { gnome2_schemas_update } pkg_postrm() { gnome2_schemas_update }