guru/net-wireless/easyroam-desktop/easyroam-desktop-1.3.5.ebuild
Liv (pelsh) Hugger b45d95ac1f
net-wireless/easyroam-desktop: patch desktop file
Signed-off-by: Liv (pelsh) Hugger <gentoo@liv.nrw>
2024-12-18 13:07:55 +01:00

54 lines
1.1 KiB
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker xdg-utils
DESCRIPTION="Easily connect your device to eduroam®."
HOMEPAGE="https://www.easyroam.de/"
SRC_URI="https://packages.easyroam.de/repos/easyroam-desktop/pool/main/e/easyroam-desktop/easyroam_connect_desktop-${PV}+${PV}-linux.deb"
S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* amd64"
PATCHES=(
"${FILESDIR}"/0001-fix-desktop-file.patch
)
RDEPEND="
dev-libs/glib
x11-libs/gtk+
x11-libs/pango
x11-libs/cairo
media-libs/harfbuzz
app-crypt/libsecret
net-misc/networkmanager
net-libs/webkit-gtk:4.1[keyring]
net-libs/libsoup:3.0
net-libs/glib-networking
"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i \
"s/Exec=easyroam_connect_desktop/Exec=\/usr\/share\/easyroam_connect_desktop\/easyroam_connect_desktop/" \
"${S}/usr/share/applications/easyroam_connect_desktop.desktop"
default
}
src_install() {
mv "${S}/usr" "${D}/"
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}