summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild')
-rw-r--r--sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild b/sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild
new file mode 100644
index 00000000000..ce42f1f85ac
--- /dev/null
+++ b/sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="Free EDA software to develop printed circuit boards"
+HOMEPAGE="http://librepcb.org/"
+MY_P="LibrePCB-first_pcb"
+SRC_URI="https://github.com/LibrePCB/LibrePCB/archive/first_pcb.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtopengl:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtxml:5
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i '/Version/d' packaging/unix/librepcb.desktop || die
+ default
+}
+
+src_configure() {
+ eqmake5 -r PREFIX="/usr"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}