summaryrefslogtreecommitdiff
path: root/dev-embedded/gpsim
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/gpsim
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/gpsim')
-rw-r--r--dev-embedded/gpsim/Manifest8
-rw-r--r--dev-embedded/gpsim/files/gpsim-0.29.0-gui.patch13
-rw-r--r--dev-embedded/gpsim/gpsim-0.29.0.ebuild42
-rw-r--r--dev-embedded/gpsim/gpsim-0.30.0.ebuild38
-rw-r--r--dev-embedded/gpsim/metadata.xml11
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-embedded/gpsim/Manifest b/dev-embedded/gpsim/Manifest
new file mode 100644
index 000000000000..d013fa4e8c9c
--- /dev/null
+++ b/dev-embedded/gpsim/Manifest
@@ -0,0 +1,8 @@
+AUX gpsim-0.29.0-gui.patch 259 SHA256 6aa36a3b70d09f5e99ed29ebb800af72e6a6651b5efecdebb37f434c66a7b6a2 SHA512 983d83627a9ec4ebe350e22890fafc55bea72dbb3f59f75f17abe72760c4ac1df57b29ae01603187d458964399606fcef5bd3b79f0dc6b489ed8890d62a8ec1a WHIRLPOOL 632f60306e45a56c09babe55c84fc60dc840279e6f775f8994a9fda8d2d9087a0d45baa52ec061754623d2a98f84d2614ca922516c00672987d54d503ebc15db
+DIST gpsim-0.29.0.tar.gz 3301050 SHA256 9ed078038da80dab117e803467d3df3818fa84af7a4a289aaac295913a30615d SHA512 f24997e7bc360afbc87f9cc1e36cf5fa25aecf23c21ba043eabb333b5de9ddfa24b1373fdaa48ba8043a7fcda72558d54691db2579345255dd453e94b3752920 WHIRLPOOL bc49858b811751cebdd54e5e5b2e5b3f29fd3ac8eabbebba659fed50fdd7e9b47f87d3279be3190522fea1fd45edff21c0d0078a9f51ab0228796a949b986085
+DIST gpsim-0.30.0.tar.gz 3385728 SHA256 e1927312c37119bc26d6abf2c250072a279a9c764c49ae9d71b4ccebb8154f86 SHA512 8681f06e73569b801d2961858c8676490d93f7ef40e99f07e7a5eff16955850b66bcd8182aa22ba0edca0b10723cb3a5b7b8bf52fdb0cc94955c3072352292df WHIRLPOOL 7341c7352edcfe3966c3422816a0e53226c3a2095e04c521ca21023a3ff52c934c69cca4c616ce38954e965c54c0dfeb57fea28d2e81effbf093062b212f5ed1
+EBUILD gpsim-0.29.0.ebuild 889 SHA256 88254351bb18fffcddd29d09df01202aa98ca06d3fb1d60cadc7121621e99bf3 SHA512 d11427f7230c62f0ae8939ef159555117ddf8ea443d6b5a3d7e79d45bb558093989bb4b555072c77f62ca7ef721f38d6c144cc661bbec6dec37c454780531ae7 WHIRLPOOL 40404accb0b5481b75b0dd5b80f51edee33057b54e31e114ecd1e7096a8bfc834540abce87d8c6a8f300651814fa68aa484dc06f7fe063f2694c9b645f2de5db
+EBUILD gpsim-0.30.0.ebuild 824 SHA256 eb9328a1c09d1232643011a867ea3fa7f62c0496401cbb1974112df4ae1b1fdb SHA512 593cab1b15eeb52b5f89f1f4975850e945b7c90b5c5bc5f27c508355ffce335a89193e73b060899ea8cce6ce716d25063f4fb5cfbef76b86e6893f6792d1d07a WHIRLPOOL 0756358dcc802d1cf0d77732b557b128655bd880156aa0b23ee859f019b04fc15e36a5aee0b129ef8dbccf44f0427fbb1265ccafd0cdd8abe10e52c1b6f1b025
+MISC ChangeLog 3181 SHA256 258ba7bbf342ee3dc57ba47008ff1bd49fbb26c88007c4c0f02a6e5cc1fdcb3e SHA512 07a817ced30ec68d2c351e10d20c40dad675e3aced96180a071932d38cf4562a2cb59a4c3af5b913d2251cbb2ea629efc5eee1b5393b0b2184c2521096ce5e1e WHIRLPOOL 58cbef9cb4b871788e4ffd74c4be8bc61bb976ed18befd1af19d33d395efcc51c32661ac1d35131cb23664fc379347dadaf0fd08ec350e847715d39205172794
+MISC ChangeLog-2015 9228 SHA256 98cf3e4f286716cb2b704e012b0002e9984be870374b50a457fc09e5f547a149 SHA512 b13d3f29a45edc0edaff701a7d9fed5e37e07187ee95c025d9d89bd0279008f266549e1b613c72ae283a4e48fa2ab75c25f4f698680d2c210373da27cc469850 WHIRLPOOL 2a67525700f2dc0e14ebfa49d8fd4a94c07f59569cf2754714288e0fedd8988f92b0053578314c8861bbe859c12a35c1b0aa8f2aaa775c297c5b9c3264504eb3
+MISC metadata.xml 326 SHA256 7595c4f65ccc3b91d4a501b55009ee4fb3ec19cafa4bfce7deff1a0209d4415b SHA512 73998eee3ecc03e0b524a6cf1f4e4dc4fb670c75fc1c559dc3a1ed327f53ea282a5aca2516af93d1cbf2cc2871970f3b5377a6837204fca07c4ec17080077636 WHIRLPOOL e74a78f19e1045ed680577f18b248ce94c47fa3ec5c3f2bdcdb7154accda8a9cb0ce1dee36a93e2749cca33dc0f863b7d8db48df0b22e66307aa7c27cdd79d24
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..d888bc2db9fe
--- /dev/null
+++ b/dev-embedded/gpsim/gpsim-0.29.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/dev-embedded/gpsim/gpsim-0.30.0.ebuild b/dev-embedded/gpsim/gpsim-0.30.0.ebuild
new file mode 100644
index 000000000000..7c6e310bd228
--- /dev/null
+++ b/dev-embedded/gpsim/gpsim-0.30.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit ltprune
+
+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-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 )
+
+src_configure() {
+ econf \
+ $(use_enable gtk gui) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use doc && dodoc doc/gpsim.pdf
+ prune_libtool_files
+}
diff --git a/dev-embedded/gpsim/metadata.xml b/dev-embedded/gpsim/metadata.xml
new file mode 100644
index 000000000000..96afab317239
--- /dev/null
+++ b/dev-embedded/gpsim/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gpsim</remote-id>
+ </upstream>
+</pkgmetadata>