Skip to content

Commit

Permalink
sci-electronics/librepcb: new package.
Browse files Browse the repository at this point in the history
Free EDA software to develop printed circuit boards.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: gentoo#9342
  • Loading branch information
Petross404 authored and monsieurp committed Aug 14, 2018
1 parent edd8e88 commit ee9e69d
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
1 change: 1 addition & 0 deletions sci-electronics/librepcb/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST LibrePCB-first_pcb.tar.gz 4661241 BLAKE2B c725b89e0ee67db2c68d806b5ed3eeda2326e05c10cc9fda37e9f3bf720b746a1ec6e3e31b130f08686e467cca737995a6a927a828b4d6390c9020d744b6b0e5 SHA512 04edb90aeb757e50dae66b5bf051455b4ea26b7ba4f953cfbc44a737c523f926834c6821de458f70842780790c94a5440313f3e1d58c2a91119a55898fb1d74b
45 changes: 45 additions & 0 deletions sci-electronics/librepcb/librepcb-0.1.0_p201805.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
37 changes: 37 additions & 0 deletions sci-electronics/librepcb/librepcb-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
12 changes: 12 additions & 0 deletions sci-electronics/librepcb/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit ee9e69d

Please sign in to comment.