summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-25 17:18:44 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-25 17:33:22 -0400
commita297e994293dca6ec626d1994d8263433701f78d (patch)
treed391034063d4ab0280316e2d9aa4f4c1ff160a88 /dev-embedded/gpsim
parentdev-embedded/gputils: version bump to 1.5.0 (diff)
downloadgentoo-a297e994293dca6ec626d1994d8263433701f78d.tar.gz
gentoo-a297e994293dca6ec626d1994d8263433701f78d.tar.bz2
gentoo-a297e994293dca6ec626d1994d8263433701f78d.zip
dev-embedded/gpsim: version bump to 0.29.0
Diffstat (limited to 'dev-embedded/gpsim')
-rw-r--r--dev-embedded/gpsim/Manifest1
-rw-r--r--dev-embedded/gpsim/files/gpsim-0.29.0-gui.patch13
-rw-r--r--dev-embedded/gpsim/gpsim-0.29.0.ebuild43
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-embedded/gpsim/Manifest b/dev-embedded/gpsim/Manifest
index fe883ce7a114..6b6bf0e9a682 100644
--- a/dev-embedded/gpsim/Manifest
+++ b/dev-embedded/gpsim/Manifest
@@ -1,2 +1,3 @@
DIST gpsim-0.26.1.tar.gz 2350841 SHA256 509120f13971108f2f3e75706a354fb91cc777ad6b05244f26bded5e40a8b974 SHA512 ab710d57e5699e680674b97fb6c4eed19e45ee0bac05e40c2f8b4d58338b1023735e96aa7f9ce0c21048478d291a14fa41f216709b23d85d047d7c2b3e5e7d15 WHIRLPOOL 770f822c4547ef60e3dacc83b9d60db5bd7c0fb7819f3fc2e57b2841b4bbb53fd5f10da4d6da660c945be3497eee2f534c617b064c67a76d2c3f7c3d79524c66
DIST gpsim-0.27.0.tar.gz 2465642 SHA256 204ed2a8aaf1b3021617544330997f4a508b811afce71fb9628b94406d5e59a2 SHA512 769a49d069cf24f0555ed6b34241139e69398fae1e01981298cd49a6096b8f196dfd9e6d8dfebf3f93294b3ca2acf9c4b1b21be600b5d0dd65dd99b6b159f06b WHIRLPOOL 2146a2cfa79a93b84d5caa014c7c639a4b9d97fbe179f18af697fadee7454aa4c4f379d4d0fe1e48c446bf411faffeef5aa6c4caeb268aa7c37c1f5b8953ba63
+DIST gpsim-0.29.0.tar.gz 3301050 SHA256 9ed078038da80dab117e803467d3df3818fa84af7a4a289aaac295913a30615d SHA512 f24997e7bc360afbc87f9cc1e36cf5fa25aecf23c21ba043eabb333b5de9ddfa24b1373fdaa48ba8043a7fcda72558d54691db2579345255dd453e94b3752920 WHIRLPOOL bc49858b811751cebdd54e5e5b2e5b3f29fd3ac8eabbebba659fed50fdd7e9b47f87d3279be3190522fea1fd45edff21c0d0078a9f51ab0228796a949b986085
diff --git a/dev-embedded/gpsim/files/gpsim-0.29.0-gui.patch b/dev-embedded/gpsim/files/gpsim-0.29.0-gui.patch
new file mode 100644
index 000000000000..b055e01b0d8c
--- /dev/null
+++ b/dev-embedded/gpsim/files/gpsim-0.29.0-gui.patch
@@ -0,0 +1,13 @@
+--- gpsim-0.29.0/modules/logic.cc
++++ gpsim-0.29.0/modules/logic.cc
+@@ -269,8 +269,10 @@
+
+ LogicGate::~LogicGate()
+ {
++#ifdef HAVE_GUI
+ if (pixbuf)
+ g_object_unref(pixbuf);
++#endif
+ }
+
+ //--------------------------------------------------------------
diff --git a/dev-embedded/gpsim/gpsim-0.29.0.ebuild b/dev-embedded/gpsim/gpsim-0.29.0.ebuild
new file mode 100644
index 000000000000..cd61a76b9cf0
--- /dev/null
+++ b/dev-embedded/gpsim/gpsim-0.29.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
+HOMEPAGE="http://gpsim.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc gtk static-libs"
+
+RDEPEND=">=dev-embedded/gputils-0.12
+ !dev-embedded/gpsim-lcd
+ dev-libs/glib:2
+ dev-libs/popt
+ sys-libs/readline:0=
+ gtk? ( >=x11-libs/gtk+extra-2 )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc"
+
+DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
+
+PATCHES=( "${FILESDIR}"/${P}-gui.patch )
+
+src_configure() {
+ econf \
+ $(use_enable gtk gui) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use doc && dodoc doc/gpsim.pdf
+
+ prune_libtool_files
+}