Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2018 05:10:41 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473182 - in head/www/gecko-mediaplayer: . files
Message-ID:  <201806240510.w5O5Afps085838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Jun 24 05:10:41 2018
New Revision: 473182
URL: https://svnweb.freebsd.org/changeset/ports/473182

Log:
  Attempt to unbreak www/gecko-mediaplayer
  
  - The build needs the 4 NPAPI headers.  Extract them from
    libxul-45.9.0_12 to a separate distfile and point the build
    to them.
  
  - Remove no longer needed patches

Deleted:
  head/www/gecko-mediaplayer/files/patch-configure
Modified:
  head/www/gecko-mediaplayer/Makefile
  head/www/gecko-mediaplayer/distinfo

Modified: head/www/gecko-mediaplayer/Makefile
==============================================================================
--- head/www/gecko-mediaplayer/Makefile	Sun Jun 24 05:04:48 2018	(r473181)
+++ head/www/gecko-mediaplayer/Makefile	Sun Jun 24 05:10:41 2018	(r473182)
@@ -3,33 +3,32 @@
 
 PORTNAME=	gecko-mediaplayer
 PORTVERSION=	1.0.9
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www multimedia gnome
-MASTER_SITES=	https://pkgs.rpmfusion.org/repo/pkgs/free/gecko-mediaplayer/gecko-mediaplayer-1.0.9.tar.gz/69b50ecbbbf34ca6d980a477345dbd40/
+MASTER_SITES=	https://pkgs.rpmfusion.org/repo/pkgs/free/gecko-mediaplayer/gecko-mediaplayer-1.0.9.tar.gz/69b50ecbbbf34ca6d980a477345dbd40/ \
+		LOCAL/tobik:npapi
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		npapi-headers${EXTRACT_SUFX}:npapi
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Multimedia browser plugin for Gecko based browsers
 
 LICENSE=	GPLv2
 
-BROKEN=		Does not specify gecko type to use
-
 LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
 		libnspr4.so:devel/nspr \
 		libcurl.so:ftp/curl \
 		libgmlib.so:multimedia/gmtk
 RUN_DEPENDS=	gnome-mplayer:multimedia/gnome-mplayer
 
-USES=		compiler:c++11-lang gecko gettext pkgconfig webplugin:native
+USES=		compiler:c++11-lang gettext gnome localbase pkgconfig webplugin:native
 USE_GNOME=	glib20
 USE_CXXSTD=	c++11
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-schemas-install \
 		--with-plugin_dir="${WEBPLUGIN_DIR}"
+CONFIGURE_ENV=	GECKO_CFLAGS="-I${WRKDIR}/npapi-headers -DHAVE_NSPR"
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 OPTIONS_DEFINE=		CACHE DOCS
 OPTIONS_DEFAULT=	CACHE
 
@@ -42,9 +41,6 @@ WEBPLUGIN_FILES+=	${PORTNAME}-${p}.so
 .endfor
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-		's|-std=c++11|| ; \
-		 s|-ldl||' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		'/COPYING\\/d ; \
 		 /INSTALL\\/d' ${WRKSRC}/Makefile.in

Modified: head/www/gecko-mediaplayer/distinfo
==============================================================================
--- head/www/gecko-mediaplayer/distinfo	Sun Jun 24 05:04:48 2018	(r473181)
+++ head/www/gecko-mediaplayer/distinfo	Sun Jun 24 05:10:41 2018	(r473182)
@@ -1,2 +1,5 @@
+TIMESTAMP = 1529800930
 SHA256 (gecko-mediaplayer-1.0.9.tar.gz) = 212a0a87e35da9ed944f5fb827552e9978fd3ea051da89554da5ef3934d4c2a5
 SIZE (gecko-mediaplayer-1.0.9.tar.gz) = 271917
+SHA256 (npapi-headers.tar.gz) = 625d86955aef95c7a0a4c192bb51a1e7833d30c2d53e390d07f97abd835744f8
+SIZE (npapi-headers.tar.gz) = 15637



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806240510.w5O5Afps085838>