mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
gnome-extra/gnome-shell-extension-gsconnect: add 74
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gnome-shell-extension-gsconnect-72.tar.gz 935046 BLAKE2B 8d83a2f4624f0db3da25ba7e625f110a1a8142370a2ebe96dac51d59762067147c27de125a62163e1ed545bb04f75607b36896214dc43ad78177441171e97673 SHA512 d2d6931d945ac28884048c60107aa9daa9494d4863e37278830047acaa2706b84815952a1df9c9a2b3e63599b56ae7bc89cafb76980a66878ab44b4700bcf260
|
||||
DIST gnome-shell-extension-gsconnect-73.tar.gz 950838 BLAKE2B 7b17ec43b696b6fb949fde9463b935f3a5bc0bbd94cab3289e719d0c11ebc9d9fdec6bb434007aaf4df7fe7795fb249a8faaf6bf258fbe24080f4394e6020620 SHA512 f3e2e8eebe475b9b192cf7f6be4e843bcffbf526075a7242139e634488c48b73998bbc521e893694a7e1e898574db1339ffc1a3a7c886d769c3c478744a0747f
|
||||
DIST gnome-shell-extension-gsconnect-74.tar.gz 989161 BLAKE2B b288507a9a2b71b4f2c1f6d8a3a626f32d842cf3167988a38cae34ba29f949c8a8614649aa0f9bea95b8e0b1a2ad19610ec2ce93bbe4238857ec22d583dbe06e SHA512 68e2721dba5a214699415654ef2967bfff3f68d45b2d6cb814106808ade954549cc9c9c42e923cb09102b8d1ad0504c4d993a77bb49df74fbf20058d157495fb
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils meson virtualx xdg
|
||||
|
||||
DESCRIPTION="KDE Connect implementation for GNOME"
|
||||
HOMEPAGE="https://github.com/GSConnect/gnome-shell-extension-gsconnect"
|
||||
SRC_URI="https://github.com/GSConnect/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
# Upstream broke them and now they need to be run after pkg is installed or
|
||||
# a container needs to be used:
|
||||
# https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1786
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="dev-libs/glib:2"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-eselect/eselect-gnome-shell-extensions
|
||||
>=dev-libs/gjs-1.68
|
||||
>=gnome-base/gnome-shell-46
|
||||
gnome-base/gvfs
|
||||
gnome-extra/evolution-data-server
|
||||
|| ( media-libs/libcanberra media-libs/gsound )
|
||||
nautilus? (
|
||||
dev-python/nautilus-python
|
||||
gnome-base/nautilus[introspection] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
|
||||
# https://bugs.gentoo.org/694388
|
||||
meson_src_configure \
|
||||
-Dinstalled_tests=false \
|
||||
-Dnemo=false \
|
||||
$(meson_use nautilus)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
xdg_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
ebegin "Updating list of installed extensions"
|
||||
eselect gnome-shell-extensions update
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
||||
Reference in New Issue
Block a user