From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/fritzing/
Date: Fri, 1 Jul 2016 20:02:18 +0000 (UTC) [thread overview]
Message-ID: <1467403255.53c843126785b377f6cbca9d2ea03001f9153dbd.soap@gentoo> (raw)
commit: 53c843126785b377f6cbca9d2ea03001f9153dbd
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 19:20:51 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jul 1 20:00:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c84312
sci-electronics/fritzing: Install parts library with 0.9.2b #548624
Gentoo-Bug: https://bugs.gentoo.org/548624
- Install readme.md
- Fix missing Intel bin icon
https://github.com/fritzing/fritzing-parts/commit/716560e9
- Use Bash extended test command
- Add slot-operator to boost
- Update to EAPI 6
- Declare lang
- Replace LINGUAS with L10N
Suggested-by: David Seifert <soap <AT> gentoo.org>
- Update LICENSE
- Add missing '|| die's
- Remove unnecessary edos2unix
https://github.com/gentoo/gentoo/pull/1744
Suggested-by: Gokturk Yuksek <gokturk <AT> gentoo.org>
- Ensure quazip built with Qt5
Gentoo-Bug: https://bugs.gentoo.org/562490
Suggested-by: Carl Michal <michal <AT> physics.ubc.ca>
Closes: https://github.com/gentoo/gentoo/pull/1744
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-electronics/fritzing/Manifest | 1 +
sci-electronics/fritzing/fritzing-0.9.2b-r1.ebuild | 77 ++++++++++++++++++++++
2 files changed, 78 insertions(+)
diff --git a/sci-electronics/fritzing/Manifest b/sci-electronics/fritzing/Manifest
index a37247a..f77b27b 100644
--- a/sci-electronics/fritzing/Manifest
+++ b/sci-electronics/fritzing/Manifest
@@ -1,2 +1,3 @@
DIST fritzing-0.8.7b.source.tar.bz2 20007914 SHA256 7d74418863a9e3b3a4eed171b8023ddea426125f08dc83ed4c55a05d39948eb4 SHA512 f45b2d4c62227ae7bf10a481775542ce5eba1ed3d9ea45e16b60517113e2af2762a8cf1155240c7242dc79886b693319e335891fa633aa41e4699ab916a7f9e9 WHIRLPOOL 385979f6edbcb5816e5c5e0872cf74e1bdd54885af4779fdbfd29e60ed8b3349265375a74968c3bae2827e5b28897b05f3f7f36a48f8f709cc0e85a2987ded16
DIST fritzing-0.9.2b.tar.gz 10913985 SHA256 6e9dbb94a4ca5e23effc2056f471c78913b9efa4c154ced94de8f72bfe29735f SHA512 a8b6d99c4e08f86d7a7cc6574053e8b1af565a3919cb2fc406e67972052b3fa3ded002be43e4fd0345189e4e1f3cecb3851cd14711efd83ccbcbef4cbd135c58 WHIRLPOOL 70a3e310ee8f1e53e63ca7a56b9f93808e5576b8ce0995cca470a787840e5cebad7e2b357148773610971dc2db777d581a9e62bbf94fedfbd104960bab9436f6
+DIST fritzing-parts-0.9.2b.tar.gz 15924206 SHA256 5f5f5e26bfc33911f57b1620912fdf0a834c50d196b930ef70e784f3a447194b SHA512 055c866532c4a09a7de3315fffc485c6be5a576e998fca7b001faae513da86d451ca8ed39583108ec54472ab0e1d8b953c192efcf93e5c19139f0fa83484a549 WHIRLPOOL 214bd62863d121cf6944a1bda7b0da735bc1971b93a9f439cc504b3e3df37599da110cf30073d982b63ecd1557f2cbd218b0cdc5818b69cea5f32c8f3a8051f5
diff --git a/sci-electronics/fritzing/fritzing-0.9.2b-r1.ebuild b/sci-electronics/fritzing/fritzing-0.9.2b-r1.ebuild
new file mode 100644
index 0000000..83fd5c3
--- /dev/null
+++ b/sci-electronics/fritzing/fritzing-0.9.2b-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PARTS_P="${PN}-parts-${PV}"
+
+inherit qmake-utils
+
+DESCRIPTION="Electronic Design Automation"
+HOMEPAGE="http://fritzing.org/"
+SRC_URI="https://github.com/fritzing/fritzing-app/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/fritzing/fritzing-parts/archive/${PV}.tar.gz -> ${PARTS_P}.tar.gz"
+
+LICENSE="CC-BY-SA-3.0 GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtserialport:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-libs/quazip[qt5]"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.40:="
+
+S="${WORKDIR}/${PN}-app-${PV}"
+
+DOCS="readme.md"
+
+src_prepare() {
+ local lang translations=
+
+ # Get a rid of the bundled libs
+ # Bug 412555 and
+ # https://code.google.com/p/fritzing/issues/detail?id=1898
+ rm -rf src/lib/quazip/ pri/quazip.pri src/lib/boost* || die
+
+ # Fritzing doesn't need zlib
+ sed -i -e 's:LIBS += -lz::' -e 's:-lminizip::' phoenix.pro || die
+
+ # Somewhat evil but IMHO the best solution
+ for lang in $L10N; do
+ lang=${lang/linguas_}
+ [[ -f "translations/${PN}_${lang}.qm" ]] && translations+=" translations/${PN}_${lang}.qm"
+ done
+ if [[ -n "${translations}" ]]; then
+ sed -i -e "s:\(translations.extra =\) .*:\1 cp -p ${translations} \$(INSTALL_ROOT)\$\$PKGDATADIR/translations\r:" phoenix.pro || die
+ else
+ sed -i -e "s:translations.extra = .*:\r:" phoenix.pro || die
+ fi
+
+ # Fix missing Intel bin icon
+ # https://github.com/fritzing/fritzing-parts/commit/716560e9
+ sed -i -e 's:Intel.png:intel.png:' bins/more/intel.fzb || die
+
+ default
+}
+
+src_configure() {
+ eqmake5 DEFINES=QUAZIP_INSTALLED phoenix.pro
+}
+
+src_install() {
+ INSTALL_ROOT="${D}" default
+
+ insinto /usr/share/fritzing/parts
+ doins -r "${WORKDIR}/${PARTS_P}"/*
+}
next reply other threads:[~2016-07-01 20:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 20:02 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-09-10 0:29 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/fritzing/ Sam James
2022-09-09 16:09 Andrew Ammerlaan
2021-02-24 16:21 Andreas Sturmlechner
2021-02-23 19:53 Andreas Sturmlechner
2021-02-15 4:01 Sam James
2020-10-23 12:34 Andreas Sturmlechner
2020-07-03 23:22 Aaron Bauman
2017-01-07 19:57 Andreas Sturmlechner
2016-10-28 20:18 Michael Palimaka
2016-07-07 22:50 Austin English
2016-07-04 18:44 Christian Ruppert
2016-01-16 17:48 Manuel RĂ¼ger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467403255.53c843126785b377f6cbca9d2ea03001f9153dbd.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox