Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webp: Update to 0.6.0
Also remove dependency on freeglut and mesa.

Closes: https://trac.macports.org/ticket/53382
  • Loading branch information
ryandesign committed Feb 8, 2017
1 parent cb589c6 commit a69f60e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
16 changes: 7 additions & 9 deletions graphics/webp/Portfile
Expand Up @@ -3,8 +3,7 @@
PortSystem 1.0

name webp
version 0.5.2
revision 1
version 0.6.0
categories graphics science devel
platforms darwin
maintainers ryandesign openmaintainer
Expand All @@ -28,19 +27,18 @@ long_description WebP is a new image format that provides lossy \
homepage https://developers.google.com/speed/webp/
master_sites http://downloads.webmproject.org/releases/webp/

checksums rmd160 c5fa8789459d80102c8cdbf2f216eab3a9db5a3a \
sha256 b75310c810b3eda222c77f6d6c26b061240e3d9060095de44b2c1bae291ecdef
checksums rmd160 82c3c6d5031de162b5282be49619ac1c343598b2 \
sha256 c928119229d4f8f35e20113ffb61f281eda267634a8dc2285af4b0ee27cf2b40

depends_lib port:freeglut \
port:giflib \
depends_lib port:giflib \
port:jpeg \
port:libpng \
port:mesa \
port:tiff \
port:zlib
port:tiff

distname libwebp-${version}

patchfiles configure.patch

configure.args-append \
--enable-libwebpmux \
--enable-libwebpdemux \
Expand Down
22 changes: 22 additions & 0 deletions graphics/webp/files/configure.patch
@@ -0,0 +1,22 @@
--- configure.orig 2017-01-30 14:41:24.000000000 -0600
+++ configure 2017-02-07 19:28:50.000000000 -0600
@@ -13347,8 +13347,8 @@
darwin*)
# Special case for OSX builds. Append these to give the user a chance to
# override with --with-gl*
- glut_cflags="$glut_cflags|-framework GLUT -framework OpenGL"
- glut_ldflags="$glut_ldflags|-framework GLUT -framework OpenGL"
+ glut_cflags="-framework GLUT -framework OpenGL"
+ glut_ldflags="-framework GLUT -framework OpenGL"
;;
esac

@@ -13365,7 +13365,7 @@
none) ;;
*) CPPFLAGS="$flag $CPPFLAGS";;
esac
- for ac_header in GL/glut.h GLUT/glut.h OpenGL/glut.h
+ for ac_header in GLUT/glut.h OpenGL/glut.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

0 comments on commit a69f60e

Please sign in to comment.