Added kicad 5.0.2
This commit is contained in:
parent
16f17c3145
commit
7cc8c52255
2
app-doc/kicad-doc/Manifest
Normal file
2
app-doc/kicad-doc/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-doc-5.0.2.tar.gz 68999325 BLAKE2B 000fdc4293b5cfa0f09290cbfdd7e1f2b881e79dc61acef1418773be669aad0c214df155bb0edf07dbc1157e6619c627d4455ad6da00108838af4d7610d632e6 SHA512 e9f34c478c0eb4d79c13236a5b105882a8411047c73ed822df2fad1b1eaabc45d8fd61a055069000ebfc724e6e3e828dbab16855cfe51bb70623a56e1e50f0d8
|
||||||
|
EBUILD kicad-doc-5.0.2.ebuild 1282 BLAKE2B 077099fadccb3eb08b50efebf6e0a9400f4cf9dad5b2430d2c9338b479b2c0b49bb4c4b8ba3d3854178387df8b9c2eb6ff6e47fb61e41554d4c15137588315a7 SHA512 f399261b647092f7ebea60233825f2e8994664ebef4945c7a9e93a2eb63d2d131cee4d8b8f16a6619a66f612aaae43b0a17d711cb97b50785d305f9e442c8373
|
44
app-doc/kicad-doc/kicad-doc-5.0.2.ebuild
Normal file
44
app-doc/kicad-doc/kicad-doc-5.0.2.ebuild
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools manuals"
|
||||||
|
HOMEPAGE="http://www.kicad-pcb.org/"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="html +pdf"
|
||||||
|
LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl"
|
||||||
|
IUSE+=${LANG_USE}
|
||||||
|
REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )"
|
||||||
|
unset LANG_USE
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=app-text/asciidoc-8.6.9
|
||||||
|
>=app-text/dblatex-0.3.10
|
||||||
|
>=app-text/po4a-0.45
|
||||||
|
>=sys-devel/gettext-0.18
|
||||||
|
dev-perl/Unicode-LineBreak
|
||||||
|
dev-util/source-highlight
|
||||||
|
l10n_ca? ( dev-texlive/texlive-langspanish )
|
||||||
|
l10n_de? ( dev-texlive/texlive-langgerman )
|
||||||
|
l10n_en? ( dev-texlive/texlive-langenglish )
|
||||||
|
l10n_es? ( dev-texlive/texlive-langspanish )
|
||||||
|
l10n_fr? ( dev-texlive/texlive-langfrench )
|
||||||
|
l10n_it? ( dev-texlive/texlive-langitalian )
|
||||||
|
l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic )
|
||||||
|
l10n_pl? ( dev-texlive/texlive-langpolish )"
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
|
||||||
|
-DSINGLE_LANGUAGE="${L10N}"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
2
sci-electronics/kicad-footprints/Manifest
Normal file
2
sci-electronics/kicad-footprints/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-footprints-5.0.2.tar.gz 5101567 BLAKE2B 9c12e28526ba543fd9ce1d48a5b183b2dfd5e91dd8ee95d6a149749c23dc67b7d4dbec2f547ce561fd871f33830ca81fe1cd93ea72e2566341e0c33425d4881c SHA512 b7c58ef9b80973d358ab9149de811023828627d1870e25f4476b4994a5416d5aa9dc14b15d0f91820d0819fc529501e689b34311f88d1f115119581602291ad7
|
||||||
|
EBUILD kicad-footprints-5.0.2.ebuild 456 BLAKE2B b49fd1584b037aa4cf93ddc7b86ae699914c1c5838c4cdfeb3a09c11e346e0de0a8f37a01ec01cc975d959c84da0a7c1e311294b6927ff47385062e8987e639f SHA512 c16d4558d3e37f60382c05c18aba6fefc431a2c884d4c1a93685f394c5ab42cc423770d518d65ab62007d10ad6d64047ee7a517c953388c0d9b19e75a11e4429
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools footprint libraries"
|
||||||
|
HOMEPAGE="https://kicad.github.io/footprints/"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CC-BY-SA-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=">=sci-electronics/kicad-5.0.0"
|
2
sci-electronics/kicad-i18n/Manifest
Normal file
2
sci-electronics/kicad-i18n/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-i18n-5.0.2.tar.gz 4075257 BLAKE2B 280eed9d1fbd35bf55ac0e2b3fad5fbac6875f3174b6ce170fd85b0046c73a0a154f37ca0f9f31c9890199c82b238498296e3928d36834fa2a7d0324258233d2 SHA512 e46009080aa164eaa2d65d875f8abfa5a28343c60beb5abc752755e94540d9450ad78b18291834919c01e6ed2723e0888d068a20f162568c6afd524e47c92204
|
||||||
|
EBUILD kicad-i18n-5.0.2.ebuild 471 BLAKE2B 4ead8d717ce3a8c3b4f9451b806812647787507a4ccaa8d925aa2f81539c21468cf4a63b37c3cb017f9d938f17f036f11cd25e41309f41ccad22d3ea2f01222b SHA512 93715c5579ae737a6418597f87e1fb57cc75bbc9085faf84dfde5302f8d01b599602ac403145faa6b29feb73f9f2ab0934669b9a6e9c16f401530ef0a9e58a63
|
18
sci-electronics/kicad-i18n/kicad-i18n-5.0.2.ebuild
Normal file
18
sci-electronics/kicad-i18n/kicad-i18n-5.0.2.ebuild
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools GUI translations."
|
||||||
|
HOMEPAGE="https://github.com/KiCad/kicad-i18n"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CC-BY-SA-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="sys-devel/gettext"
|
||||||
|
RDEPEND=">=sci-electronics/kicad-5.0.0"
|
1
sci-electronics/kicad-meta/Manifest
Normal file
1
sci-electronics/kicad-meta/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
EBUILD kicad-meta-5.0.2.ebuild 591 BLAKE2B 1f52fce0c46a80c94ea7238bf0140bcb04bd044c8f64d531e2569aab6cc13ec1ed5a54d213ad0774f300a37ced3ee847cb4422249095d43c1476bea0dd13e51b SHA512 84e49d76c6bc1a6f764f660c57046e4f338e322cd44077934ed4e9b17827cfc510bd105741022fc76fac8e04f7aac83f853163ee479ea5096a11cf6f963ba7b1
|
27
sci-electronics/kicad-meta/kicad-meta-5.0.2.ebuild
Normal file
27
sci-electronics/kicad-meta/kicad-meta-5.0.2.ebuild
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools (meta package)"
|
||||||
|
HOMEPAGE="http://www.kicad-pcb.org"
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE="metapackage"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc nls"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sci-electronics/kicad-5.0.2
|
||||||
|
>=sci-electronics/kicad-symbols-5.0.2
|
||||||
|
>=sci-electronics/kicad-footprints-5.0.2
|
||||||
|
>=sci-electronics/kicad-packages3d-5.0.2
|
||||||
|
>=sci-electronics/kicad-templates-5.0.2
|
||||||
|
doc? (
|
||||||
|
>=app-doc/kicad-doc-5.0.2
|
||||||
|
)
|
||||||
|
nls? (
|
||||||
|
>=sci-electronics/kicad-i18n-5.0.2
|
||||||
|
)
|
||||||
|
"
|
2
sci-electronics/kicad-packages3d/Manifest
Normal file
2
sci-electronics/kicad-packages3d/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-packages3d-5.0.2.tar.gz 842963977 BLAKE2B dec6c4cf8d6846689fa371bd28be4e4b99b1a3983645d6e3ee05b6d04f96375864b88b131bd192ac3e224046624dfb1c747dd810588b7f6e5aac247a0eff9241 SHA512 3a02fce096623b5e7e951708a6c5a29725474ddce2e5b0f11c08a8742d0de9136ecd0ac7dc49e239a256eccd38b0806a1c0f4b78c0d14e6889a701f876947fce
|
||||||
|
EBUILD kicad-packages3d-5.0.2.ebuild 514 BLAKE2B 80b528282e29b8a74614deb630665c648469fda01d74c6d297eb6ba8f23daaa8bfcc79353dddeb30c248e03ba6421af032e772aa4e15fe04d7fbc57f8b9fb9f6 SHA512 dd0312120c4b7bb61ccc1efe8819a70f77279bd20696c603679ba8c21a4691f2e0b4292b35460912a09944d3966ae454a38184a157726cd0eb63871fca383449
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit check-reqs cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools 3D package libraries"
|
||||||
|
HOMEPAGE="https://kicad.github.io/packages3d/"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CC-BY-SA-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=">=sci-electronics/kicad-5.0.0[oce]"
|
||||||
|
|
||||||
|
CHECKREQS_DISK_BUILD="9G"
|
||||||
|
S="${WORKDIR}/${P/3d/3D}"
|
2
sci-electronics/kicad-symbols/Manifest
Normal file
2
sci-electronics/kicad-symbols/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-symbols-5.0.2.tar.gz 2737047 BLAKE2B c2650be12b1ab801ec640a4ce58ee34006cf9b98193f9d06054a90b5c484570d3c0e8e082907f03ab62ffe9dd7d135a0465337309cabb5209d4f4cec3d807780 SHA512 bcef99f582125e9452e7ba39b65da17952bf933be3cfd5b138bede502b8749c3f76a2a9b71ffa4305205b2969d62518b034c38da531c2d0148bbc2eb0c5a46d3
|
||||||
|
EBUILD kicad-symbols-5.0.2.ebuild 450 BLAKE2B c0fda1a73122892636ada55e4c7d63cc667f71f02516bc7847dd10e42de2a5799b7d750ca03c0781113e725db0403a7eb8a35f60d9a8df7daba4b6e8f96f7c41 SHA512 930424dac84702ff3cac707dbd3768b4bc66c991310f6be275ca658c5768e4bcac66d18eaa32e5e4643efec4e2d752bfac0f265c2a239ecb1e92eec3e246f1f0
|
18
sci-electronics/kicad-symbols/kicad-symbols-5.0.2.ebuild
Normal file
18
sci-electronics/kicad-symbols/kicad-symbols-5.0.2.ebuild
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools symbol libraries"
|
||||||
|
HOMEPAGE="https://kicad.github.io/symbols/"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CC-BY-SA-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=">=sci-electronics/kicad-5.0.0"
|
2
sci-electronics/kicad-templates/Manifest
Normal file
2
sci-electronics/kicad-templates/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-templates-5.0.2.tar.gz 1620726 BLAKE2B 4b4bb887a52e1c31f18660766cdef2e4f478141764e946a5b7f552ca80154f28352d46cba7f6f5d2f6c2f7ab1c9043c7aff276d5352a5a91abdf580750a27d69 SHA512 a5a1722914477bb0cd1d3b0536906fd406846579a929dc30c5425deb09a39594375920e19d30f3255b0509f66d6094202bd07281dbcf91ad68205339116ea51f
|
||||||
|
EBUILD kicad-templates-5.0.2.ebuild 459 BLAKE2B d79ddb7dd35b96c1739f4e785c90c35654a982f5f4ef62d2e7e1334e9aa17597b87da0661934680e5b32ee20d99e67165cd0d92c8991a0e620f718fd2db1d1d0 SHA512 8de9ec54219987cd1bd69641c171fb5da3ae76f98bd7aeceb004bba444dd6e6d766597d61b85c46058a67f7748c5262f3fd3d9acc06e44d215c1866ab46ee625
|
18
sci-electronics/kicad-templates/kicad-templates-5.0.2.ebuild
Normal file
18
sci-electronics/kicad-templates/kicad-templates-5.0.2.ebuild
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools project templates"
|
||||||
|
HOMEPAGE="https://github.com/kicad/kicad-templates"
|
||||||
|
SRC_URI="https://github.com/KiCad/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CC-BY-SA-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=">=sci-electronics/kicad-5.0.0"
|
2
sci-electronics/kicad/Manifest
Normal file
2
sci-electronics/kicad/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST kicad-5.0.2.tar.xz 14257576 BLAKE2B 4b7f295b8c8563d4300cac47f81aa38083259b24a054dd42bf6d2c5089c627263ec329c319a82c01a82154ca2b3867db2099e90bad5149b6ba32250db9e7cc4f SHA512 54fc92238e23e3dd3287f6df797e53561e6a0e9c5cfa50066ffd92883f79af94f26db611f6fe658eeabf2199b76cd763633326c89b3f34194bd8fd9094f5fd21
|
||||||
|
EBUILD kicad-5.0.2.ebuild 3505 BLAKE2B 191ce7ea15512f9996e36e418b60da8d32118798d937222e96be0f928684ccee62919df4cbfe0052c8a652acfbecd0dca80a2f2f6434e07c27842f2100fd0c1f SHA512 f4e3b58bd4d1980c9324c7698a512912914e8c92daee06ef3e72f18141096ca07b2efacc7f551a3ddee482f8d13532a022dc0d0cfeaa2ac9d208c73110b275b3
|
132
sci-electronics/kicad/kicad-5.0.2.ebuild
Normal file
132
sci-electronics/kicad/kicad-5.0.2.ebuild
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
WX_GTK_VER="3.0"
|
||||||
|
|
||||||
|
inherit check-reqs cmake-utils eapi7-ver eutils gnome2-utils python-single-r1 toolchain-funcs wxwidgets xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Schematic and PCB design tools"
|
||||||
|
HOMEPAGE="http://www.kicad-pcb.org"
|
||||||
|
SRC_URI="https://launchpad.net/${PN}/$(ver_cut 1-2)/${PV}/+download/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ GPL-3+ Boost-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE="doc examples github +ngspice occ +oce openmp +python"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
?? ( occ oce )
|
||||||
|
"
|
||||||
|
|
||||||
|
COMMON_DEPEND=">=x11-libs/wxGTK-3.0.2:${WX_GTK_VER}[X,opengl]
|
||||||
|
python? (
|
||||||
|
dev-python/wxpython:${WX_GTK_VER}[opengl,${PYTHON_USEDEP}]
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
)
|
||||||
|
>=dev-libs/boost-1.61[context,nls,threads,python?,${PYTHON_USEDEP}]
|
||||||
|
media-libs/glew:0=
|
||||||
|
<=media-libs/glm-0.9.9.2
|
||||||
|
media-libs/freeglut
|
||||||
|
media-libs/mesa
|
||||||
|
ngspice? (
|
||||||
|
sci-electronics/ngspice[shared]
|
||||||
|
)
|
||||||
|
occ? ( >=sci-libs/opencascade-6.8.0:= )
|
||||||
|
oce? ( sci-libs/oce )
|
||||||
|
>=x11-libs/cairo-1.8.8:=
|
||||||
|
>=x11-libs/pixman-0.30"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
github? ( net-misc/curl:=[ssl] )
|
||||||
|
python? ( >=dev-lang/swig-3.0:0 )"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
sci-electronics/electronics-menu
|
||||||
|
"
|
||||||
|
CHECKREQS_DISK_BUILD="800M"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/"${PN}-5.0.0-curl.patch" )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
use openmp && tc-check-openmp
|
||||||
|
setup-wxwidgets
|
||||||
|
check-reqs_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
xdg_src_prepare
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
|
||||||
|
# fix application categories in desktop files
|
||||||
|
while IFS="" read -d $'\0' -r f; do
|
||||||
|
sed -i.bkp '/Categories/s/Development;//' "${f}"
|
||||||
|
done < <(find "${S}" -type f -name "*.desktop" -print0)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DKICAD_DOCS="/usr/share/doc/${PF}"
|
||||||
|
-DBUILD_GITHUB_PLUGIN="$(usex github)"
|
||||||
|
-DKICAD_SCRIPTING="$(usex python)"
|
||||||
|
-DKICAD_SCRIPTING_MODULES="$(usex python)"
|
||||||
|
-DKICAD_SCRIPTING_WXPYTHON="$(usex python)"
|
||||||
|
-DKICAD_SCRIPTING_ACTION_MENU="$(usex python)"
|
||||||
|
-DKICAD_SPICE="$(usex ngspice)"
|
||||||
|
-DKICAD_USE_OCC="$(usex occ)"
|
||||||
|
-DKICAD_USE_OCE="$(usex oce)"
|
||||||
|
-DKICAD_INSTALL_DEMOS="$(usex examples)"
|
||||||
|
)
|
||||||
|
use python && mycmakeargs+=(
|
||||||
|
-DPYTHON_DEST="$(python_get_sitedir)"
|
||||||
|
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||||
|
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||||
|
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||||
|
)
|
||||||
|
use occ && mycmakeargs+=( -DOCC_LIBRARY_DIR="${CASROOT}"/lib )
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile
|
||||||
|
if use doc; then
|
||||||
|
cmake-utils_src_compile dev-docs doxygen-docs
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
use python && python_optimize
|
||||||
|
if use doc ; then
|
||||||
|
dodoc uncrustify.cfg
|
||||||
|
cd Documentation || die
|
||||||
|
dodoc -r *.txt kicad_doxygen_logo.png notes_about_pcbnew_new_file_format.odt doxygen/. development/doxygen/.
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
xdg_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "Component symbols library" sci-electronics/kicad-symbols
|
||||||
|
optfeature "Component footprints library" sci-electronics/kicad-footprints
|
||||||
|
optfeature "3D models of components " sci-electronics/kicad-packages3d
|
||||||
|
optfeature "Project templates" sci-electronics/kicad-templates
|
||||||
|
optfeature "Different languages for GUI" sci-electronics/kicad-i18n
|
||||||
|
optfeature "Extended documentation" app-doc/kicad-doc
|
||||||
|
optfeature "Creating 3D models of components" media-gfx/wings
|
||||||
|
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user