mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
8e499572c7
multimedia/mythtv Patched to use exiv2 v 2.8 from ports Redundant references to slave port mythtv-frontend removed New Web App interface (http://example.com:6544). Replaces WebFrontend, provides all mythtv-setup access. It is recommended to use the web app instead of mythweb. audio/mythplugin-mythmusic "Play Now" any songs from "Browse Music Library" New Spectrogram and Spectrum full screen visualizations with options Music navigation controls work during full screen visual www/mythplugin-mythweb Version bump ffmpeg v5.1 is still included and required to build mythtv https://www.mythtv.org/wiki/Release_Notes_-_34 PR: 277335
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
PORTNAME= mythmusic
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 34.0
|
|
CATEGORIES= audio
|
|
PKGNAMEPREFIX= mythplugin-
|
|
|
|
MAINTAINER= ahicks@p-o.co.uk
|
|
COMMENT= Music playing plugin for MythTV
|
|
WWW= https://www.mythtv.org/wiki/MythMusic
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libFLAC.so:audio/flac \
|
|
libmp3lame.so:audio/lame \
|
|
libogg.so:audio/libogg \
|
|
libvorbis.so:audio/libvorbis \
|
|
libmyth-34.so:multimedia/mythtv
|
|
|
|
USES= gmake qt:5 shebangfix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MythTV
|
|
GH_PROJECT= mythtv
|
|
USE_LDCONFIG= yes
|
|
USE_QT= buildtools:build core gui qmake:build sql widgets xml
|
|
SHEBANG_FILES= ../mythtv/programs/scripts/metadata/Music/mbutils.py
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \
|
|
--disable-all \
|
|
--enable-mythmusic
|
|
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \
|
|
QTDIR="${PREFIX}" PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
|
|
MAKE_ENV= QTDIR="${PREFIX}" \
|
|
QMAKESPEC="${QMAKESPEC}"
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
PLIST_SUB= MYTHSHARE="share/mythtv"
|
|
WRKSRC_SUBDIR= mythplugins
|
|
|
|
OPTIONS_DEFINE= CDIO
|
|
|
|
CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio \
|
|
libcdio_paranoia.so:sysutils/libcdio-paranoia
|
|
CDIO_CONFIGURE_ENABLE= cdio
|
|
|
|
FFTW_DESC= FFTW3-based visualizations
|
|
FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3
|
|
FFTW_CONFIGURE_ENABLE= fftw
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${WRKSRC}/configure \
|
|
${WRKSRC}/mythmusic/mythmusic/mythmusic.pro
|
|
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mythtv/plugins/libmythmusic.so
|
|
|
|
.include <bsd.port.mk>
|