From a3f314e0057812996eefd935a227ac91933f501f Mon Sep 17 00:00:00 2001 From: landry Date: Tue, 13 Oct 2009 19:36:31 +0000 Subject: [PATCH] Import pigment 0.3.17: Pigment is a library designed to easily build user interfaces for embedded multimedia. Its design allows to use it on several platforms, thanks to a plugin system allowing to choose the underlying graphical API. Note that it heavily uses OpenGL, so you need a decent hardware support for it. Thanks to those who support hackathons, i wouldn't have been able to spend >1 day on it otherwise. ok ajacoutot@ --- graphics/pigment/Makefile | 45 ++++++++++++++++++ graphics/pigment/distinfo | 5 ++ graphics/pigment/pkg/DESCR | 6 +++ graphics/pigment/pkg/PFRAG.shared | 6 +++ graphics/pigment/pkg/PLIST | 79 +++++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 graphics/pigment/Makefile create mode 100644 graphics/pigment/distinfo create mode 100644 graphics/pigment/pkg/DESCR create mode 100644 graphics/pigment/pkg/PFRAG.shared create mode 100644 graphics/pigment/pkg/PLIST diff --git a/graphics/pigment/Makefile b/graphics/pigment/Makefile new file mode 100644 index 00000000000..c206c72c903 --- /dev/null +++ b/graphics/pigment/Makefile @@ -0,0 +1,45 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/10/13 19:36:31 landry Exp $ + +COMMENT = 3D scene graph library for rich UI + +CATEGORIES = graphics + +DISTNAME = pigment-0.3.17 +MASTER_SITES = http://elisa.fluendo.com/static/download/pigment/ + +SHARED_LIBS += pigment-0.3 0.0 \ + pigment-gtk-0.3 0.0 \ + pigment-imaging-0.3 0.0 + +# LGPLv2.1 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +HOMEPAGE = https://code.fluendo.com/pigment/trac + +CONFIGURE_STYLE = gnu +#tslib is linux only +CONFIGURE_ARGS = --enable-touchscreen=no \ + --enable-opengl-tests + +CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ + CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" + +MODULES = devel/gettext +USE_LIBTOOL = Yes +USE_GMAKE = Yes +# needs a check-enabled gstreamer +NO_REGRESS = Yes + +LIB_DEPENDS = gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0,gdk_pixbuf_xlib-2.0::x11/gtk+2 \ + gstvideo-0.10::multimedia/gstreamer-0.10/plugins-base + +WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes +WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig +WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 +WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre xml2 +WANTLIB += pixman-1 png pthread-stubs xcb z gstbase-0.10 gstreamer-0.10 + +.include diff --git a/graphics/pigment/distinfo b/graphics/pigment/distinfo new file mode 100644 index 00000000000..7368f04139f --- /dev/null +++ b/graphics/pigment/distinfo @@ -0,0 +1,5 @@ +MD5 (pigment-0.3.17.tar.gz) = O1A6f9wHw739exuWxhJQqg== +RMD160 (pigment-0.3.17.tar.gz) = ADBg25xwaYAI0Yot4uLmfTd2w1Q= +SHA1 (pigment-0.3.17.tar.gz) = t0Z8y93zKnX1SoZ8dl05O3v8iuU= +SHA256 (pigment-0.3.17.tar.gz) = eNNBL9hoKNcBo5qGesXgov8I16Iom6/YEi0Kwvz8Ias= +SIZE (pigment-0.3.17.tar.gz) = 1204962 diff --git a/graphics/pigment/pkg/DESCR b/graphics/pigment/pkg/DESCR new file mode 100644 index 00000000000..bec955e8fde --- /dev/null +++ b/graphics/pigment/pkg/DESCR @@ -0,0 +1,6 @@ +Pigment is a library designed to easily build user interfaces for +embedded multimedia. Its design allows to use it on several platforms, +thanks to a plugin system allowing to choose the underlying graphical +API. +Note that it heavily uses OpenGL, so you need a decent hardware +support for it. diff --git a/graphics/pigment/pkg/PFRAG.shared b/graphics/pigment/pkg/PFRAG.shared new file mode 100644 index 00000000000..2706c0f5996 --- /dev/null +++ b/graphics/pigment/pkg/PFRAG.shared @@ -0,0 +1,6 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/10/13 19:36:31 landry Exp $ +@lib lib/libpigment-0.3.so.${LIBpigment-0.3_VERSION} +@lib lib/libpigment-gtk-0.3.so.${LIBpigment-gtk-0.3_VERSION} +@lib lib/libpigment-imaging-0.3.so.${LIBpigment-imaging-0.3_VERSION} +lib/pigment-0.3/0.3.17/libpgmboilerplate.so +lib/pigment-0.3/0.3.17/libpgmopengl.so diff --git a/graphics/pigment/pkg/PLIST b/graphics/pigment/pkg/PLIST new file mode 100644 index 00000000000..c4638f4cd18 --- /dev/null +++ b/graphics/pigment/pkg/PLIST @@ -0,0 +1,79 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/13 19:36:31 landry Exp $ +%%SHARED%% +include/pigment-0.3/ +include/pigment-0.3/pgm/ +include/pigment-0.3/pgm/gtk/ +include/pigment-0.3/pgm/gtk/pgmgtk.h +include/pigment-0.3/pgm/imaging/ +include/pigment-0.3/pgm/imaging/pgmimaging.h +include/pigment-0.3/pgm/pgm.h +include/pigment-0.3/pgm/pgmcanvas.h +include/pigment-0.3/pgm/pgmcommon.h +include/pigment-0.3/pgm/pgmdrawable.h +include/pigment-0.3/pgm/pgmenumtypes.h +include/pigment-0.3/pgm/pgmevents.h +include/pigment-0.3/pgm/pgmimage.h +include/pigment-0.3/pgm/pgmimagesink.h +include/pigment-0.3/pgm/pgmkeysyms.h +include/pigment-0.3/pgm/pgmlinearalgebra.h +include/pigment-0.3/pgm/pgmmarshal.h +include/pigment-0.3/pgm/pgmmodule.h +include/pigment-0.3/pgm/pgmplugin.h +include/pigment-0.3/pgm/pgmtext.h +include/pigment-0.3/pgm/pgmversion.h +include/pigment-0.3/pgm/pgmviewport.h +include/pigment-0.3/pgm/pgmviewportfactory.h +lib/libpigment-0.3.a +lib/libpigment-0.3.la +lib/libpigment-gtk-0.3.a +lib/libpigment-gtk-0.3.la +lib/libpigment-imaging-0.3.a +lib/libpigment-imaging-0.3.la +lib/pigment-0.3/ +lib/pigment-0.3/0.3.17/ +lib/pigment-0.3/0.3.17/libpgmboilerplate.a +lib/pigment-0.3/0.3.17/libpgmboilerplate.la +lib/pigment-0.3/0.3.17/libpgmopengl.a +lib/pigment-0.3/0.3.17/libpgmopengl.la +lib/pkgconfig/ +lib/pkgconfig/pigment-0.3.pc +lib/pkgconfig/pigment-gtk-0.3.pc +lib/pkgconfig/pigment-imaging-0.3.pc +share/gtk-doc/ +share/gtk-doc/html/ +share/gtk-doc/html/pigment/ +share/gtk-doc/html/pigment/PgmCanvas.html +share/gtk-doc/html/pigment/PgmDrawable.html +share/gtk-doc/html/pigment/PgmGtk.html +share/gtk-doc/html/pigment/PgmImage.html +share/gtk-doc/html/pigment/PgmImageSink.html +share/gtk-doc/html/pigment/PgmText.html +share/gtk-doc/html/pigment/PgmViewport.html +share/gtk-doc/html/pigment/PgmViewportFactory.html +share/gtk-doc/html/pigment/api-index.html +share/gtk-doc/html/pigment/filled_layout.png +share/gtk-doc/html/pigment/home.png +share/gtk-doc/html/pigment/index.html +share/gtk-doc/html/pigment/index.sgml +share/gtk-doc/html/pigment/introduction.html +share/gtk-doc/html/pigment/left.png +share/gtk-doc/html/pigment/pgm-compiling.html +share/gtk-doc/html/pigment/pgm-running.html +share/gtk-doc/html/pigment/pigment-Pgm.html +share/gtk-doc/html/pigment/pigment-PgmCommon.html +share/gtk-doc/html/pigment/pigment-PgmEvents.html +share/gtk-doc/html/pigment/pigment-PgmImaging.html +share/gtk-doc/html/pigment/pigment-PgmLinearAlgebra.html +share/gtk-doc/html/pigment/pigment-PgmPlugin.html +share/gtk-doc/html/pigment/pigment-PgmVersion.html +share/gtk-doc/html/pigment/pigment-core.html +share/gtk-doc/html/pigment/pigment-hierarchy.html +share/gtk-doc/html/pigment/pigment-library.html +share/gtk-doc/html/pigment/pigment-overview.html +share/gtk-doc/html/pigment/pigment.devhelp +share/gtk-doc/html/pigment/pigment.devhelp2 +share/gtk-doc/html/pigment/right.png +share/gtk-doc/html/pigment/scaled_layout.png +share/gtk-doc/html/pigment/style.css +share/gtk-doc/html/pigment/up.png +share/gtk-doc/html/pigment/zoomed_layout.png