summaryrefslogtreecommitdiff
path: root/x11/qwspritefield
diff options
context:
space:
mode:
authortron <tron>1999-03-23 21:08:01 +0000
committertron <tron>1999-03-23 21:08:01 +0000
commited3ea018ea753cc0aa3a4eede7fb17a1d157eac5 (patch)
tree52c0d1d0c49ce1fe82f84fe4b6189ebf86f98b3c /x11/qwspritefield
parent728290d1b75df7d80591664b75c3f26bbad2038e (diff)
downloadpkgsrc-ed3ea018ea753cc0aa3a4eede7fb17a1d157eac5.tar.gz
New "qwspritefield" package:
Efficiently redrawn sprites in the Qt GUI Toolkit.
Diffstat (limited to 'x11/qwspritefield')
-rw-r--r--x11/qwspritefield/Makefile28
-rw-r--r--x11/qwspritefield/files/md53
-rw-r--r--x11/qwspritefield/patches/patch-aa55
-rw-r--r--x11/qwspritefield/pkg/COMMENT1
-rw-r--r--x11/qwspritefield/pkg/DESCR23
-rw-r--r--x11/qwspritefield/pkg/PLIST7
6 files changed, 117 insertions, 0 deletions
diff --git a/x11/qwspritefield/Makefile b/x11/qwspritefield/Makefile
new file mode 100644
index 00000000000..e9fff923d5a
--- /dev/null
+++ b/x11/qwspritefield/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/23 21:08:01 tron Exp $
+
+DISTNAME= QwSpriteField1.6
+PKGNAME= qwspritefield-1.6
+CATEGORIES= x11 graphics
+MASTER_SITES= ftp://ftp.troll.no/contrib/
+
+MAINTAINER= tron@netbsd.org
+
+DEPENDS+= qt-1.42:../../x11/qt
+
+CONFLICTS= kdesupport-1.0
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/QwSpriteField
+
+QW_INCLUDES= Pix.h QwCluster.h QwPublicList.h QwSpriteField.h
+
+do-install:
+ @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libQwSpriteField.la \
+ ${PREFIX}/lib
+.for FILE in ${QW_INCLUDES}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/include/qt
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qwspritefield/files/md5 b/x11/qwspritefield/files/md5
new file mode 100644
index 00000000000..039b9d152e6
--- /dev/null
+++ b/x11/qwspritefield/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/03/23 21:08:02 tron Exp $
+
+MD5 (QwSpriteField1.6.tar.gz) = 51339b4cd4dd7b094e4b640b4efd43e8
diff --git a/x11/qwspritefield/patches/patch-aa b/x11/qwspritefield/patches/patch-aa
new file mode 100644
index 00000000000..47534a65d9c
--- /dev/null
+++ b/x11/qwspritefield/patches/patch-aa
@@ -0,0 +1,55 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/03/23 21:08:02 tron Exp $
+
+--- Makefile.orig Wed Dec 9 09:41:59 1998
++++ Makefile Tue Mar 23 21:45:32 1999
+@@ -1,9 +1,9 @@
+ VERSION=1.6
+
+-LDFLAGS=-L/usr/X11/lib -L$(QTDIR)/lib
++LDFLAGS=-L$(PREFIX)/lib -L$(QTDIR)/lib
+ LDLIBS=$(LIBRARY) -lqt -lX11
+-CXXFLAGS=-Wall -g -I$(QTDIR)/include -I.
+-#CXXFLAGS=-Wall -O2 -I$(QTDIR)/include -I.
++#CXXFLAGS=-Wall -g -I$(PREFIX)/include/qt -I.
++CXXFLAGS=-Wall -O2 -I$(PREFIX)/include/qt -I.
+ MOCS=moc_QwSpriteField.cpp
+ SRC=QwSpriteField.cpp QwSpriteField-double.cpp QwSpriteField-int.cpp \
+ QwSpriteField-mobdouble.cpp QwSpriteField-mobint.cpp QwCluster.cpp \
+@@ -11,12 +11,12 @@
+ OBJ=QwSpriteField.o QwSpriteField-double.o QwSpriteField-int.o \
+ QwSpriteField-mobdouble.o QwSpriteField-mobint.o QwCluster.o \
+ moc_QwSpriteField.o
+-LIBRARY=libQwSpriteField.a
++LIBRARY=libQwSpriteField.la
+
+-all: $(LIBRARY) example
++all: $(LIBRARY)
+
+ $(LIBRARY): $(OBJ)
+- ar rs $(LIBRARY) $?
++ $(LIBTOOL) --mode=link $(CXX) -rpath $(PREFIX)/lib -version-info 6:0 -o $(LIBRARY) $(OBJ:.o=.lo)
+
+ example: example.o moc_example.o $(LIBRARY)
+
+@@ -95,11 +95,8 @@
+ moc_%.cpp: %.h
+ moc $*.h -o moc_$*.cpp
+
+-QwSpriteField-%.o: QwSpriteField-%.cpp
+- $(COMPILE.cc) QwSpriteField-$*.cpp $(OUTPUT_OPTION)
+-
+ %.o: %.cpp
+- $(COMPILE.cc) $< $(OUTPUT_OPTION)
++ $(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) -c $<
+
+ clean:
+ -rm doc/html/*~ *~ *.o *.moc core
+@@ -112,7 +109,7 @@
+ Dependencies:
+ @echo "Making file $@ automatically."
+ touch Dependencies
+- make depend
++ ${MAKE} depend
+
+ include Dependencies
+
diff --git a/x11/qwspritefield/pkg/COMMENT b/x11/qwspritefield/pkg/COMMENT
new file mode 100644
index 00000000000..df010b42d7c
--- /dev/null
+++ b/x11/qwspritefield/pkg/COMMENT
@@ -0,0 +1 @@
+Efficiently redrawn sprites in the Qt GUI Toolkit.
diff --git a/x11/qwspritefield/pkg/DESCR b/x11/qwspritefield/pkg/DESCR
new file mode 100644
index 00000000000..d82177a7d42
--- /dev/null
+++ b/x11/qwspritefield/pkg/DESCR
@@ -0,0 +1,23 @@
+This is my QwSpriteField class set for implementing efficiently redrawn
+sprites in the Qt GUI Toolkit.
+
+This directory contains all the sources for the QwSpriteField class set.
+
+The documentation is in html/index.html
+
+A trivial example is given in example.cpp
+
+The sprite subdirectory is graphics for the example program. It is
+pregenerated, but if you have POVRAY 3.0 you can experiment with that
+too.
+
+This software is licensed under the LGPL. In essence, this means that
+you can use it in any application, but if you modify it, you must
+distribute your modifications in source form along with your software
+(or preferrably, talk with me about getting your changes into the
+standard distribution). If you do not modify it, it is sufficient to
+give a clearly visible reference (a URL will do) to the source code.
+Full details are described in COPYING.LIB
+
+--
+Warwick Allison <warwick@troll.no>
diff --git a/x11/qwspritefield/pkg/PLIST b/x11/qwspritefield/pkg/PLIST
new file mode 100644
index 00000000000..4cbdbcbce31
--- /dev/null
+++ b/x11/qwspritefield/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/03/23 21:08:02 tron Exp $
+lib/libQwSpriteField.a
+lib/libQwSpriteField.so.6.0
+include/qt/Pix.h
+include/qt/QwCluster.h
+include/qt/QwPublicList.h
+include/qt/QwSpriteField.h