diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-electronics/fritzing |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-electronics/fritzing')
-rw-r--r-- | sci-electronics/fritzing/Manifest | 6 | ||||
-rw-r--r-- | sci-electronics/fritzing/fritzing-0.9.2b-r2.ebuild | 80 | ||||
-rw-r--r-- | sci-electronics/fritzing/metadata.xml | 8 |
3 files changed, 94 insertions, 0 deletions
diff --git a/sci-electronics/fritzing/Manifest b/sci-electronics/fritzing/Manifest new file mode 100644 index 000000000000..f69cc31855bd --- /dev/null +++ b/sci-electronics/fritzing/Manifest @@ -0,0 +1,6 @@ +DIST fritzing-0.9.2b.tar.gz 10913985 SHA256 6e9dbb94a4ca5e23effc2056f471c78913b9efa4c154ced94de8f72bfe29735f SHA512 a8b6d99c4e08f86d7a7cc6574053e8b1af565a3919cb2fc406e67972052b3fa3ded002be43e4fd0345189e4e1f3cecb3851cd14711efd83ccbcbef4cbd135c58 WHIRLPOOL 70a3e310ee8f1e53e63ca7a56b9f93808e5576b8ce0995cca470a787840e5cebad7e2b357148773610971dc2db777d581a9e62bbf94fedfbd104960bab9436f6 +DIST fritzing-parts-0.9.2b.tar.gz 15924206 SHA256 5f5f5e26bfc33911f57b1620912fdf0a834c50d196b930ef70e784f3a447194b SHA512 055c866532c4a09a7de3315fffc485c6be5a576e998fca7b001faae513da86d451ca8ed39583108ec54472ab0e1d8b953c192efcf93e5c19139f0fa83484a549 WHIRLPOOL 214bd62863d121cf6944a1bda7b0da735bc1971b93a9f439cc504b3e3df37599da110cf30073d982b63ecd1557f2cbd218b0cdc5818b69cea5f32c8f3a8051f5 +EBUILD fritzing-0.9.2b-r2.ebuild 2116 SHA256 9849a391b513ba8ee95d6351cbd31a7e92c3b55124dabc74e1af83d9f429c7fe SHA512 ac4d69fc40c04e944341216aa87a24ddb4041dba0bb6632c56795348519cd29e3e8ee8c549fe8a25137d4aad204481919a3861f0b98868f980335895965786e7 WHIRLPOOL 409a8cb310808bf46585f00d09b932468b898b3e6647971eaf6d2c61419967be3648f5920dc7ce17e1e174235297016ceca76c17f09bc08c7092bb159082c2a8 +MISC ChangeLog 3796 SHA256 6743d9addd9f712cde052b3245ad8ae913138b78d872017c041fa28d056ee61c SHA512 5e57008fe0241b667d699c60a73d24be9edb916a32742854284c66110d6d8f2c02a0f306d561ee78cba1259865eca177932a7453d2bbcbb0e08c296f23537504 WHIRLPOOL f841f5c4bee7ef9bbef9c1e9cbc0c763c3d27e995db1fa58ac9cb8d348640ca5af28b5935287d22aaef4b6deeac06161d4bdba62c42c985896848351818493ba +MISC ChangeLog-2015 2714 SHA256 9b8c9fab259b48392822d564d3399575a28292e94143633b5132b7d771dfb385 SHA512 0ea09f897ce83bfcd177415e3453a2fc197829fbb93a0e8c41633f984e792663f078260411dba9fb495a4bc98ea58939c8da3d178adbbb25a7f9aea54c433f53 WHIRLPOOL 61b8e127e462fdc9d8a98357d7bb268980fa56bf234ba8eaf72c2e9471f40dd18fcf3c0c66887d85655f76a5054b7dd994cd6b4185fc91ff3956cf1e808c0305 +MISC metadata.xml 253 SHA256 310bb76c92e8001eb258e049f77a16df929c75570bedd6de49df734f6e9289db SHA512 2a945da80f439b52e18112fa5d1dea6a1bb2f7d39d46c7c4ab8a1a7722c954ff3d859bb7d4e12e6f682289c025350a1353af39a12a8bbb8aa2124834cf667028 WHIRLPOOL 97334f5505e17712ce029c92042367901035b0719d576a7b2e22a74b01b1e8ddab1ee37e20db8cc4f8afc90cda1387e9f609f2bc1c6004a600a9fff8d3e92ba3 diff --git a/sci-electronics/fritzing/fritzing-0.9.2b-r2.ebuild b/sci-electronics/fritzing/fritzing-0.9.2b-r2.ebuild new file mode 100644 index 000000000000..0936eff670b1 --- /dev/null +++ b/sci-electronics/fritzing/fritzing-0.9.2b-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PARTS_P="${PN}-parts-${PV}" + +inherit qmake-utils + +DESCRIPTION="Electronic Design Automation" +HOMEPAGE="http://fritzing.org/" +SRC_URI="https://github.com/fritzing/fritzing-app/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/fritzing/fritzing-parts/archive/${PV}.tar.gz -> ${PARTS_P}.tar.gz" + +LICENSE="CC-BY-SA-3.0 GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + >=dev-libs/quazip-0.7.2[qt5]" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.40" + +S="${WORKDIR}/${PN}-app-${PV}" + +DOCS="readme.md" + +src_prepare() { + local lang translations= + + # fix build with newer quazip - bug #597988 + sed -i -e "s/#include <quazip/&5/" src/utils/folderutils.cpp || die + sed -i -e "s|/usr/include/quazip|&5|" -e "s/-lquazip/&5/" phoenix.pro || die + + # Get a rid of the bundled libs + # Bug 412555 and + # https://code.google.com/p/fritzing/issues/detail?id=1898 + rm -rf src/lib/quazip/ pri/quazip.pri src/lib/boost* || die + + # Fritzing doesn't need zlib + sed -i -e 's:LIBS += -lz::' -e 's:-lminizip::' phoenix.pro || die + + # Somewhat evil but IMHO the best solution + for lang in $L10N; do + lang=${lang/linguas_} + [[ -f "translations/${PN}_${lang}.qm" ]] && translations+=" translations/${PN}_${lang}.qm" + done + if [[ -n "${translations}" ]]; then + sed -i -e "s:\(translations.extra =\) .*:\1 cp -p ${translations} \$(INSTALL_ROOT)\$\$PKGDATADIR/translations\r:" phoenix.pro || die + else + sed -i -e "s:translations.extra = .*:\r:" phoenix.pro || die + fi + + # Fix missing Intel bin icon + # https://github.com/fritzing/fritzing-parts/commit/716560e9 + sed -i -e 's:Intel.png:intel.png:' bins/more/intel.fzb || die + + default +} + +src_configure() { + eqmake5 DEFINES=QUAZIP_INSTALLED phoenix.pro +} + +src_install() { + INSTALL_ROOT="${D}" default + + insinto /usr/share/fritzing/parts + doins -r "${WORKDIR}/${PARTS_P}"/* +} diff --git a/sci-electronics/fritzing/metadata.xml b/sci-electronics/fritzing/metadata.xml new file mode 100644 index 000000000000..d2eaef8199a4 --- /dev/null +++ b/sci-electronics/fritzing/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">fritzing/fritzing-app</remote-id> + </upstream> +</pkgmetadata> |