diff options
author | 2020-08-24 10:38:13 +0200 | |
---|---|---|
committer | 2020-08-24 10:53:30 +0200 | |
commit | 237d2a394306f48855830f38544261b1f0d14a65 (patch) | |
tree | 47a2195b425c284154c0bcd8aa0f8bda1cd84943 /sci-misc | |
parent | kde-misc/kaptain: 0.73 version bump w/ Qt4 support (diff) | |
download | kde-sunset-237d2a394306f48855830f38544261b1f0d14a65.tar.gz kde-sunset-237d2a394306f48855830f38544261b1f0d14a65.tar.bz2 kde-sunset-237d2a394306f48855830f38544261b1f0d14a65.zip |
sci-misc/qcad: Import 3.21.2.0 from Gentoo Bugzilla
Initial ebuild work by Thomas Kear, Dirk Tilger and Massimo Burcheri.
- Added missing eclasses, missing quotes
- Dropped untested KEYWORDS, Qt5 support, L10N hacks
- Fixed indendation and cleaned up leading spaces
What a hack this upstream build system is though.
Bug: https://bugs.gentoo.org/498656
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/qcad/Manifest | 3 | ||||
-rw-r--r-- | sci-misc/qcad/qcad-3.21.2.0.ebuild | 55 |
2 files changed, 57 insertions, 1 deletions
diff --git a/sci-misc/qcad/Manifest b/sci-misc/qcad/Manifest index da330d01..c4fa3e52 100644 --- a/sci-misc/qcad/Manifest +++ b/sci-misc/qcad/Manifest @@ -1,5 +1,6 @@ -DIST qcad-2.0.5.0-1-community.src.tar.gz 4470033 SHA256 83327a9598c0ff042025601f5b4cd0582cde541297f3071b01cc0527ffe1511d +DIST qcad-2.0.5.0-1-community.src.tar.gz 4470033 BLAKE2B 82b289684f3b081f2338a08fd77d18f4445ebfcc2c9c8820fac3ab11934ee820970d6d1d0f562341edf160318c1c436c336a8928e822e6041c9d77ff601178ca SHA512 a1d9f37005da9a1af57a0398e0421d50bde9c927576a9ddb26e33606aa9c2a3507f886ee0a46fa4b474e14fb2420867999a28e3ae4d287cd317d2005bb8e8b28 DIST qcad-manual-cs-2.0.4.0-1.html.zip 1582180 SHA256 6738b455f6eae7a9a3128c0ff15fa43009a257c909ced7d2e7b5f17dff6c4d21 DIST qcad-manual-de-2.1.0.0-1.html.zip 1658559 SHA256 3c224f67b403a0a9742e406a16cb46c85add2b32e072dae4d1bd13d21125d99c DIST qcad-manual-en-2.1.0.0-1.html.zip 1195023 SHA256 091f3f57638274ef369874a7e49344ae35fadd1e0bd1da3fbb23175ba2f39134 DIST qcad-manual-hu-2.0.4.0-1.html.zip 1583042 SHA256 51b40b0ebe19c5e0e3cf4f192ed9f97ec411ed23f7ee4ea0594e3ac0cbb40c48 +DIST qcad-3.21.2.0.tar.gz 40087101 BLAKE2B 67401505c89843ae3ea56665b34dad6edd3fb1789a7a4b5651ef696741942f7369b5f4838d2450edd4f4f5dec7d7169098e82919849a4dfeed689ea837d4c24f SHA512 90f498a5c31dcbed6f68be6aada220d4350678a4c2e80a32a8bdafa8276ac054a70342652620f62821183d0f2db1fb8ebe31cb8d119dccd889df01b81db28c31 diff --git a/sci-misc/qcad/qcad-3.21.2.0.ebuild b/sci-misc/qcad/qcad-3.21.2.0.ebuild new file mode 100644 index 00000000..b570d9dd --- /dev/null +++ b/sci-misc/qcad/qcad-3.21.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop eutils qmake-utils xdg + +DESCRIPTION="Open Source 2D CAD" +HOMEPAGE="https://www.qcad.org/en/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/glib + dev-qt/designer:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qthelp:4 + dev-qt/qtopengl:4 + dev-qt/qtscript:4 + dev-qt/qtsql:4 + dev-qt/qtsvg:4 + dev-qt/qtwebkit:4 + dev-qt/qtxmlpatterns:4 + media-libs/glu + media-libs/mesa +" +RDEPEND="${DEPEND}" + +src_configure () { + eqmake4 -r +} + +src_install () { + #dobin ${FILESDIR}/qcad + #test -e ${S}/release/${PN} || ln ${S}/release/qcad-bin ${S}/release/${PN} + #dobin ${S}/release/${PN} + domenu "${S}"/*.desktop + doicon "${S}"/scripts/${PN}_icon.svg + doicon --size 256 "${S}"/scripts/${PN}_icon.png + + insinto /usr/lib/${PN}/ + doins -r scripts fonts patterns linetypes themes + insopts -m0755 + doins release/* + make_wrapper ${PN} /usr/lib/${PN}/qcad-bin "" /usr/lib/${PN}:/usr/lib/${PN}/plugins + doins -r plugins + + docinto examples + dodoc -r examples/* + docompress -x /usr/share/doc/${PF}/examples +} |