mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-embedded/imsprog: fix incompatibility with systemd profile
Bug: https://bugs.gentoo.org/973053 Signed-off-by: Christian Schoffit <christianschoffit@gmail.com>
This commit is contained in:
47
dev-embedded/imsprog/imsprog-1.8.3-r1.ebuild
Normal file
47
dev-embedded/imsprog/imsprog-1.8.3-r1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake udev
|
||||
|
||||
DESCRIPTION="I2C, MicroWire and SPI EEPROM/Flash chip Programmer"
|
||||
HOMEPAGE="https://github.com/bigbigmdm/IMSProg"
|
||||
SRC_URI="https://github.com/bigbigmdm/IMSProg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S=${WORKDIR}/IMSProg-${PV}
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libusb
|
||||
dev-qt/qtwidgets
|
||||
dev-qt/qtnetwork
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
dev-qt/linguist-tools
|
||||
dev-util/pkgconf
|
||||
|| (
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-utils
|
||||
)
|
||||
app-arch/gzip
|
||||
"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
mv "${D}"/usr/share/doc/imsprog/* "${D}"/usr/share/doc/${PF} || die
|
||||
rmdir "${D}"/usr/share/doc/imsprog || die "/usr/share/doc/imsprog not empty"
|
||||
gunzip "${D}"/usr/share/man/man1/*
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user