diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-02-28 22:20:10 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-02-28 22:20:10 +0800 |
commit | faba684782a73f35c7906ccbb9c66c2ca00c5995 (patch) | |
tree | 894f46b39264cd4416dc7e469946cd1e5e518e50 /multimedia/libcec | |
parent | a132e888fcb74861fd9f5e1988e77f0f6bc4e4ff (diff) | |
download | freebsd-ports-gnome-faba684782a73f35c7906ccbb9c66c2ca00c5995.tar.gz freebsd-ports-gnome-faba684782a73f35c7906ccbb9c66c2ca00c5995.tar.zst freebsd-ports-gnome-faba684782a73f35c7906ccbb9c66c2ca00c5995.zip |
- Update libcec to 2.2.0 [1]
- Unbreak consumers after update [2]
- No PORTREVISION bumps because binary compatible
PR: 196299
Differential Revision: https://reviews.freebsd.org/D1900
Submitted by: mickael.maillot@gmail.com (maintainer) [1]
Submitted by: Ben Woods <woodsb02@gmail.com> (maintainer) [2]
Diffstat (limited to 'multimedia/libcec')
-rw-r--r-- | multimedia/libcec/Makefile | 8 | ||||
-rw-r--r-- | multimedia/libcec/distinfo | 4 | ||||
-rw-r--r-- | multimedia/libcec/files/patch-configure.ac | 27 |
3 files changed, 32 insertions, 7 deletions
diff --git a/multimedia/libcec/Makefile b/multimedia/libcec/Makefile index 846afaf51bbd..775023dbca6d 100644 --- a/multimedia/libcec/Makefile +++ b/multimedia/libcec/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libcec -PORTVERSION= 2.1.4 +PORTVERSION= 2.2.0 CATEGORIES= multimedia MASTER_SITES= GH @@ -14,20 +14,18 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= Pulse-Eight -GH_COMMIT= 81e3821 +GH_COMMIT= 2a80b46 GH_TAGNAME= ${PORTNAME}-${PORTVERSION}-repack USES= alias pathfix pkgconfig libtool PATHFIX_MAKEFILEIN=Makefile.am +USE_XORG= x11 xproto xrandr USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize ACLOCAL_ARGS= -I. AUTOMAKE_ARGS= --add-missing USE_LDCONFIG= yes INSTALL_TARGET= install-strip -post-patch: - ${REINPLACE_CMD} 's;-Wno-psabi;;' ${WRKSRC}/configure.ac - .include <bsd.port.options.mk> .if ${ARCH} == armv6 diff --git a/multimedia/libcec/distinfo b/multimedia/libcec/distinfo index 87356263dfe2..9d200aaa5508 100644 --- a/multimedia/libcec/distinfo +++ b/multimedia/libcec/distinfo @@ -1,2 +1,2 @@ -SHA256 (libcec-2.1.4.tar.gz) = b8e869cc16a5c73a0da4443911cfd0e931f17324bdaad8210b0de085db0573ea -SIZE (libcec-2.1.4.tar.gz) = 1093922 +SHA256 (libcec-2.2.0.tar.gz) = 63c3a4936d074bcfea21a0301bb1bedc6b5abba280e296b12fdca15addcedee9 +SIZE (libcec-2.2.0.tar.gz) = 1099260 diff --git a/multimedia/libcec/files/patch-configure.ac b/multimedia/libcec/files/patch-configure.ac new file mode 100644 index 000000000000..fc90984f4e7e --- /dev/null +++ b/multimedia/libcec/files/patch-configure.ac @@ -0,0 +1,27 @@ +--- configure.ac.orig 2014-12-16 12:03:01.000000000 +0100 ++++ configure.ac 2014-12-16 12:05:57.000000000 +0100 +@@ -236,6 +236,24 @@ + AM_CONDITIONAL(USE_X11_RANDR, false) + SUPPRESS_MANGLING_WARNINGS="" + ;; ++ *-*-freebsd*) ++ SUPPRESS_MANGLING_WARNINGS="" ++ ## search for X11/xrandr ++ libs_tmp="$LIBS" ++ use_x11_xrandr="yes" ++ AC_CHECK_HEADER(X11/Xlib.h,,[use_x11_xrandr="no"]) ++ AC_CHECK_HEADER(X11/Xatom.h,,[use_x11_xrandr="no"]) ++ AC_CHECK_HEADER(X11/extensions/Xrandr.h,,[use_x11_xrandr="no"]) ++ AC_CHECK_LIB(X11,XOpenDisplay,,[use_x11_xrandr="no"]) ++ AC_CHECK_LIB(Xrandr,XRRGetScreenResources,,[use_x11_xrandr="no"]) ++ if test "x$use_x11_xrandr" = "xyes"; then ++ AC_DEFINE([HAVE_RANDR],[1],[Define to 1 to include support for the X11 randr extension]) ++ AM_CONDITIONAL(USE_X11_RANDR, true) ++ else ++ AM_CONDITIONAL(USE_X11_RANDR, false) ++ LIBS="$libs_tmp" ++ fi ++ ;; + esac + + ## define the build info |