diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-11-29 18:12:37 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-11-29 23:32:00 +0100 |
| commit | e7d86bea7c9aecfc65faaa76f35f693bfa3f621a (patch) | |
| tree | cab48ffc6732b17cf0b360d0fd44e7af4613cde3 /dev-embedded | |
| parent | e0ad4f586d04e6796869ffdb9eaee7f257ae3f39 (diff) | |
| download | gentoo-e7d86bea7c9aecfc65faaa76f35f693bfa3f621a.tar.gz gentoo-e7d86bea7c9aecfc65faaa76f35f693bfa3f621a.tar.bz2 gentoo-e7d86bea7c9aecfc65faaa76f35f693bfa3f621a.zip | |
dev-embedded/cpik: Switch to Qt6, update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/966833
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-embedded')
| -rw-r--r-- | dev-embedded/cpik/cpik-0.7.4_p4-r1.ebuild | 41 | ||||
| -rw-r--r-- | dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch | 6 |
2 files changed, 44 insertions, 3 deletions
diff --git a/dev-embedded/cpik/cpik-0.7.4_p4-r1.ebuild b/dev-embedded/cpik/cpik-0.7.4_p4-r1.ebuild new file mode 100644 index 000000000000..f55608b21c4b --- /dev/null +++ b/dev-embedded/cpik/cpik-0.7.4_p4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/_p/-}" +MY_P="${PN}-${MY_PV}" +inherit qmake-utils + +DESCRIPTION="C compiler for PIC18 devices" +HOMEPAGE="http://pikdev.free.fr/" +SRC_URI="http://pikdev.free.fr/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-qt/qtbase:6" + +DOCS=( ${MY_PV/-*/}/doc/cpik-{0.5.2-tutorial,0.7.4-4-doc}.pdf ) +HTML_DOCS=( ${MY_PV/-*/}/doc/html/. ) + +PATCHES=( "${FILESDIR}/${P}-gcc6.patch" ) + +src_prepare() { + default + + # installs docs in wrong path + sed -e '/INSTALLS += docs/d' -i "${PN}"*.pro || die +} + +src_configure() { + eqmake6 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + dosym "${PN}-${MY_PV/-*/}" "/usr/bin/${PN}" +} diff --git a/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch b/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch index c1f41cd7e6e0..f0b95dc371f8 100644 --- a/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch +++ b/dev-embedded/cpik/files/cpik-0.7.4_p4-gcc6.patch @@ -1,6 +1,6 @@ -diff -Naur cpik-0.7.2-4-orig/utility.h cpik-0.7.2-4/utility.h ---- cpik-0.7.2-4-orig/utility.h 2017-12-03 03:47:35.302504007 +0100 -+++ cpik-0.7.2-4/utility.h 2017-12-03 03:47:59.537116442 +0100 +diff -Naur a/utility.h b/utility.h +--- a/utility.h 2017-12-03 03:47:35.302504007 +0100 ++++ b/utility.h 2017-12-03 03:47:59.537116442 +0100 @@ -75,7 +75,7 @@ static bool stringTo ( const string& s, T& result ) { |
