diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-04-21 00:43:37 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-04-21 00:43:37 +0000 |
commit | efaac50d86670fbe246bce832e69e71b3360a6d0 (patch) | |
tree | 3f1008909c9e28c778059308955e7b0532ec5ec7 /sci-electronics | |
parent | Clean up. (diff) | |
download | gentoo-2-efaac50d86670fbe246bce832e69e71b3360a6d0.tar.gz gentoo-2-efaac50d86670fbe246bce832e69e71b3360a6d0.tar.bz2 gentoo-2-efaac50d86670fbe246bce832e69e71b3360a6d0.zip |
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/fritzing/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/fritzing/fritzing-0.9.2b.ebuild | 59 |
2 files changed, 66 insertions, 2 deletions
diff --git a/sci-electronics/fritzing/ChangeLog b/sci-electronics/fritzing/ChangeLog index 44f1e25684a1..f532dbb49a0f 100644 --- a/sci-electronics/fritzing/ChangeLog +++ b/sci-electronics/fritzing/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/fritzing -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/ChangeLog,v 1.12 2014/06/12 13:59:16 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/ChangeLog,v 1.13 2015/04/21 00:43:37 mrueg Exp $ + +*fritzing-0.9.2b (21 Apr 2015) + + 21 Apr 2015; Manuel Rüger <mrueg@gentoo.org> +fritzing-0.9.2b.ebuild: + Version bump. 12 Jun 2014; Manuel Rüger <mrueg@gentoo.org> -fritzing-0.8.5b.ebuild: Cleanup old. diff --git a/sci-electronics/fritzing/fritzing-0.9.2b.ebuild b/sci-electronics/fritzing/fritzing-0.9.2b.ebuild new file mode 100644 index 000000000000..6191c7b4a251 --- /dev/null +++ b/sci-electronics/fritzing/fritzing-0.9.2b.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/fritzing-0.9.2b.ebuild,v 1.1 2015/04/21 00:43:37 mrueg Exp $ + +EAPI=5 + +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" + +LICENSE="CC-BY-SA-3.0 GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtconcurrent:5 + dev-qt/qtserialport:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + dev-libs/quazip" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.40" + +S="${WORKDIR}/${PN}-app-${PV}" + +src_prepare() { + local 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* + + # 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() { + eqmake5 DEFINES=QUAZIP_INSTALLED PREFIX="${D}"/usr phoenix.pro +} |