diff options
author | Petros Siligkounas <petross404@gmail.com> | 2018-06-27 18:28:00 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-08-14 23:20:41 +0200 |
commit | ee9e69dfee46c5f8279d73d79b1d0629e69a9473 (patch) | |
tree | 6c48562951b0e8d0d9d2011c75529fc87fd9e4c6 /sci-electronics/librepcb | |
parent | net-dialup/lrzsz: EAPI 7 bump. (diff) | |
download | gentoo-ee9e69dfee46c5f8279d73d79b1d0629e69a9473.tar.gz gentoo-ee9e69dfee46c5f8279d73d79b1d0629e69a9473.tar.bz2 gentoo-ee9e69dfee46c5f8279d73d79b1d0629e69a9473.zip |
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
Diffstat (limited to 'sci-electronics/librepcb')
-rw-r--r-- | sci-electronics/librepcb/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild | 45 | ||||
-rw-r--r-- | sci-electronics/librepcb/librepcb-9999.ebuild | 37 | ||||
-rw-r--r-- | sci-electronics/librepcb/metadata.xml | 12 |
4 files changed, 95 insertions, 0 deletions
diff --git a/sci-electronics/librepcb/Manifest b/sci-electronics/librepcb/Manifest new file mode 100644 index 000000000000..e0651c568362 --- /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 000000000000..ce42f1f85ac4 --- /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 000000000000..f33d53c8b45f --- /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 000000000000..141fbb795002 --- /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>petross404@gmail.com</email> + <name>Petros S</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |