summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-01-15 17:46:42 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-01-15 17:46:42 +0000
commit4ca31c59fe6426bdb4fa721714193db87e9267d7 (patch)
treede06194ef5a059e311ad4df99157c36da247aa08 /sci-electronics
parentMarked ~x64-solaris (diff)
downloadgentoo-2-4ca31c59fe6426bdb4fa721714193db87e9267d7.tar.gz
gentoo-2-4ca31c59fe6426bdb4fa721714193db87e9267d7.tar.bz2
gentoo-2-4ca31c59fe6426bdb4fa721714193db87e9267d7.zip
Version bump to Qt4 snapshot. Thanks to Samuli Suominen <ssuominen@gentoo.org>. Fixes bug #300043
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/qucs/ChangeLog11
-rw-r--r--sci-electronics/qucs/qucs-0.0.14.ebuild33
-rw-r--r--sci-electronics/qucs/qucs-0.0.15.ebuild33
-rw-r--r--sci-electronics/qucs/qucs-0.0.15_p20100115.ebuild38
4 files changed, 47 insertions, 68 deletions
diff --git a/sci-electronics/qucs/ChangeLog b/sci-electronics/qucs/ChangeLog
index e2e70e07c884..6f70e89627d4 100644
--- a/sci-electronics/qucs/ChangeLog
+++ b/sci-electronics/qucs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-electronics/qucs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qucs/ChangeLog,v 1.22 2009/08/01 20:10:53 cryos Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qucs/ChangeLog,v 1.23 2010/01/15 17:46:42 hwoarang Exp $
+
+*qucs-0.0.15_p20100115 (15 Jan 2010)
+
+ 15 Jan 2010; Markos Chandras <hwoarang@gentoo.org> -qucs-0.0.14.ebuild,
+ -qucs-0.0.15.ebuild, +qucs-0.0.15_p20100115.ebuild:
+ Version bump to Qt4 snapshot. Thanks to Samuli Suominen
+ <ssuominen@gentoo.org>. Fixes bug #300043 . Older versions were removed
01 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> qucs-0.0.15.ebuild:
Tightened the freehdl dependency, closes bug 276611.
diff --git a/sci-electronics/qucs/qucs-0.0.14.ebuild b/sci-electronics/qucs/qucs-0.0.14.ebuild
deleted file mode 100644
index eff4cb26e4b0..000000000000
--- a/sci-electronics/qucs/qucs-0.0.14.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qucs/qucs-0.0.14.ebuild,v 1.2 2009/01/02 20:19:10 cryos Exp $
-
-EAPI=1
-
-inherit eutils
-
-DESCRIPTION="Quite Universal Circuit Simulator is a Qt based circuit simulator"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://qucs.sourceforge.net/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="x11-libs/qt:3
- sci-electronics/freehdl"
-
-src_compile() {
- myconf="--with-x $(use_enable debug)"
-
- econf ${myconf} || die "econf failed."
- emake || die "emake failed."
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed."
-
- doicon qucs/bitmaps/big.qucs.xpm
- make_desktop_entry qucs Qucs qucs "Qt;Science;Electronics"
-}
diff --git a/sci-electronics/qucs/qucs-0.0.15.ebuild b/sci-electronics/qucs/qucs-0.0.15.ebuild
deleted file mode 100644
index 355db990fb03..000000000000
--- a/sci-electronics/qucs/qucs-0.0.15.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qucs/qucs-0.0.15.ebuild,v 1.2 2009/08/01 20:10:53 cryos Exp $
-
-EAPI=1
-
-inherit eutils
-
-DESCRIPTION="Quite Universal Circuit Simulator is a Qt based circuit simulator"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://qucs.sourceforge.net/"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug"
-
-DEPEND="x11-libs/qt:3"
-RDEPEND="x11-libs/qt:3
- >=sci-electronics/freehdl-0.0.7"
-
-src_compile() {
- myconf="--with-x $(use_enable debug)"
-
- econf ${myconf} || die "econf failed."
- emake || die "emake failed."
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed."
-
- doicon qucs/bitmaps/big.qucs.xpm
- make_desktop_entry qucs Qucs qucs "Qt;Science;Electronics"
-}
diff --git a/sci-electronics/qucs/qucs-0.0.15_p20100115.ebuild b/sci-electronics/qucs/qucs-0.0.15_p20100115.ebuild
new file mode 100644
index 000000000000..7405490f344f
--- /dev/null
+++ b/sci-electronics/qucs/qucs-0.0.15_p20100115.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qucs/qucs-0.0.15_p20100115.ebuild,v 1.1 2010/01/15 17:46:42 hwoarang Exp $
+
+EAPI=2
+inherit cmake-utils eutils
+
+DESCRIPTION="Quite Universal Circuit Simulator is a Qt based circuit simulator"
+HOMEPAGE="http://qucs.sourceforge.net/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+DEPEND="x11-libs/qt-gui:4
+ x11-libs/qt-svg:4"
+
+S=${WORKDIR}/qucs-qt4
+
+DOCS="AUTHORS ChangeLog NEWS PLATFORMS README RELEASE THANKS TODO"
+
+src_prepare() {
+ sed -i \
+ -e 's/GNOME;Application/Qt:Science;Electronics/' \
+ -e '/Encoding/d' \
+ debian/qucs.desktop || die
+ sed -i \
+ -e 's:bitmaps:share/qucs/bitmaps:g' \
+ config.h.cmake qucs/bitmaps/CMakeLists.txt || die
+}
+
+src_install() {
+ cmake-utils_src_install
+ doicon qucs/bitmaps/big.qucs.xpm
+ domenu debian/qucs.desktop
+}