summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-05-13 18:28:21 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-05-13 18:28:21 +0000
commit44e00bc4845807d95a6479c457a5a7076f755354 (patch)
tree33e286ec5715c250bd83335318e2cc2337960adb /dev-java/systray4j
parentAdded sparc keyword. (diff)
downloadhistorical-44e00bc4845807d95a6479c457a5a7076f755354.tar.gz
historical-44e00bc4845807d95a6479c457a5a7076f755354.tar.bz2
historical-44e00bc4845807d95a6479c457a5a7076f755354.zip
Added amd64 keyword.
Diffstat (limited to 'dev-java/systray4j')
-rw-r--r--dev-java/systray4j/ChangeLog5
-rw-r--r--dev-java/systray4j/files/systray4j-2.4-fPIC.patch45
-rw-r--r--dev-java/systray4j/systray4j-2.4.ebuild6
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-java/systray4j/ChangeLog b/dev-java/systray4j/ChangeLog
index 55653965e1fa..b7acf8cd93f8 100644
--- a/dev-java/systray4j/ChangeLog
+++ b/dev-java/systray4j/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/systray4j
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/ChangeLog,v 1.3 2004/05/05 07:32:55 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/ChangeLog,v 1.4 2004/05/13 18:28:21 aliz Exp $
+
+ 13 May 2004; Daniel Ahlberg <aliz@gentoo.org> systray4j-2.4.ebuild:
+ Added amd64 keyword.
05 May 2004; Jeremy Huddleston <eradicator@gentoo.org> systray4j-2.4.ebuild:
Added to ~sparc.
diff --git a/dev-java/systray4j/files/systray4j-2.4-fPIC.patch b/dev-java/systray4j/files/systray4j-2.4-fPIC.patch
new file mode 100644
index 000000000000..0317f255e3f0
--- /dev/null
+++ b/dev-java/systray4j/files/systray4j-2.4-fPIC.patch
@@ -0,0 +1,45 @@
+--- kde/Makefile 2004-05-13 18:12:19.870026775 +0000
++++ kde/Makefile 2004-05-13 18:14:28.823167714 +0000
+@@ -21,34 +21,34 @@
+ -o systray4j.h snoozesoft.systray4j.NativeSysTray
+
+ systray4j.o: systray4j.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) systray4j.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) systray4j.cpp
+
+ systraymanager.o: systraymanager.cpp
+- g++ -Wall -c $(INCLUDE_KDE3) $(INCLUDE_QT3) $(INCLUDE_JNI) systraymanager.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_KDE3) $(INCLUDE_QT3) $(INCLUDE_JNI) systraymanager.cpp
+
+ menubase.moc.cpp : menubase.h
+ $(QT3_PATH)/bin/moc menubase.h -o menubase.moc.cpp
+
+ menubase.moc.o : menubase.moc.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) menubase.moc.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) menubase.moc.cpp
+
+ menubase.o: menubase.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) menubase.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) menubase.cpp
+
+ systraymenu.o: systraymenu.cpp
+- g++ -Wall -c $(INCLUDE_KDE3) $(INCLUDE_QT3) $(INCLUDE_JNI) systraymenu.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_KDE3) $(INCLUDE_QT3) $(INCLUDE_JNI) systraymenu.cpp
+
+ submenu.o: submenu.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) submenu.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) submenu.cpp
+
+ st4jevent.o: st4jevent.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) st4jevent.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) st4jevent.cpp
+
+ systraymanager.moc.cpp : systraymanager.h
+ $(QT3_PATH)/bin/moc systraymanager.h -o systraymanager.moc.cpp
+
+ systraymanager.moc.o : systraymanager.moc.cpp
+- g++ -Wall -c $(INCLUDE_QT3) $(INCLUDE_JNI) systraymanager.moc.cpp
++ g++ -Wall -fPIC -c $(INCLUDE_QT3) $(INCLUDE_JNI) systraymanager.moc.cpp
+
+ clean:
+ rm *.o *.moc.cpp libsystray4j.so
diff --git a/dev-java/systray4j/systray4j-2.4.ebuild b/dev-java/systray4j/systray4j-2.4.ebuild
index c4ce65ad3c81..1ad98f705279 100644
--- a/dev-java/systray4j/systray4j-2.4.ebuild
+++ b/dev-java/systray4j/systray4j-2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/systray4j-2.4.ebuild,v 1.2 2004/05/05 07:32:55 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/systray4j/systray4j-2.4.ebuild,v 1.3 2004/05/13 18:28:21 aliz Exp $
inherit kde java-pkg
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/systray/${P}-kde3-src.tar.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc"
+KEYWORDS="~x86 ~sparc ~amd64"
DEPEND="=kde-base/kdelibs-3*
dev-java/java-config
>=virtual/jdk-1.3
@@ -34,6 +34,8 @@ src_unpack() {
-e 's:^KDE3_PATH = .*$:KDE3_PATH = $(KDEDIR):g' \
-e 's:-L/opt/kde3/lib:-L$(KDEDIR)/lib -L$(QTDIR)/lib:g' \
${S}/kde/Makefile || die "Could not edit Makefile"
+
+ cd ${S} ; epatch ${FILESDIR}/${P}-fPIC.patch
}
src_compile() {