sci-electronics/librepcb: new package.
authorPetros Siligkounas <petross404@gmail.com>
Wed, 27 Jun 2018 15:28:00 +0000 (18:28 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 14 Aug 2018 21:20:41 +0000 (23:20 +0200)
Free EDA software to develop printed circuit boards.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9342

sci-electronics/librepcb/Manifest [new file with mode: 0644]
sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild [new file with mode: 0644]
sci-electronics/librepcb/librepcb-9999.ebuild [new file with mode: 0644]
sci-electronics/librepcb/metadata.xml [new file with mode: 0644]

diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest
new file mode 100644 (file)
index 0000000..e0651c5
--- /dev/null
@@ -0,0 +1 @@
+DIST LibrePCB-first_pcb.tar.gz 4661241 BLAKE2B c725b89e0ee67db2c68d806b5ed3eeda2326e05c10cc9fda37e9f3bf720b746a1ec6e3e31b130f08686e467cca737995a6a927a828b4d6390c9020d744b6b0e5 SHA512 04edb90aeb757e50dae66b5bf051455b4ea26b7ba4f953cfbc44a737c523f926834c6821de458f70842780790c94a5440313f3e1d58c2a91119a55898fb1d74b
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 (file)
index 0000000..ce42f1f
--- /dev/null
@@ -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
+}
diff --git a/sci-electronics/librepcb/librepcb-9999.ebuild b/sci-electronics/librepcb/librepcb-9999.ebuild
new file mode 100644 (file)
index 0000000..f33d53c
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils git-r3
+
+DESCRIPTION="Free EDA software to develop printed circuit boards"
+HOMEPAGE="http://librepcb.org/"
+EGIT_REPO_URI="https://github.com/LibrePCB/LibrePCB.git"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+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_configure() {
+       eqmake5 -r PREFIX="/usr"
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+}
diff --git a/sci-electronics/librepcb/metadata.xml b/sci-electronics/librepcb/metadata.xml
new file mode 100644 (file)
index 0000000..141fbb7
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>petross404@gmail.com</email>
+               <name>Petros S</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>