summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/plcedit')
-rw-r--r--sci-electronics/plcedit/ChangeLog7
-rw-r--r--sci-electronics/plcedit/plcedit-2.2.0.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/sci-electronics/plcedit/ChangeLog b/sci-electronics/plcedit/ChangeLog
index 6cf7126fcb2d..d99551a28ad9 100644
--- a/sci-electronics/plcedit/ChangeLog
+++ b/sci-electronics/plcedit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/plcedit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/plcedit/ChangeLog,v 1.6 2010/03/09 12:21:47 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/plcedit/ChangeLog,v 1.7 2010/07/07 22:11:05 hwoarang Exp $
+
+*plcedit-2.2.0 (07 Jul 2010)
+
+ 07 Jul 2010; Markos Chandras <hwoarang@gentoo.org> +plcedit-2.2.0.ebuild:
+ Version bump
09 Mar 2010; Jonathan Callen <abcd@gentoo.org> plcedit-2.1.1.ebuild,
plcedit-2.1.2.ebuild:
diff --git a/sci-electronics/plcedit/plcedit-2.2.0.ebuild b/sci-electronics/plcedit/plcedit-2.2.0.ebuild
new file mode 100644
index 000000000000..127790a5caec
--- /dev/null
+++ b/sci-electronics/plcedit/plcedit-2.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/plcedit/plcedit-2.2.0.ebuild,v 1.1 2010/07/07 22:11:05 hwoarang Exp $
+
+EAPI="2"
+
+inherit versionator qt4-r2
+MY_PN="PLCEdit"
+
+DESCRIPTION="Qt4 notepad for PLC programming"
+HOMEPAGE="http://www.qt-apps.org/content/show.php/PLCEdit?content=78380"
+#upstreams default tarball is quite messy. Better repack it myself :/
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc"
+
+RDEPEND="x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_prepare() {
+ if use doc; then
+ sed -i -e "/helpDir =/s:Help:html:" \
+ -e "s:(QApplication\:\:applicationDirPath():\"/usr/share/doc/${PF}\":g" \
+ -e "/ + helpDir/s:helpDir):helpDir:" \
+ src/helpwidget.cpp
+ fi
+ qt4-r2_src_prepare
+}
+
+src_install() {
+ newbin release/${MY_PN} ${PN} || die "dobin failed"
+ newicon src/ressources/images/icon.png ${PN}.png
+ make_desktop_entry ${PN} ${MY_PN} ${PN} 'Qt;Electronics'
+ dodoc readme.txt || die "dodoc failed"
+ if use doc; then
+ dohtml -r Docs/html/* || die "dohtml failed"
+ fi
+}