Skip to content
Browse files

Remove multimedia/mythtv port, newer one in FreeBSD ports tree with

support for 10
  • Loading branch information...
1 parent 7a4b57b commit 59bd189e9c8f6728db1484624d6ac56fd9f3db33 @kmoore134 kmoore134 committed Oct 25, 2013
View
134 build-files/ports-overlay/multimedia/mythtv/Makefile
@@ -1,134 +0,0 @@
-# Created by: Stacey Son <mythdev@son.org>, Ari Maniatis <ari@ish.com.au>
-# $FreeBSD: multimedia/mythtv/Makefile 327747 2013-09-20 20:57:48Z bapt $
-
-PORTNAME= mythtv
-PORTVERSION= 0.26.1
-CATEGORIES= multimedia
-MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \
- http://ftp.osuosl.org/pub/mythtv/old_releases/ \
- http://ftp.oregonstate.edu/pub/mythtv/ \
- http://ftp.oregonstate.edu/pub/mythtv/old_releases/
-
-MAINTAINER= decke@FreeBSD.org
-COMMENT= MythTV is a homebrew PVR project
-
-LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
- freetype.9:${PORTSDIR}/print/freetype2 \
- tag.1:${PORTSDIR}/audio/taglib
-BUILD_DEPENDS= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
- yasm:${PORTSDIR}/devel/yasm
-RUN_DEPENDS= tv_check:${PORTSDIR}/textproc/p5-xmltv \
- wget:${PORTSDIR}/ftp/wget
-
-CONFLICTS= mythtv-frontend-[0-9]*
-
-ONLY_FOR_ARCHS= i386 amd64
-USE_GCC= 4.2
-USES= gmake pkgconfig perl5
-USE_BZIP2= yes
-USE_QT4= gui sql network script linguist_build l10n sql-mysql_run \
- moc_build qmake_build rcc_build uic_build imageformats
-QT_NONSTANDARD= yes
-USE_MYSQL= 51
-HAS_CONFIGURE= yes
-USE_LDCONFIG= ${PREFIX}/lib/mythtv/filters
-REINPLACE_ARGS= -i ""
-USE_RC_SUBR= mythbackend
-
-USERS= mythtv
-GROUPS= mythtv
-
-MAKE_ENV= QTDIR="${QT_PREFIX}" \
- QMAKESPEC="${QMAKESPEC}"
-
-CPPFLAGS+= ${QTCPPFLAGS}
-CONFIGURE_ENV+= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \
- QTDIR="${QT_PREFIX}"
-LDFLAGS+= -L${LOCALBASE}/lib
-
-CONFIGURE_ARGS= --prefix="${PREFIX}" --dvb-path="${LOCALBASE}/include" \
- --enable-v4l2 --enable-ivtv --enable-xv \
- --disable-audio-alsa --disable-indev=alsa --disable-outdev=alsa
-
-QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
-
-OPTIONS_DEFINE= BINDINGS LIRC MYSQL OPENGL VDPAU
-OPTIONS_DEFAULT= BINDINGS OPENGL
-BINDINGS_DESC= Perl and Python bindings
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-SUB_FILES= pkg-message
-
-# for too old binutils in base
-.if ${OSVERSION} < 900033
-BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
-CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
-MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
-.endif
-
-.if ${PORT_OPTIONS:MBINDINGS}
-USE_PYTHON= yes
-INSTALLS_EGGINFO=yes
-PYDISTUTILS_PKGNAME=MythTV
-PYDISTUTILS_PKGVERSION=0.26.0
-
-BUILD_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
- ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
- ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber \
- p5-HTTP-Request-Params>=0:${PORTSDIR}/www/p5-HTTP-Request-Params \
- p5-LWP-UserAgent-Determined>=0:${PORTSDIR}/www/p5-LWP-UserAgent-Determined \
- p5-Net-UPnP>=0:${PORTSDIR}/multimedia/p5-Net-UPnP \
- p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-Socket-INET6
-RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml \
- ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb \
- ${PYTHON_PKGNAMEPREFIX}urlgrabber>=3.1.0_1:${PORTSDIR}/www/py-urlgrabber \
- p5-HTTP-Request-Params>=0:${PORTSDIR}/www/p5-HTTP-Request-Params \
- p5-LWP-UserAgent-Determined>=0:${PORTSDIR}/www/p5-LWP-UserAgent-Determined \
- p5-Net-UPnP>=0:${PORTSDIR}/multimedia/p5-Net-UPnP \
- p5-IO-Socket-INET6>=2.51:${PORTSDIR}/net/p5-IO-Socket-INET6
-PLIST_SUB+= BINDINGS=""
-.else
-CONFIGURE_ARGS+=--without-bindings=perl,python
-PLIST_SUB+= BINDINGS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MLIRC}
-LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-RUN_DEPENDS+= mysqld_safe:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
-.endif
-
-.if ${PORT_OPTIONS:MOPENGL}
-USE_QT4+= opengl
-CONFIGURE_ARGS+= --enable-opengl-video
-.else
-CONFIGURE_ARGS+= --disable-opengl-video
-.endif
-
-.if ${PORT_OPTIONS:MVDPAU}
-LIB_DEPENDS+= vdpau.1:${PORTSDIR}/multimedia/libvdpau
-CONFIGURE_ARGS+= --enable-vdpau
-.else
-CONFIGURE_ARGS+= --disable-vdpau
-.endif
-
-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
-
-post-install:
- @${INSTALL} -d ${PREFIX}/share/mythtv/database
- @${CP} ${WRKSRC}/database/mc.sql ${PREFIX}/share/mythtv/database
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
View
2 build-files/ports-overlay/multimedia/mythtv/distinfo
@@ -1,2 +0,0 @@
-SHA256 (mythtv-0.26.1.tar.bz2) = 4ede371637f74d7442ddcec8e6968775d1c11377dd8907deac720e957707b3fa
-SIZE (mythtv-0.26.1.tar.bz2) = 40871547
View
42 build-files/ports-overlay/multimedia/mythtv/files/mythbackend.in
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD: multimedia/mythtv/files/mythbackend.in 300896 2012-07-14 13:54:48Z beat $
-
-# PROVIDE: mythbackend
-# REQUIRE: DAEMON mysql
-# KEYWORD: shutdown
-
-# Define mythbackend_enable in /etc/rc.conf[.local] to enable mythbackend
-#
-# mythbackend_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable mythbackend.
-# mythbackend_logpath (str): Custom logpath for mythbackend.
-# (default /var/log/mythtv)
-# mythbackend_flags (str): Additional flags for mythbackend.
-# mythbackend_user (str): Username to run with.
-
-. /etc/rc.subr
-
-name="mythbackend"
-rcvar=mythbackend_enable
-command="%%PREFIX%%/bin/${name}"
-
-start_precmd="mythbackend_prestart"
-
-mythbackend_prestart()
-{
- if [ ! -d ${mythbackend_logpath} ]; then
- /usr/bin/install -o ${mythbackend_user} -g wheel -m 755 -d ${mythbackend_logpath}
- fi
-}
-
-load_rc_config $name
-
-: ${mythbackend_enable="NO"}
-: ${mythbackend_logpath="/var/log/mythtv"}
-: ${mythbackend_user="root"}
-
-command_args="-d --logpath ${mythbackend_logpath}"
-HOME=$(/usr/sbin/pw usershow -7 -n "${mythbackend_user}" | /usr/bin/cut -d: -f6)
-
-run_rc_command "$1"
View
71 build-files/ports-overlay/multimedia/mythtv/files/patch-configure
@@ -1,71 +0,0 @@
---- configure.orig 2012-10-02 12:30:24.000000000 +0200
-+++ configure 2012-10-03 19:27:16.773415414 +0200
-@@ -731,21 +731,21 @@
- log check_cc "$@"
- cat > $TMPC
- log_file $TMPC
-- check_cmd $cc $CPPFLAGS $CFLAGS "$@" -c -o $TMPO $TMPC
-+ check_cmd $cc $CPPFLAGS $CFLAGS -I${prefix}/include "$@" -c -o $TMPO $TMPC
- }
-
- check_cxx(){
- log check_cxx "$@"
- cat > $TMPCPP
- log_file $TMPCPP
-- check_cmd $cxx $CPPFLAGS $CXXFLAGS "$@" -c -o $TMPO $TMPCPP
-+ check_cmd $cxx $CPPFLAGS $CXXFLAGS -I${prefix}/include "$@" -c -o $TMPO $TMPCPP
- }
-
- check_cpp(){
- log check_cpp "$@"
- cat > $TMPC
- log_file $TMPC
-- check_cmd $cc $CPPFLAGS $CFLAGS "$@" -E -o $TMPO $TMPC
-+ check_cmd $cc $CPPFLAGS $CFLAGS -I${prefix}/include "$@" -E -o $TMPO $TMPC
- }
-
- check_as(){
-@@ -2152,7 +2152,7 @@
-
- # machine
- arch_default=$(uname -m)
--cpu="generic"
-+cpu="i686"
- processor=`uname -p 2>/dev/null`
- processor_flags=""
- tune="generic"
-@@ -3185,7 +3185,7 @@
- i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64*|k8*|opteron*|athlon-fx|core2|amdfam10|barcelona|atom)
- cpuflags="-march=$cpu"
- enable cmov
-- enable fast_cmov
-+ disable fast_cmov
- ;;
- # targets that do support conditional mov but on which it's slow
- pentium4|pentium4m|prescott|nocona)
-@@ -3401,7 +3401,6 @@
- append CCONFIG "freebsd"
- # Workaround compile errors from missing u_int/uint def
- CPPFLAGS=`echo $CPPFLAGS | sed 's/-D_POSIX_C_SOURCE=200112//'`
-- disable ivtv
- enable backend
- ;;
- bsd/os)
-@@ -5427,6 +5426,8 @@
- QMAKE_LIBDIR_QT-=${sysroot}${libdir}
- QMAKE_LIBDIR-=${sysroot}${libdir}
- LATE_LIBS+=-L${sysroot}${libdir}
-+CONFIG_INCLUDEPATH=
-+FREETYPE_CFLAGS-= -I/usr/local/include
- EOF
-
- #echo "endif # FFMPEG_CONFIG_MAK" >> $TMPMAK
-@@ -5477,7 +5478,7 @@
- BINDIR=\$(INSTALL_ROOT)$bindir
- DATADIR=\$(INSTALL_ROOT)$datadir
- MANDIR=\$(INSTALL_ROOT)$mandir
--CFLAGS=${CFLAGS} -w
-+CFLAGS=${CFLAGS} -I/usr/local/include -w
- endif # FFMPEG_CONFIG_MAK
- EOF
-
View
11 build-files/ports-overlay/multimedia/mythtv/files/patch-extern__zeromq__doc__Makefile.in
@@ -1,11 +0,0 @@
---- external/zeromq/doc/Makefile.in.orig 2012-10-02 12:30:24.000000000 +0200
-+++ external/zeromq/doc/Makefile.in 2012-10-20 16:56:13.777947694 +0200
-@@ -476,7 +476,7 @@
-
- install-info-am:
-
--install-man: install-man3 install-man7
-+install-man:
-
- install-pdf: install-pdf-am
-
View
31 build-files/ports-overlay/multimedia/mythtv/files/patch-external__FFmpeg__configure
@@ -1,31 +0,0 @@
---- external/FFmpeg/configure.orig 2010-08-23 18:54:20.000000000 +0200
-+++ external/FFmpeg/configure 2010-11-01 21:13:19.000000000 +0100
-@@ -1528,8 +1528,8 @@
- nm_opts='-g'
-
- # machine
--arch_default=$(uname -m)
--cpu="generic"
-+arch_default=$(uname -p)
-+cpu="i686"
-
- # OS
- target_os_default=$(tolower $(uname -s))
-@@ -2108,7 +2108,7 @@
- i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona)
- cpuflags="-march=$cpu"
- enable cmov
-- enable fast_cmov
-+ disable fast_cmov
- ;;
- # targets that do support conditional mov but on which it's slow
- pentium4|pentium4m|prescott|nocona)
-@@ -3063,7 +3063,7 @@
- SRC_PATH_BARE=$source_path
- BUILD_ROOT="$PWD"
- CC_IDENT=$cc_ident
--ARCH=$arch
-+FFMPEG_ARCH=$arch
- CC=$cc
- AS=$as
- LD=$ld
View
11 ...d-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythdvdnav__dvdnav__dvdnav.c
@@ -1,11 +0,0 @@
---- libs/libmythdvdnav/dvdnav/dvdnav.c.orig 2012-03-18 12:13:45.805789048 +0100
-+++ libs/libmythdvdnav/dvdnav/dvdnav.c 2012-03-18 12:12:47.166812027 +0100
-@@ -33,7 +33,7 @@
- #include <limits.h>
- #include <string.h>
- #include <sys/time.h>
--#include "dvdnav/dvdnav.h"
-+#include "dvdnav.h"
- #include <dvdread/dvd_reader.h>
- #include <dvdread/nav_types.h>
- #include <dvdread/ifo_types.h> /* For vm_cmd_t */
View
12 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__dvbdev__dvbci.cpp
@@ -1,12 +0,0 @@
---- libs/libmythtv/dvbdev/dvbci.cpp.orig 2010-03-07 04:11:52.000000000 +0100
-+++ libs/libmythtv/dvbdev/dvbci.cpp 2010-04-26 23:30:52.000000000 +0200
-@@ -28,7 +28,9 @@
- #include <errno.h>
- #include <ctype.h>
- #include <linux/dvb/ca.h>
-+#ifndef __FreeBSD__
- #include <malloc.h>
-+#endif
- #include <netinet/in.h>
- #include <poll.h>
- #include <string.h>
View
29 ...d-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__dvbstreamhandler.cpp
@@ -1,29 +0,0 @@
---- libs/libmythtv/dvbstreamhandler.cpp.orig 2012-03-05 03:31:31.000000000 +0100
-+++ libs/libmythtv/dvbstreamhandler.cpp 2012-03-18 11:24:44.309770699 +0100
-@@ -614,7 +614,7 @@
- {
- struct dmx_pes_filter_params pesFilterParams;
- memset(&pesFilterParams, 0, sizeof(struct dmx_pes_filter_params));
-- pesFilterParams.pid = (__u16) _pid;
-+ pesFilterParams.pid = (uint16_t) _pid;
- pesFilterParams.input = DMX_IN_FRONTEND;
- pesFilterParams.output = DMX_OUT_TS_TAP;
- pesFilterParams.flags = DMX_IMMEDIATE_START;
-@@ -634,7 +634,7 @@
- {
- struct dmx_sct_filter_params sctFilterParams;
- memset(&sctFilterParams, 0, sizeof(struct dmx_sct_filter_params));
-- switch ( (__u16) _pid )
-+ switch ( (uint16_t) _pid )
- {
- case 0x0: // PAT
- sctFilterParams.filter.filter[0] = 0;
-@@ -670,7 +670,7 @@
- sctFilterParams.filter.mask[0] = 0x00;
- break;
- }
-- sctFilterParams.pid = (__u16) _pid;
-+ sctFilterParams.pid = (uint16_t) _pid;
- sctFilterParams.timeout = 0;
- sctFilterParams.flags = DMX_IMMEDIATE_START;
-
View
11 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__videoout_vdpau.cpp
@@ -1,11 +0,0 @@
---- libs/libmythtv/videoout_vdpau.cpp.orig 2010-02-27 06:58:11.000000000 +0100
-+++ libs/libmythtv/videoout_vdpau.cpp 2010-04-06 17:40:50.000000000 +0200
-@@ -395,7 +395,7 @@
- if (frame)
- {
- // FIXME for 0.23. This should be triggered from AFD by a seek
-- if ((abs(frame->frameNumber - framesPlayed) > 8))
-+ if ((labs(frame->frameNumber - framesPlayed) > 8))
- ClearReferenceFrames();
- new_frame = (framesPlayed != frame->frameNumber + 1);
- framesPlayed = frame->frameNumber + 1;
View
13 build-files/ports-overlay/multimedia/mythtv/files/pkg-message.in
@@ -1,13 +0,0 @@
-**********
-
-MythTV has now been installed, but it still needs to be configured.
-
-1. To create the database, use the following command:
-
- mysql -uroot -p < %%DATADIR%%/database/mc.sql
-
-2. Next, run mythtv-setup.
-
-See http://www.mythtv.org/docs/ for more information.
-
-**********
View
13 build-files/ports-overlay/multimedia/mythtv/pkg-descr
@@ -1,13 +0,0 @@
-MythTV is a "Personal Video Recorder", i.e. a computer-based video
-recorder. It supports pausing and rewinding live TV, multiple tuner
-cards, hardware or software video compression, onscreen program
-guides and a distributed architecture.
-
-MythTV requires tuner drivers which support the V4L standard.
-Currently no official FreeBSD driver does so, but the latest version
-of a beta version of the cxm driver is available from
-http://usleepless.110mb.com/pvrxxx_port-10042007.tgz. Problems
-have been reported with this port; if you use it, you should join
-the FreeBSD-multimedia mailing list and report where appropriate.
-
-WWW: http://www.mythtv.org
View
2,277 build-files/ports-overlay/multimedia/mythtv/pkg-plist
0 additions, 2,277 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 59bd189

Please sign in to comment.
Something went wrong with that request. Please try again.