public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: sci-electronics/qucs/
@ 2020-08-14  9:06 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-08-14  9:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c512c4528202ea8de782ebad959c804f6fd2ae94
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 23:22:18 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 09:06:30 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=c512c452

sci-electronics/qucs: Import 0.0.18 from Gentoo repo before last-rites

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-electronics/qucs/metadata.xml       | 19 ++++-----
 sci-electronics/qucs/qucs-0.0.18.ebuild | 68 +++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 11 deletions(-)

diff --git a/sci-electronics/qucs/metadata.xml b/sci-electronics/qucs/metadata.xml
index 77a00371..9ad02b65 100644
--- a/sci-electronics/qucs/metadata.xml
+++ b/sci-electronics/qucs/metadata.xml
@@ -1,15 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
-  <maintainer>
-    <email>cryos@gentoo.org</email>
-  </maintainer>
-  <longdescription>
-  Qucs is a Qt based integrated circuit simulator. It allows you to set up a
-  circuit with a graphical user interface and simulate the large-signal,
-  small-signal and noise behaviour of the circuit. The simulation results can
-  then be viewed graphically. Qucsator is made available as a command line
-  simulation backend.
-  </longdescription>
+	<!-- maintainer-needed -->
+	<longdescription>
+	Qucs is a Qt based integrated circuit simulator. It allows you to set up a
+	circuit with a graphical user interface and simulate the large-signal,
+	small-signal and noise behaviour of the circuit. The simulation results can
+	then be viewed graphically. Qucsator is made available as a command line
+	simulation backend.
+	</longdescription>
 </pkgmetadata>

diff --git a/sci-electronics/qucs/qucs-0.0.18.ebuild b/sci-electronics/qucs/qucs-0.0.18.ebuild
new file mode 100644
index 00000000..dfb70bad
--- /dev/null
+++ b/sci-electronics/qucs/qucs-0.0.18.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Quite Universal Circuit Simulator in Qt4"
+HOMEPAGE="http://qucs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="dev-qt/qtcore:4[qt3support]
+	dev-qt/qtgui:4[qt3support]
+	dev-qt/qtscript:4
+	dev-qt/qtsvg:4
+	dev-qt/qt3support:4
+	x11-libs/libX11:0="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
+src_prepare() {
+	default
+
+	# oh my, they strip -g out of C*FLAGS and force -s into LDFLAGS
+	# note: edit .ac first, then generated files, so that the latter
+	# have newer timestamp and not trigger regen
+	sed -i \
+		-e 's/C.*FLAGS.*sed.*-g.*$/:/' \
+		-e 's/C.*FLAGS.*-O0.*$/:/' \
+		-e 's/LDFLAGS.*-s.*$/:/' \
+		configure.ac asco/configure.ac qucs-core/configure.ac \
+		configure asco/configure qucs-core/configure \
+		|| die "C*FLAGS and LDFLAGS sanitization sed failed"
+}
+
+src_configure() {
+	local myconf=(
+		# enables asserts and debug codepaths
+		$(use_enable debug)
+
+		# avoid automagic dep
+		# TODO: add support for it
+		--disable-mpi
+	)
+
+	# automagic default on clang++
+	tc-export CXX
+
+	# the package doesn't use pkg-config on Linux, only on Darwin
+	# very smart of upstream...
+	append-ldflags $( $(tc-getPKG_CONFIG) --libs-only-L \
+			QtCore QtGui QtScript QtSvg QtXml Qt3Support )
+
+	econf "${myconf[@]}"
+}
+
+pkg_postinst() {
+	if ! has_version 'sci-electronics/freehdl'; then
+		elog "If you would like to be able to run digital simulations, please install:"
+		elog "  sci-electronics/freehdl"
+	fi
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/kde-sunset:master commit in: sci-electronics/qucs/
@ 2020-11-30  2:35 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-11-30  2:35 UTC (permalink / raw
  To: gentoo-commits

commit:     c52e6928fb0973b5a4927c0f2a7a0d4059986a5a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 02:20:53 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 02:20:53 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=c52e6928

sci-electronics/qucs: Drop 0.0.15

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-electronics/qucs/qucs-0.0.15.ebuild | 31 -------------------------------
 1 file changed, 31 deletions(-)

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 67c11b24..00000000
--- a/sci-electronics/qucs/qucs-0.0.15.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-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="dev-qt/qt-meta:3"
-RDEPEND="dev-qt/qt-meta:3
-	>=sci-electronics/freehdl-0.0.7"
-
-src_configure() {
-	econf --with-x $(use_enable debug)
-}
-
-src_install() {
-	emake install DESTDIR="${D}" || die
-
-	newicon qucs/bitmaps/big.qucs.xpm qucs.xpm || die
-	make_desktop_entry qucs Qucs qucs "Qt;Science;Electronics"
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-30  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-30  2:35 [gentoo-commits] proj/kde-sunset:master commit in: sci-electronics/qucs/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2020-08-14  9:06 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox