summaryrefslogtreecommitdiff
path: root/community/kicad/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 17:07:32 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 17:07:32 -0300
commit87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (patch)
treee3d31e01c79dc0e68742716887ed07c5f6a1015e /community/kicad/PKGBUILD
parentc09bfc90e874607edab8e77d50d9aa15ea145b53 (diff)
parent35e9f8bc93db9e691bf6d00950956ca3e5d86e83 (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: community/acpi/PKGBUILD community/alure/PKGBUILD community/ario/PKGBUILD community/cantata/PKGBUILD community/cgit/PKGBUILD community/chntpw/PKGBUILD community/clamz/PKGBUILD community/deadbeef/PKGBUILD community/dunst/PKGBUILD community/erlang/PKGBUILD community/ettercap/PKGBUILD community/fcitx-mozc/PKGBUILD community/gnome-commander/PKGBUILD community/gq/PKGBUILD community/gtkimageview/PKGBUILD community/i3status/PKGBUILD community/iasl/PKGBUILD community/krename/PKGBUILD community/libesmtp/PKGBUILD community/liblinebreak/PKGBUILD community/libmilter/PKGBUILD community/libpaper/PKGBUILD community/libvirt/PKGBUILD community/libx86emu/PKGBUILD community/libxdg-basedir/PKGBUILD community/lightdm-gtk2-greeter/PKGBUILD community/lightdm-gtk3-greeter/PKGBUILD community/lightdm/PKGBUILD community/luakit/PKGBUILD community/lxtask/PKGBUILD community/marisa/PKGBUILD community/megaglest/PKGBUILD community/mumble/PKGBUILD community/opencolorio/PKGBUILD community/openssh-askpass/PKGBUILD community/pdf2svg/PKGBUILD community/pidgin-toobars/PKGBUILD community/powerdns/PKGBUILD community/python-numexpr/PKGBUILD community/python-pybox2d/PKGBUILD community/python-pytables/PKGBUILD community/python2-imaging/PKGBUILD community/python2-pybluez/PKGBUILD community/remmina/PKGBUILD community/ruby-gtk2/PKGBUILD community/ruby-iconv/PKGBUILD community/scummvm-tools/PKGBUILD community/shapelib/PKGBUILD community/sshfs/PKGBUILD community/subtle/PKGBUILD community/teeworlds/PKGBUILD community/uget/PKGBUILD community/wireshark/PKGBUILD community/wxcam/PKGBUILD community/wxgtk2.9/PKGBUILD community/xchm/PKGBUILD community/xdelta3/PKGBUILD community/zynaddsubfx/PKGBUILD core/gcc/PKGBUILD core/gcc/gcc_mips64el_lib.patch core/gdbm/PKGBUILD core/ldns/PKGBUILD core/pth/PKGBUILD core/systemd/PKGBUILD core/wireless_tools/PKGBUILD elementary/gtk-engine-equinox/PKGBUILD elementary/postler/PKGBUILD elementary/vala-010/PKGBUILD extra/aubio/PKGBUILD extra/audacity/PKGBUILD extra/bc/PKGBUILD extra/cagibi/PKGBUILD extra/calligra/PKGBUILD extra/chmlib/PKGBUILD extra/clamav/PKGBUILD extra/clisp/PKGBUILD extra/crypto++/PKGBUILD extra/cups/PKGBUILD extra/dhcp/PKGBUILD extra/ecore/PKGBUILD extra/edje/PKGBUILD extra/eet/PKGBUILD extra/eeze/PKGBUILD extra/efreet/PKGBUILD extra/eina/PKGBUILD extra/eio/PKGBUILD extra/embryo/PKGBUILD extra/emotion/PKGBUILD extra/enlightenment17/PKGBUILD extra/ethumb/PKGBUILD extra/evas/PKGBUILD extra/festival/PKGBUILD extra/ffcall/PKGBUILD extra/ffmpeg/PKGBUILD extra/git/PKGBUILD extra/gmetadom/PKGBUILD extra/gnutls/PKGBUILD extra/graphviz/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/gtkmathview/PKGBUILD extra/gvfs/PKGBUILD extra/hugin/PKGBUILD extra/i8kutils/PKGBUILD extra/id3lib/PKGBUILD extra/imagemagick/PKGBUILD extra/jack/PKGBUILD extra/ktorrent/PKGBUILD extra/libaccounts-qt/PKGBUILD extra/libdvdnav/PKGBUILD extra/libdvdread/PKGBUILD extra/libetpan/PKGBUILD extra/libgadu/PKGBUILD extra/libmikmod/PKGBUILD extra/libpst/PKGBUILD extra/libsecret/PKGBUILD extra/libssh/PKGBUILD extra/libvorbis/PKGBUILD extra/lilv/PKGBUILD extra/mariadb/PKGBUILD extra/maxima/PKGBUILD extra/mesa/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/msmtp/PKGBUILD extra/obex-data-server/PKGBUILD extra/openbabel/PKGBUILD extra/opencv/PKGBUILD extra/opengtl/PKGBUILD extra/perl-net-dns/PKGBUILD extra/perl-socket6/PKGBUILD extra/pidgin/PKGBUILD extra/poppler/PKGBUILD extra/postfix/PKGBUILD extra/purple-plugin-pack/PKGBUILD extra/pycurl/PKGBUILD extra/python-geoip/PKGBUILD extra/qt5/PKGBUILD extra/redland/PKGBUILD extra/ruby/PKGBUILD extra/shared-mime-info/PKGBUILD extra/sqlite/PKGBUILD extra/texmacs/PKGBUILD extra/v4l-utils/PKGBUILD extra/vigra/PKGBUILD extra/vim/PKGBUILD extra/wildmidi/PKGBUILD extra/wxpython/PKGBUILD extra/x2goclient/PKGBUILD extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch extra/xf86-video-siliconmotion/PKGBUILD extra/xfce4-taskmanager/PKGBUILD extra/xine-lib/PKGBUILD extra/xorg-server/PKGBUILD extra/xsane/PKGBUILD extra/zsh/PKGBUILD libre-testing/unace-libre/PKGBUILD libre/abuse-libre/PKGBUILD libre/audacity-libre/PKGBUILD libre/audex-libre/PKGBUILD libre/blackbox-libre/PKGBUILD libre/bogofilter-libre/PKGBUILD libre/bumblebee-libre/PKGBUILD libre/crosstool-ng/PKGBUILD libre/dvdrip-libre/PKGBUILD libre/ecasound-libre/PKGBUILD libre/enscript/PKGBUILD libre/epdfview-libre/PKGBUILD libre/hardinfo/PKGBUILD libre/kile-libre/PKGBUILD libre/lesspipe-libre/PKGBUILD libre/libquicktime-libre/PKGBUILD libre/linux-libre-tools/PKGBUILD libre/linux-libre/PKGBUILD libre/mc-libre/PKGBUILD libre/mesa-demos-libre/PKGBUILD libre/midori-libre/PKGBUILD libre/oss-libre/PKGBUILD libre/p7zip-libre/PKGBUILD libre/python2-reportlab-libre/PKGBUILD libre/sdl-libre/PKGBUILD libre/seamonkey-libre/PKGBUILD libre/unzip-libre/PKGBUILD libre/xarchiver-libre/PKGBUILD libre/xmlstarlet/PKGBUILD pcr/a2jmidid/PKGBUILD pcr/amsynth/PKGBUILD pcr/anyremote/PKGBUILD pcr/azr3-jack/PKGBUILD pcr/bambus/PKGBUILD pcr/bamf2/PKGBUILD pcr/barnyard2/PKGBUILD pcr/bison++/PKGBUILD pcr/bup/PKGBUILD pcr/din/PKGBUILD pcr/django-tagging/PKGBUILD pcr/doxymacs/PKGBUILD pcr/emacs-js2-mode/PKGBUILD pcr/eterm/PKGBUILD pcr/frame/PKGBUILD pcr/freeipmi/PKGBUILD pcr/geis/PKGBUILD pcr/ginn/PKGBUILD pcr/grail/PKGBUILD pcr/libast/PKGBUILD pcr/libdshconfig/PKGBUILD pcr/networkmanager-openswan/PKGBUILD pcr/networkmanager-strongswan/PKGBUILD pcr/openswan/PKGBUILD pcr/par/PKGBUILD pcr/snort/PKGBUILD pcr/strongswan/PKGBUILD social/batctl/PKGBUILD social/bip/PKGBUILD social/bitcoin-daemon/PKGBUILD social/dropbear/PKGBUILD social/ffingerd/PKGBUILD social/haveged/PKGBUILD social/inadyn-opendns/PKGBUILD social/liblockfile/PKGBUILD social/libowfat/PKGBUILD social/lockfile-progs/PKGBUILD social/netatalk/PKGBUILD social/olsrd/PKGBUILD social/poco/PKGBUILD social/spectrum/PKGBUILD social/squirm/PKGBUILD social/tokyotyrant/PKGBUILD social/tomoyo-tools/PKGBUILD
Diffstat (limited to 'community/kicad/PKGBUILD')
-rw-r--r--community/kicad/PKGBUILD26
1 files changed, 20 insertions, 6 deletions
diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD
index 6818b5de5..2d1b3ea43 100644
--- a/community/kicad/PKGBUILD
+++ b/community/kicad/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92569 2013-06-08 18:17:35Z kkeen $
+# $Id: PKGBUILD 103943 2014-01-13 20:00:42Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Marq Schneider <queueRAM@gmail.com>
@@ -6,25 +6,34 @@ pkgname=kicad
pkgver=20130518
_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
_pkgbzr=4017
-pkgrel=1
+pkgrel=3
pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
arch=('i686' 'x86_64' 'mips64el')
url="http://iut-tice.ujf-grenoble.fr/kicad/"
license=('GPL')
-depends=('glu' 'wxgtk' 'hicolor-icon-theme' 'desktop-file-utils')
+depends=('glu' 'wxgtk2.8' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm')
makedepends=('cmake' 'zlib' 'mesa')
optdepends=('kicad-docs-bzr: for documentation'
'kicad-library-bzr: for footprints')
install=kicad.install
source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}-sources-stable_${_pkgver}_BZR${_pkgbzr}.zip
- kicad-boost-polygon-declare-gtlsort-earlier.patch)
+ kicad-boost-polygon-declare-gtlsort-earlier.patch
+ wxgtk3.0.patch)
md5sums=('9e6aab0f2ad01a17c8ec96cd9162dc79'
- 'a2c39704238946e74a5ed0c38326345f')
+ 'a2c39704238946e74a5ed0c38326345f'
+ 'ec3e7581c814ca2b76becc7b30a8529f')
+
+#source=(https://launchpad.net/ubuntu/trusty/+source/kicad/0.${pkgver}+bzr${_pkgbzr}-2/+files/kicad_0.${pkgver}+bzr${_pkgbzr}.orig.tar.gz)
+# patches from https://launchpad.net/ubuntu/trusty/+source/kicad/0.20130727+bzr4024-2/+files/kicad_0.20130727+bzr4024-2.debian.tar.gz ?
build() {
cd "$srcdir/stable_${_pkgver}_BZR${_pkgbzr}"
+ # kicad-boost-polygon-declare-gtlsort-earlier.patch
+ #sed -i '20i #include "detail/polygon_sort_adaptor.hpp"' include/boost/polygon/polygon.hpp
patch -p0 < "$srcdir/kicad-boost-polygon-declare-gtlsort-earlier.patch"
+ #patch -p1 < "$srcdir/wxgtk3.0.patch"
+ #sed -i 's/wxStandardPaths/&::Get/' common/edaappl.cpp
# harmless build blocking error
# see https://lists.launchpad.net/kicad-developers/msg07841.html
@@ -37,9 +46,13 @@ build() {
# build and install kicad
mkdir -p build/Release
cd build/Release
+ # STABLE_VERSION gets removed, eventually
+ # gets ported to wxgtk3, eventually
cmake ../.. -DKICAD_STABLE_VERSION=ON \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' \
+ -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc32-2.8'
make
}
@@ -52,3 +65,4 @@ package() {
#cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
}
+