commit:     ee9e69dfee46c5f8279d73d79b1d0629e69a9473
Author:     Petros Siligkounas <petross404 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 27 15:28:00 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 21:20:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9e69df

sci-electronics/librepcb: new package.

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                  |  1 +
 .../librepcb/librepcb-0.1.0_p201805.ebuild         | 45 ++++++++++++++++++++++
 sci-electronics/librepcb/librepcb-9999.ebuild      | 37 ++++++++++++++++++
 sci-electronics/librepcb/metadata.xml              | 12 ++++++
 4 files changed, 95 insertions(+)

diff --git a/sci-electronics/librepcb/Manifest 
b/sci-electronics/librepcb/Manifest
new file mode 100644
index 00000000000..e0651c56836
--- /dev/null
+++ b/sci-electronics/librepcb/Manifest
@@ -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
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
+}

diff --git a/sci-electronics/librepcb/librepcb-9999.ebuild 
b/sci-electronics/librepcb/librepcb-9999.ebuild
new file mode 100644
index 00000000000..f33d53c8b45
--- /dev/null
+++ b/sci-electronics/librepcb/librepcb-9999.ebuild
@@ -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
index 00000000000..141fbb79500
--- /dev/null
+++ b/sci-electronics/librepcb/metadata.xml
@@ -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>[email protected]</email>
+               <name>Petros S</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to