add gtkglarea port
This commit is contained in:
parent
6ab7bb4f8e
commit
7670b16b8d
30
x11/gtkglarea/Makefile
Normal file
30
x11/gtkglarea/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/22 16:18:16 brad Exp $
|
||||
|
||||
DISTNAME= gtkglarea-1.2.1
|
||||
CATEGORIES= x11 graphics
|
||||
MASTER_SITES= http://www.student.oulu.fi/~jlof/gtkglarea/download/
|
||||
|
||||
NEED_VERSION= 1.73
|
||||
|
||||
HOMEPAGE= http://www.student.oulu.fi/~jlof/gtkglarea/
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
LIB_DEPENDS= MesaGL:${PORTSDIR}/graphics/MesaGL \
|
||||
MesaGLU:${PORTSDIR}/graphics/MesaGL \
|
||||
gtk\\.1\\.2:${PORTSDIR}/x11/gtk+
|
||||
|
||||
USE_X11= yes
|
||||
SEPARATE_BUILD= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/gtkglarea/
|
||||
cd ${WRKSRC}/docs ; \
|
||||
${INSTALL_MAN} HOWTO.txt ${PREFIX}/share/doc/gtkglarea ; \
|
||||
${INSTALL_MAN} gdkgl.txt ${PREFIX}/share/doc/gtkglarea ; \
|
||||
${INSTALL_MAN} gtkglarea.txt ${PREFIX}/share/doc/gtkglarea
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gtkglarea/files/md5
Normal file
3
x11/gtkglarea/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gtkglarea-1.2.1.tar.gz) = 14ef36ec3b027775cc41db0717ef6270
|
||||
RMD160 (gtkglarea-1.2.1.tar.gz) = 7057ce689583be63d72245bf0cff23309d1a262f
|
||||
SHA1 (gtkglarea-1.2.1.tar.gz) = 32a93940756ed26f6baf950f7664f3013d3c0edd
|
43
x11/gtkglarea/patches/patch-aa
Normal file
43
x11/gtkglarea/patches/patch-aa
Normal file
@ -0,0 +1,43 @@
|
||||
--- ltmain.sh.orig Mon Mar 22 11:01:11 1999
|
||||
+++ ltmain.sh Mon Mar 22 11:01:27 1999
|
||||
@@ -2633,40 +2633,6 @@
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "To link against installed libraries in a given directory, LIBDIR,"
|
||||
- echo "you must use the \`-LLIBDIR' flag during linking."
|
||||
- echo
|
||||
- echo " You will also need to do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
1
x11/gtkglarea/pkg/COMMENT
Normal file
1
x11/gtkglarea/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
OpenGL/Mesa widget for GTK+ GUI toolkit
|
8
x11/gtkglarea/pkg/DESCR
Normal file
8
x11/gtkglarea/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Just as GTK+ is build on top of GDK, GtkGLArea is built on top of
|
||||
gdkgl which is basically wrapper around GLX functions. The widget
|
||||
itself is very similar to GtkDrawinigArea widget and adds only few
|
||||
extra functions.
|
||||
|
||||
Lower level gdkgl functions make it easy to render on any widget
|
||||
that has OpenGL capable visual, rendering to off-screen pixmaps is
|
||||
also supported.
|
11
x11/gtkglarea/pkg/PLIST
Normal file
11
x11/gtkglarea/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
include/gtkgl/gdkgl.h
|
||||
include/gtkgl/gtkglarea.h
|
||||
@dirrm include/gtkgl
|
||||
lib/libgtkgl.so.3.0
|
||||
lib/libgtkgl.la
|
||||
lib/libgtkgl.a
|
||||
share/doc/gtkglarea/HOWTO.txt
|
||||
share/doc/gtkglarea/gdkgl.txt
|
||||
share/doc/gtkglarea/gtkglarea.txt
|
||||
@dirrm share/doc/gtkglarea
|
||||
@exec /sbin/ldconfig -m %B
|
9
x11/gtkglarea/pkg/PLIST.noshared
Normal file
9
x11/gtkglarea/pkg/PLIST.noshared
Normal file
@ -0,0 +1,9 @@
|
||||
include/gtkgl/gdkgl.h
|
||||
include/gtkgl/gtkglarea.h
|
||||
@dirrm include/gtkgl
|
||||
lib/libgtkgl.la
|
||||
lib/libgtkgl.a
|
||||
share/doc/gtkglarea/HOWTO.txt
|
||||
share/doc/gtkglarea/gdkgl.txt
|
||||
share/doc/gtkglarea/gtkglarea.txt
|
||||
@dirrm share/doc/gtkglarea
|
Loading…
Reference in New Issue
Block a user