aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mythtv-frontend/Makefile
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2018-03-26 01:09:05 +0800
committerjhale <jhale@FreeBSD.org>2018-03-26 01:09:05 +0800
commitbc31248adbd67f84617f33a8c6edb77e4df61c73 (patch)
tree798b5fbd8a866689a9e7a6acdefbbe97f5e7555e /multimedia/mythtv-frontend/Makefile
parent44827cebe1485eb6a1667823e0c7046f3a94a07b (diff)
downloadfreebsd-ports-gnome-bc31248adbd67f84617f33a8c6edb77e4df61c73.tar.gz
freebsd-ports-gnome-bc31248adbd67f84617f33a8c6edb77e4df61c73.tar.zst
freebsd-ports-gnome-bc31248adbd67f84617f33a8c6edb77e4df61c73.zip
Update multimedia/mythtv and related ports to 29.1 [1]
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv which should make future updates much easier. Upstream security patches have been added to address known vulnerabilities in the bundled ffmpeg 3.2. PR: 225652 (initial patches to update to 29.0) [1] Submitted by: <lucylangthorne55@gmail.com> [1] Differential Revision: https://reviews.freebsd.org/D14563
Diffstat (limited to 'multimedia/mythtv-frontend/Makefile')
-rw-r--r--multimedia/mythtv-frontend/Makefile88
1 files changed, 7 insertions, 81 deletions
diff --git a/multimedia/mythtv-frontend/Makefile b/multimedia/mythtv-frontend/Makefile
index 0309d3d7cc02..ac5303c686cd 100644
--- a/multimedia/mythtv-frontend/Makefile
+++ b/multimedia/mythtv-frontend/Makefile
@@ -1,88 +1,14 @@
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
-PORTNAME= mythtv-frontend
-DISTVERSIONPREFIX= v
-DISTVERSION= 0.27.5
-PORTEPOCH= 1
-CATEGORIES= multimedia
+PORTREVISION= 0
+PKGNAMESUFFIX= -${SLAVEPORT}
MAINTAINER= ports@FreeBSD.org
-COMMENT= MythTV is a homebrew PVR project
+COMMENT= MythTV is a homebrew PVR project (frontend only)
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
+MASTERDIR= ${.CURDIR}/../../multimedia/mythtv
+SLAVEPORT= frontend
+PLIST= ${.CURDIR}/pkg-plist
-BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
- yasm:devel/yasm
-LIB_DEPENDS= libmp3lame.so:audio/lame \
- libfreetype.so:print/freetype2 \
- libtag.so:audio/taglib \
- libxml2.so:textproc/libxml2
-
-CONFLICTS= mythtv-[0-9]*
-
-USE_GITHUB= yes
-GH_ACCOUNT= MythTV
-GH_PROJECT= mythtv
-
-WRKSRC_SUBDIR= ${GH_PROJECT}
-
-ONLY_FOR_ARCHS= i386 amd64
-NOPRECIOUSMAKEVARS= # don't override $(ARCH) in ffmpeg makefiles
-USES= gmake libtool pkgconfig
-USE_QT4= gui sql network script linguist_build l10n sql-mysql_run \
- moc_build qmake_build rcc_build uic_build
-QT_NONSTANDARD= yes
-HAS_CONFIGURE= yes
-USE_LDCONFIG= ${PREFIX}/lib/mythtv/filters
-REINPLACE_ARGS= -i ""
-DESTDIRNAME= INSTALL_ROOT
-
-DATADIR= ${PREFIX}/share/mythtv
-
-MAKE_ENV= QTDIR="${PREFIX}" \
- QMAKESPEC="${QMAKESPEC}"
-
-CPPFLAGS+= ${QTCPPFLAGS}
-CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \
- QTDIR="${PREFIX}" \
- PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
-LDFLAGS+= -L${LOCALBASE}/lib
-
-CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" --libxml2-path="${LOCALBASE}/include/libxml2" \
- --disable-audio-alsa --disable-indev=alsa --disable-outdev=alsa --disable-mythlogserver \
- --disable-firewire --disable-hdhomerun --disable-v4l2 --disable-ivtv --disable-hdpvr \
- --disable-dvb --enable-opengl-video --without-bindings=perl,python,php
-
-QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
-
-DESKTOP_ENTRIES="MythTV Frontend" "MythTV is a homebrew PVR project" "" \
- "mythfrontend" "AudioVideo;Video;" false
-
-OPTIONS_DEFINE= OPENGL JACK PULSEAUDIO VDPAU
-OPTIONS_DEFAULT= OPENGL
-
-JACK_LIB_DEPENDS= libjack.so:audio/jack
-JACK_CONFIGURE_ENABLE= audio-jack
-
-PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
-PULSEAUDIO_CONFIGURE_ENABLE= audio-pulseoutput
-
-VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
-VDPAU_CONFIGURE_ENABLE= vdpau
-
-OPENGL_CONFIGURE_ENABLE= opengl-video
-OPENGL_USE= QT4=opengl
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
- ${WRKSRC}/configure \
- ${WRKSRC}/libs/libmythtv/libmythtv.pro \
- ${WRKSRC}/bindings/perl/MythTV/Recording.pm \
- ${WRKSRC}/programs/mythtranscode/replex/Makefile.standalone \
- ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \
- ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \
- ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"