23215078 Deliver libwebp into Solaris
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>
Fri, 06 May 2016 13:33:53 -0700
changeset 5938 71aca4f1b60a
parent 5937 f38e131c2df4
child 5939 77fb180fb4fa
23215078 Deliver libwebp into Solaris PSARC/2016/270 libvpx and libwebp
components/desktop/libwebp/Makefile
components/desktop/libwebp/libwebp.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/libwebp/Makefile	Fri May 06 13:33:53 2016 -0700
@@ -0,0 +1,67 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+BUILD_BITS= 64_and_32
+COMPILER= gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		libwebp
+COMPONENT_VERSION=	0.4.3
+COMPONENT_PROJECT_URL=	http://www.webmproject.org/
+COMPONENT_ARCHIVE_HASH= \
+	sha256:efbe0d58fda936f2ed99d0b837ed7087d064d6838931f282c4618d2a3f7390c4
+COMPONENT_ARCHIVE_URL=	http://downloads.webmproject.org/releases/webp/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB=	library/libwebp
+
+TPNO=			25769
+
+# Required for 64-bit builds.
+LDFLAGS += $(CC_BITS)
+
+ASLR_MODE = $(ASLR_ENABLE)
+
+TEST_TARGET= $(NO_TESTS)
+
+include $(WS_MAKE_RULES)/common.mk
+
+# needs libgif, so disabling for now
+CONFIGURE_OPTIONS += --disable-gif
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --enable-gl
+CONFIGURE_OPTIONS += --enable-threading
+CONFIGURE_OPTIONS += --enable-png
+CONFIGURE_OPTIONS += --enable-jpeg
+CONFIGURE_OPTIONS += --enable-tiff
+CONFIGURE_OPTIONS += --enable-everything
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --with-pic
+
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += service/opengl/ogl-select
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/freeglut
+REQUIRED_PACKAGES += x11/library/mesa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/libwebp/libwebp.p5m	Fri May 06 13:33:53 2016 -0700
@@ -0,0 +1,85 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> \
+    default mangler.man.stability "pass-through volatile">
+set name=pkg.fmri \
+    value=pkg:/image/library/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Google WebP image format library and tools"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value="org.opensolaris.category.2008:System/Multimedia Libraries"
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=name value=com.oracle.info.description=$(COMPONENT_NAME)
+set name=org.opensolaris.arc-caseid value=PSARC/2016/270
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file path=usr/bin/cwebp
+file path=usr/bin/dwebp
+file path=usr/bin/vwebp pkg.depend.bypass-generate=libGL.so.1
+file path=usr/bin/webpmux
+file path=usr/include/webp/decode.h
+file path=usr/include/webp/demux.h
+file path=usr/include/webp/encode.h
+file path=usr/include/webp/mux.h
+file path=usr/include/webp/mux_types.h
+file path=usr/include/webp/types.h
+link path=usr/lib/$(MACH64)/libwebp.so target=libwebp.so.5.0.3
+link path=usr/lib/$(MACH64)/libwebp.so.5 target=libwebp.so.5.0.3
+file path=usr/lib/$(MACH64)/libwebp.so.5.0.3
+link path=usr/lib/$(MACH64)/libwebpdecoder.so target=libwebpdecoder.so.1.0.3
+link path=usr/lib/$(MACH64)/libwebpdecoder.so.1 target=libwebpdecoder.so.1.0.3
+file path=usr/lib/$(MACH64)/libwebpdecoder.so.1.0.3
+link path=usr/lib/$(MACH64)/libwebpdemux.so target=libwebpdemux.so.1.0.2
+link path=usr/lib/$(MACH64)/libwebpdemux.so.1 target=libwebpdemux.so.1.0.2
+file path=usr/lib/$(MACH64)/libwebpdemux.so.1.0.2
+link path=usr/lib/$(MACH64)/libwebpmux.so target=libwebpmux.so.1.0.2
+link path=usr/lib/$(MACH64)/libwebpmux.so.1 target=libwebpmux.so.1.0.2
+file path=usr/lib/$(MACH64)/libwebpmux.so.1.0.2
+file path=usr/lib/$(MACH64)/pkgconfig/libwebp.pc
+file path=usr/lib/$(MACH64)/pkgconfig/libwebpdecoder.pc
+file path=usr/lib/$(MACH64)/pkgconfig/libwebpdemux.pc
+file path=usr/lib/$(MACH64)/pkgconfig/libwebpmux.pc
+link path=usr/lib/libwebp.so target=libwebp.so.5.0.3
+link path=usr/lib/libwebp.so.5 target=libwebp.so.5.0.3
+file path=usr/lib/libwebp.so.5.0.3
+link path=usr/lib/libwebpdecoder.so target=libwebpdecoder.so.1.0.3
+link path=usr/lib/libwebpdecoder.so.1 target=libwebpdecoder.so.1.0.3
+file path=usr/lib/libwebpdecoder.so.1.0.3
+link path=usr/lib/libwebpdemux.so target=libwebpdemux.so.1.0.2
+link path=usr/lib/libwebpdemux.so.1 target=libwebpdemux.so.1.0.2
+file path=usr/lib/libwebpdemux.so.1.0.2
+link path=usr/lib/libwebpmux.so target=libwebpmux.so.1.0.2
+link path=usr/lib/libwebpmux.so.1 target=libwebpmux.so.1.0.2
+file path=usr/lib/libwebpmux.so.1.0.2
+file path=usr/lib/pkgconfig/libwebp.pc
+file path=usr/lib/pkgconfig/libwebpdecoder.pc
+file path=usr/lib/pkgconfig/libwebpdemux.pc
+file path=usr/lib/pkgconfig/libwebpmux.pc
+file path=usr/share/man/man1/cwebp.1
+file path=usr/share/man/man1/dwebp.1
+file path=usr/share/man/man1/vwebp.1
+file path=usr/share/man/man1/webpmux.1
+license COPYING license="WebM License"