Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: KiCAD step 3D rendering
Date: Sat, 28 Dec 2019 18:15:16 +0100	[thread overview]
Message-ID: <20191228171516.003a1oEXa6ue3V7GagOrzdI8Zlmtp1bT172QJEyrX7o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17818@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]

New comment by groundstack on void-packages repository

https://github.com/void-linux/void-packages/issues/17818#issuecomment-569434253

Comment:
I recompiled the kicad package with OCE option enabled and the packages now are viewable.

Changes on template file:

makedepends=
I removed ooct-devel and added oce-devel

then changed 'configure_args' -DKICAD_USE_OCE=OFF to ON.

I recompiled with xbps-src and installed.

This is template file as I used today: 

# Template file for 'kicad'
pkgname=kicad
version=5.1.5
revision=1
build_style=cmake
configure_args="-DKICAD_BUILD_VERSION=${version} -DKICAD_SCRIPTING=ON
 -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
 -DKICAD_SCRIPTING_ACTION_MENU=ON  -DBUILD_GITHUB_PLUGIN=ON -DKICAD_USE_OCE=ON
 -DKICAD_SPICE=$(vopt_if spice ON OFF)"
hostmakedepends="pkg-config swig wxWidgets-devel"
makedepends="wxWidgets-devel wxPython-devel python-devel glew-devel cairo-devel
 libressl-devel boost-devel libcurl-devel glm oce-devel libgomp-devel
 $(vopt_if spice ngspice-devel)"
depends="wxPython"
short_desc="Electronic schematic and PCB design software"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://kicad-pcb.org"
distfiles="https://launchpad.net/${pkgname}/${version%%.*}.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=80625a1da876e1be683dc08268fe43fe67bb704e841e977431f7a82bdc096474
build_options="spice"
build_options_default="spice"

CXXFLAGS="-std=c++17"

if [ "$CROSS_BUILD" ]; then
        hostmakedepends+=" python wxPython"
        configure_args+=" -DPYTHON_SITE_PACKAGE_PATH=${XBPS_CROSS_BASE}/${py2_sitelib}
         -DPYTHON_DEST=${py2_sitelib}"
fi

pre_configure() {
        if [ "$CROSS_BUILD" ]; then
                CXXFLAGS+=" $(wx-config --cxxflags)"
        fi
}


  reply	other threads:[~2019-12-28 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27 17:32 [ISSUE] " voidlinux-github
2019-12-28 17:15 ` voidlinux-github [this message]
2019-12-28 17:20 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
2019-12-28 19:13 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191228171516.003a1oEXa6ue3V7GagOrzdI8Zlmtp1bT172QJEyrX7o@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).