aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-07 20:20:05 +0800
committerbapt <bapt@FreeBSD.org>2014-10-07 20:20:05 +0800
commit8978938bbd805d08de1d3c63d53bc1a1bbe0576e (patch)
treec564f652fe1e50368b4acefbc710fb7c9283f04b
parent81980ac2f7fb56ce7aaec167eaf370d63dabda8e (diff)
downloadfreebsd-ports-gnome-8978938bbd805d08de1d3c63d53bc1a1bbe0576e.tar.gz
freebsd-ports-gnome-8978938bbd805d08de1d3c63d53bc1a1bbe0576e.tar.zst
freebsd-ports-gnome-8978938bbd805d08de1d3c63d53bc1a1bbe0576e.zip
Import libgltf required by libreoffice 4.3
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libgltf/Makefile25
-rw-r--r--graphics/libgltf/distinfo2
-rw-r--r--graphics/libgltf/pkg-descr3
-rw-r--r--graphics/libgltf/pkg-plist6
5 files changed, 37 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index ddb62e17725b..07393ac4e11e 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -504,6 +504,7 @@
SUBDIR += libglapi
SUBDIR += libglesv2
SUBDIR += libgltext
+ SUBDIR += libgltf
SUBDIR += libgnomecanvas
SUBDIR += libgnomecanvas-reference
SUBDIR += libgnomecanvasmm26
diff --git a/graphics/libgltf/Makefile b/graphics/libgltf/Makefile
new file mode 100644
index 000000000000..1ec9dadc70bd
--- /dev/null
+++ b/graphics/libgltf/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= libgltf
+PORTVERSION= 0.0.2
+CATEGORIES= graphics devel
+MASTER_SITES= LODEV
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= C++ Library for rendering OpenGL models stored in glTF format
+
+LICENSE= LGPL21 MPL
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs \
+ ${LOCALBASE}/include/glm/glm.hpp:${PORTSDIR}/math/glm
+LIB_DEPENDS= libGLEW.so:${PORTSDIR}/graphics/glew
+
+USES= pathfix libtool tar:bzip2
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-werror
+INSTALL_TARGET= install-strip
+CPPFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.mk>
diff --git a/graphics/libgltf/distinfo b/graphics/libgltf/distinfo
new file mode 100644
index 000000000000..3d72a4eb2e40
--- /dev/null
+++ b/graphics/libgltf/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libgltf-0.0.2.tar.bz2) = d1cc7297ed1921aa969e26413b4c4e18afc882ce4d2f5a2aa2a2905706f7206b
+SIZE (libgltf-0.0.2.tar.bz2) = 538040
diff --git a/graphics/libgltf/pkg-descr b/graphics/libgltf/pkg-descr
new file mode 100644
index 000000000000..e4fe49131bad
--- /dev/null
+++ b/graphics/libgltf/pkg-descr
@@ -0,0 +1,3 @@
+Library for rendering OpenGL models stored in glTF format
+
+WWW: http://www.libreoffice.org
diff --git a/graphics/libgltf/pkg-plist b/graphics/libgltf/pkg-plist
new file mode 100644
index 000000000000..51aaeff58622
--- /dev/null
+++ b/graphics/libgltf/pkg-plist
@@ -0,0 +1,6 @@
+include/libgltf-0.0/libgltf.h
+include/libgltf-0.0/types.h
+lib/libgltf-0.0.so
+lib/libgltf-0.0.so.0
+lib/libgltf-0.0.so.0.0.2
+libdata/pkgconfig/libgltf-0.0.pc