diff options
-rw-r--r-- | sci-electronics/fritzing/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/fritzing/fritzing-0.8.3b.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/sci-electronics/fritzing/ChangeLog b/sci-electronics/fritzing/ChangeLog index db038170c10e..9a5107173319 100644 --- a/sci-electronics/fritzing/ChangeLog +++ b/sci-electronics/fritzing/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/fritzing # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/ChangeLog,v 1.8 2013/04/15 18:04:27 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/ChangeLog,v 1.9 2013/08/04 04:46:58 mrueg Exp $ + +*fritzing-0.8.3b (04 Aug 2013) + + 04 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +fritzing-0.8.3b.ebuild: + Non maintainer commit: Version bump 15 Apr 2013; Christian Ruppert <idl0r@gentoo.org> fritzing-0.7.12b.ebuild: Fritzing doesn't need minizip diff --git a/sci-electronics/fritzing/fritzing-0.8.3b.ebuild b/sci-electronics/fritzing/fritzing-0.8.3b.ebuild new file mode 100644 index 000000000000..836206f2c4dc --- /dev/null +++ b/sci-electronics/fritzing/fritzing-0.8.3b.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/fritzing-0.8.3b.ebuild,v 1.1 2013/08/04 04:46:58 mrueg Exp $ + +EAPI=5 + +inherit eutils qt4-r2 + +DESCRIPTION="Electronic Design Automation" +HOMEPAGE="http://fritzing.org/" +SRC_URI="http://fritzing.org/download/${PV}/source-tarball/${P}.source.tar.bz2" + +LICENSE="CC-BY-SA-3.0 GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsvg:4 + dev-qt/qtsql:4[sqlite] + dev-libs/quazip" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.40" + +S="${WORKDIR}/${P}.source" + +src_prepare() { + local translations= + + qt4-r2_src_prepare + + # 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* + + # Fritzing doesn't need zlib + sed -i -e 's:LIBS += -lz::' -e 's:-lminizip::' phoenix.pro || die + + edos2unix ${PN}.desktop + + # Somewhat evil but IMHO the best solution + for lang in $LINGUAS; 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 +} + +src_configure() { + eqmake4 DEFINES=QUAZIP_INSTALLED phoenix.pro +} |