ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# Created by: Alexander Logvinov <ports@logvinov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gecko-mediaplayer
|
|
PORTVERSION= 1.0.9
|
|
PORTREVISION= 8
|
|
CATEGORIES= www multimedia gnome
|
|
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} \
|
|
libxul-npapi-headers-45.9.0${EXTRACT_SUFX}:npapi
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multimedia browser plugin for Gecko based browsers
|
|
|
|
LICENSE= GPLv2
|
|
|
|
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 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"
|
|
|
|
OPTIONS_DEFINE= CACHE DOCS
|
|
OPTIONS_DEFAULT= CACHE
|
|
|
|
CACHE_DESC= Enable caching of remote media to local storage
|
|
CACHE_CONFIGURE_ENABLE= caching
|
|
|
|
WEBPLUGIN_FILES= ${PORTNAME}.so
|
|
.for p in dvx rm qt wmp
|
|
WEBPLUGIN_FILES+= ${PORTNAME}-${p}.so
|
|
.endfor
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/COPYING\\/d ; \
|
|
/INSTALL\\/d' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|-ldl||' ${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
"s|= (char) NULL;|= '\0';|" ${WRKSRC}/src/plugin_list.cpp
|
|
|
|
.include <bsd.port.mk>
|