ports/multimedia/gstreamer1-transcoder/Makefile
Mark Linimon 7bfae932f7 Prepare for powerpc-on-clang by deleting hard-coded tests for libstdc++.so
as a stand-in for "are we running on gcc".

For people already testing powerpc on clang, it is possible that they
already have both compilers in base.  Thus, the assumption that "gcc is
in base" (e.g.  libstdc++.so exists) always means "force use of GCC" is
already broken.  It will be for everyone on -CURRENT once the switch is
made.

While here, standardize on compiler:c++11-lang instead of -lib (they are
equivalent these days), pet portlint, and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2019-07-12 02:25:07 +00:00

36 lines
729 B
Makefile

# Created by: Ben Woods <woodsb02@FreeBSD.org>
# $FreeBSD$
PORTNAME= gstreamer1-transcoder
PORTVERSION= 1.14.1
CATEGORIES= multimedia
MAINTAINER= kwm@FreeBSD.org
COMMENT= GStreamer Transcoding API
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc
USES= compiler gnome meson pkgconfig python:3.3+ #shebangfix
USE_GNOME= introspection
USE_GSTREAMER1= core
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
#SHEBANG_FILES= configure
USE_GITHUB= yes
GH_ACCOUNT= pitivi
GH_PROJECT= gst-transcoder
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
${REINPLACE_CMD} -e '/-Wno-pedantic/d' \
${WRKSRC}/meson.build
.endif
.include <bsd.port.post.mk>