summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-28 10:27:12 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-28 10:27:12 +0000
commite2ccb83b06794fdeb0f6d2899b68860acb6ba047 (patch)
tree7364a5d64f1ad29bf21568a73f26a658f073ee7e /sci-electronics
parentSecurity bump (diff)
downloadgentoo-2-e2ccb83b06794fdeb0f6d2899b68860acb6ba047.tar.gz
gentoo-2-e2ccb83b06794fdeb0f6d2899b68860acb6ba047.tar.bz2
gentoo-2-e2ccb83b06794fdeb0f6d2899b68860acb6ba047.zip
Version bump
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/plcedit/ChangeLog9
-rw-r--r--sci-electronics/plcedit/plcedit-2.2.1.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/sci-electronics/plcedit/ChangeLog b/sci-electronics/plcedit/ChangeLog
index 32a0bdf972aa..79053269b6d7 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.11 2010/10/10 13:09:06 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/plcedit/ChangeLog,v 1.12 2011/08/28 10:27:12 hwoarang Exp $
+
+*plcedit-2.2.1 (28 Aug 2011)
+
+ 28 Aug 2011; Markos Chandras <hwoarang@gentoo.org> +plcedit-2.2.1.ebuild:
+ Version bump
10 Oct 2010; Markos Chandras <hwoarang@gentoo.org> -plcedit-2.1.2.ebuild:
Remove old ebuild
diff --git a/sci-electronics/plcedit/plcedit-2.2.1.ebuild b/sci-electronics/plcedit/plcedit-2.2.1.ebuild
new file mode 100644
index 000000000000..b913c0f92467
--- /dev/null
+++ b/sci-electronics/plcedit/plcedit-2.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/plcedit/plcedit-2.2.1.ebuild,v 1.1 2011/08/28 10:27:12 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="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc"
+
+RDEPEND="x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}"
+
+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
+}