mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 23:19:31 +00:00
38 lines
961 B
Bash
38 lines
961 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..13} )
|
|
|
|
inherit desktop python-single-r1
|
|
|
|
MY_COMMIT="4f1e0a6b27ebf5d9b7508594188fe0f86c34ec52"
|
|
|
|
DESCRIPTION="Desktop notification integration for connman"
|
|
HOMEPAGE="https://gitlab.com/wavexx/connman-notify/"
|
|
SRC_URI="https://gitlab.com/wavexx/connman-notify/repository/${MY_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2"
|
|
S=${WORKDIR}/${PN}-${MY_COMMIT}-${MY_COMMIT}
|
|
|
|
EGIT_REPO_URI="https://gitlab.com/wavexx/connman-notify.git"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_cond_dep '
|
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
')
|
|
net-misc/connman
|
|
virtual/notification-daemon"
|
|
|
|
src_install() {
|
|
python_fix_shebang ${PN}
|
|
dobin ${PN}
|
|
dodoc README.rst
|
|
|
|
make_desktop_entry ${PN} ${PN} ${PN} Network
|
|
}
|