summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-01-05 19:02:26 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-01-05 19:02:26 +0000
commitad3c9482fbb1d7f09d46ceef74879d04589197a9 (patch)
tree5ed7d507cedc79d6f1188c4f870a4fcd9bfd4b09 /sci-electronics/fritzing
parentVersion bump. Fixes bug #497150. (diff)
downloadgentoo-2-ad3c9482fbb1d7f09d46ceef74879d04589197a9.tar.gz
gentoo-2-ad3c9482fbb1d7f09d46ceef74879d04589197a9.tar.bz2
gentoo-2-ad3c9482fbb1d7f09d46ceef74879d04589197a9.zip
Add myself as maintainer. Version bump. Fixes bug #496938.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'sci-electronics/fritzing')
-rw-r--r--sci-electronics/fritzing/ChangeLog10
-rw-r--r--sci-electronics/fritzing/fritzing-0.8.5b.ebuild57
-rw-r--r--sci-electronics/fritzing/metadata.xml5
3 files changed, 70 insertions, 2 deletions
diff --git a/sci-electronics/fritzing/ChangeLog b/sci-electronics/fritzing/ChangeLog
index 9a5107173319..f08abe1787d6 100644
--- a/sci-electronics/fritzing/ChangeLog
+++ b/sci-electronics/fritzing/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2013/08/04 04:46:58 mrueg Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/ChangeLog,v 1.10 2014/01/05 19:02:26 mrueg Exp $
+
+*fritzing-0.8.5b (05 Jan 2014)
+
+ 05 Jan 2014; Manuel Rüger <mrueg@gentoo.org> +fritzing-0.8.5b.ebuild,
+ metadata.xml:
+ Add myself as maintainer. Version bump. Fixes bug #496938.
*fritzing-0.8.3b (04 Aug 2013)
diff --git a/sci-electronics/fritzing/fritzing-0.8.5b.ebuild b/sci-electronics/fritzing/fritzing-0.8.5b.ebuild
new file mode 100644
index 000000000000..44b7fc33c6c9
--- /dev/null
+++ b/sci-electronics/fritzing/fritzing-0.8.5b.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/fritzing/fritzing-0.8.5b.ebuild,v 1.1 2014/01/05 19:02:26 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
+}
diff --git a/sci-electronics/fritzing/metadata.xml b/sci-electronics/fritzing/metadata.xml
index b71a8a2e034d..e27dea3929db 100644
--- a/sci-electronics/fritzing/metadata.xml
+++ b/sci-electronics/fritzing/metadata.xml
@@ -5,4 +5,9 @@
<email>idl0r@gentoo.org</email>
<name>Christian Ruppert</name>
</maintainer>
+ <maintainer>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ <description>CC him on bugs.</description>
+ </maintainer>
</pkgmetadata>