You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
945 B
45 lines
945 B
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit gnome2-utils meson
|
|
|
|
MY_PN="desktop-icons-ng"
|
|
MY_P="${MY_PN}-${PV}"
|
|
COMMIT="d447154f7a1a9b0871539a55df5617385307642f"
|
|
|
|
DESCRIPTION="Desktop icon support for GNOME Shell"
|
|
HOMEPAGE="https://gitlab.com/rastersoft/desktop-icons-ng"
|
|
SRC_URI="https://gitlab.com/rastersoft/desktop-icons-ng/-/archive/${PV}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
COMMON_DEPEND="dev-libs/glib:2"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
app-eselect/eselect-gnome-shell-extensions
|
|
>=gnome-base/gnome-shell-45
|
|
>=gnome-base/nautilus-3.38
|
|
"
|
|
DEPEND="${COMMON_DEPEND}"
|
|
BDEPEND=""
|
|
|
|
S="${WORKDIR}/${MY_P}-${COMMIT}"
|
|
|
|
pkg_preinst() {
|
|
gnome2_schemas_savelist
|
|
}
|
|
|
|
pkg_postinst() {
|
|
gnome2_schemas_update
|
|
ebegin "Updating list of installed extensions"
|
|
eselect gnome-shell-extensions update
|
|
eend $?
|
|
}
|
|
|
|
pkg_postrm() {
|
|
gnome2_schemas_update
|
|
}
|