summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/workrave/ChangeLog7
-rw-r--r--app-misc/workrave/Manifest4
-rw-r--r--app-misc/workrave/files/digest-workrave-1.4.01
-rw-r--r--app-misc/workrave/workrave-1.4.0.ebuild64
4 files changed, 73 insertions, 3 deletions
diff --git a/app-misc/workrave/ChangeLog b/app-misc/workrave/ChangeLog
index d43d58fb97f0..3bde3310edd2 100644
--- a/app-misc/workrave/ChangeLog
+++ b/app-misc/workrave/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/workrave
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/ChangeLog,v 1.3 2003/04/08 05:43:42 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/ChangeLog,v 1.4 2003/08/31 06:55:09 obz Exp $
+
+*workrave-1.4.0 (31 Aug 2003)
+
+ 31 Aug 2003; Mike Gardiner <obz@gentoo.org> workrave-1.4.0.ebuild:
+ New version, includes gnome support via gtkmm/gnomemm
*workrave-1.2.2 (07 Apr 2003)
diff --git a/app-misc/workrave/Manifest b/app-misc/workrave/Manifest
index 3fa42cc22e4f..661a8fec879b 100644
--- a/app-misc/workrave/Manifest
+++ b/app-misc/workrave/Manifest
@@ -1,6 +1,6 @@
-MD5 1768489264b1f0c9a52ee8fe9c8c6e20 workrave-1.4.0.ebuild 1555
+MD5 185b9a4eab050ce866648fbdc58e6f87 workrave-1.4.0.ebuild 1654
MD5 d372a61d8cc2e55bfa9f6f3b74aaed59 workrave-1.0.0.ebuild 1011
-MD5 d46fffaedc9ebc94dd4b6a412772bc20 ChangeLog 530
+MD5 ee99590c078acff6be4fbd5e473747f7 ChangeLog 681
MD5 4b91c54f7770e39d2cc8855e784eeb70 workrave-1.2.2.ebuild 1321
MD5 eee2df47107a2d3cb227075415706c59 files/digest-workrave-1.0.0 66
MD5 5c5d367dc02b77f1af5c9fe0b0bddf6f files/digest-workrave-1.2.2 66
diff --git a/app-misc/workrave/files/digest-workrave-1.4.0 b/app-misc/workrave/files/digest-workrave-1.4.0
new file mode 100644
index 000000000000..e50380500ef1
--- /dev/null
+++ b/app-misc/workrave/files/digest-workrave-1.4.0
@@ -0,0 +1 @@
+MD5 d5bd1127b533b6d613335f7f240005ad workrave-1.4.0.tar.gz 968636
diff --git a/app-misc/workrave/workrave-1.4.0.ebuild b/app-misc/workrave/workrave-1.4.0.ebuild
new file mode 100644
index 000000000000..d9dfb8163c76
--- /dev/null
+++ b/app-misc/workrave/workrave-1.4.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/workrave-1.4.0.ebuild,v 1.1 2003/08/31 06:55:09 obz Exp $
+
+DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
+HOMEPAGE="http://workrave.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+# This is the first workrave ebuild with gnome support,
+# which should be considered experimental. The next
+# step should be converting to the gnome2 eclass.
+# <obz@gentoo.org>
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls xml2 gnome"
+KEYWORDS="~x86"
+
+RDEPEND=">=dev-libs/libsigc++-1.2
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2
+ >=dev-cpp/gtkmm-2
+ xml2? ( dev-libs/gdome2 )
+ gnome? ( >=gnome-base/libgnomeui-2
+ >=dev-cpp/libgnomeuimm-1.3
+ >=gnome-base/gnome-panel-2.0.1
+ >=gnome-base/libbonobo-2
+ >=gnome-base/gconf-2 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ # need to remove the configure specified CFLAGS
+ sed -e "/CFLAGS/s/-O2//" -e "/CFLAGS/s/-g//" \
+ < configure > configure.sed
+ sed -e "/CXXFLAGS/s/-O2//" -e "/CFLAGS/s/-g//" \
+ < configure.sed > configure
+
+}
+
+src_compile() {
+ local myconf=""
+
+ use gnome && myconf="${myconf} --enable-gnome --enable-gconf"
+ use nls || myconf="${myconf} --disable-nls"
+ use xml2 && myconf="${myconf} --enable-xml"
+
+ econf ${myconf} || die
+
+ # emake will bring nothing but trouble if you're using the `nls' USE
+ # var
+ make || die "Compilation failed"
+}
+
+src_install() {
+ einstall || die
+
+ dodoc ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README*
+}