ports/88326: [new port] multimedia/kbtv

Danny Pansters danny at ricin.com
Tue Nov 1 12:20:18 UTC 2005


>Number:         88326
>Category:       ports
>Synopsis:       [new port] multimedia/kbtv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 01 12:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Danny Pansters
>Release:        FreeBSD 6.0-BETA5 i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.0-BETA5 FreeBSD 6.0-BETA5 #2: Tue Oct 4 01:00:47 UTC 2005 root at desktop.homenet:/usr/obj/usr/src/sys/DESKTOP i386

>Description:
	Description and comments/questions:

	- Simple TV viewer for KDE/FreeBSD, uses mplayer for rendering.
	- It's your or your sysadmin's job to have the hardware set up.
	- It's known that mplayer's BSD TV driver has a problem with SECAM.
	- Uses PyKDE, PyQt for GUI and other chores.
	- Got here because I wanted (1) a KDE TV app and (2) experiment with PyKDE.
	- Would like to know if/how it works with NTSC and with antenna input (any norm).
	- Hope it works(TM) for you, it does for me (check the docs).

	This is the ALPHA (first) release of this package.

>How-To-Repeat:
	N/A

	
>Fix:

	(should I send a shar instead? it's not big as a diff)

--- kbtv.diff begins here ---
diff -ruN multimedia/kbtv.old/Makefile multimedia/kbtv/Makefile
--- multimedia/kbtv.old/Makefile	Thu Jan  1 00:00:00 1970
+++ multimedia/kbtv/Makefile	Sun Oct  9 13:27:54 2005
@@ -0,0 +1,81 @@
+# New ports collection makefile for:	multimedia/kbtv
+# Date created:				Tue Oct  4 01:59:31 UTC 2005
+# Whom:					danny at ricin.com
+#
+# $FreeBSD: $
+#
+
+PORTNAME=	kbtv
+PORTVERSION=	1.0
+PORTREVISION=	
+CATEGORIES=	multimedia python kde
+MASTER_SITES=	http://freebsd.ricin.com/ports/distfiles/
+
+DISTNAME=	${PORTNAME}-${PORTVERSION}-alpha
+USE_BZIP2=	YES
+EXTRACT_SUFX=	.tbz
+
+MAINTAINER=	danny at ricin.com
+COMMENT=	KDE TV viewer for BSD
+
+BUILD_DEPENDS=	pyuic:${PORTSDIR}/x11-toolkits/py-qt \
+		kdepyuic:${PORTSDIR}/x11-toolkits/py-kde \
+		mplayer:${PORTSDIR}/multimedia/mplayer
+RUN_DEPENDS=	${BUILD_DEPENDS}
+
+USE_KDELIBS_VER=3
+USE_PYTHON=	yes
+USE_REINPLACE=	yes
+
+OPTIONS=	DOCS "Install (KDE) documentation" on \
+		MANPAGES "Install btcontrol manpage" on \
+		MAN_COMPRESS "Compress manpage" on \
+		UIFILES "Install Designer (ui) files" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(NOPORTDOCS) && defined(WITHOUT_DOCS)
+PLIST_SUB+=	DOCS="@comment "
+.else
+PLIST_SUB+=	DOCS=""	
+.endif
+.if defined(NO_INSTALL_MANPAGES) && defined(WITHOUT_MANPAGES)
+PLIST_SUB+=	MAN="@comment "
+.else
+PLIST_SUB+=	MAN=""
+.endif
+.if defined(NOMANCOMPRESS) && defined(WITHOUT_MAN_COMPRESS)
+PLIST_SUB+=	CMAN="man1/btcontrol.1" 
+.else
+PLIST_SUB+=	CMAN="man1/btcontrol.1.gz"
+.endif
+.if defined(WITHOUT_UIFILES)
+PLIST_SUB+=	UI="@comment "
+.else
+PLIST_SUB+= 	UI=""
+.endif
+
+post-patch:
+	( cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|PREFIX = /usr/local|PREFIX = ${PREFIX}|' install.cfg )
+.if defined(NOPORTDOCS) && defined(WITHOUT_DOCS)
+	( cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|INSTALL_DOCS = yes|INSTALL_DOCS = |' install.cfg )
+.endif
+.if defined(NOMANCOMPRESS) && defined(WITHOUT_MAN_COMPRESS)
+	( cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|MANPAGES_COMPRESS = yes|MANPAGES_COMPRESS = |' install.cfg )
+.endif
+.if defined(NO_INSTALL_MANPAGES) && defined(WITHOUT_MANPAGES)
+	( cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|INSTALL_MANPAGES = yes|INSTALL_MANPAGES = |' install.cfg )
+.endif
+.if defined(WITHOUT_UIFILES)
+	( cd ${WRKSRC} && ${REINPLACE_CMD} -e \
+		's|INSTALL_UIFILES = yes|INSTALL_UIFILES = |' install.cfg )
+.endif
+
+do-configure:
+	( cd ${WRKSRC} && ${MAKE} configure )
+
+.include <bsd.port.post.mk>
diff -ruN multimedia/kbtv.old/distinfo multimedia/kbtv/distinfo
--- multimedia/kbtv.old/distinfo	Thu Jan  1 00:00:00 1970
+++ multimedia/kbtv/distinfo	Fri Oct 28 03:00:39 2005
@@ -0,0 +1,2 @@
+MD5 (kbtv-1.0-alpha.tbz) = 51ac4d9dc81247a530ed0342501b023d
+SIZE (kbtv-1.0-alpha.tbz) = 465796
diff -ruN multimedia/kbtv.old/pkg-descr multimedia/kbtv/pkg-descr
--- multimedia/kbtv.old/pkg-descr	Thu Jan  1 00:00:00 1970
+++ multimedia/kbtv/pkg-descr	Tue Oct  4 16:47:02 2005
@@ -0,0 +1,3 @@
+KDE TV Viewer for BSD
+
+WWW: http://freebsd.ricin.com/kbtv
diff -ruN multimedia/kbtv.old/pkg-plist multimedia/kbtv/pkg-plist
--- multimedia/kbtv.old/pkg-plist	Thu Jan  1 00:00:00 1970
+++ multimedia/kbtv/pkg-plist	Sun Oct 16 02:39:20 2005
@@ -0,0 +1,64 @@
+bin/btcontrol
+bin/kbtv
+share/apps/kbtv/LICENSE.bsd
+share/apps/kbtv/btaudio.py
+share/apps/kbtv/btaudio.pyc
+share/apps/kbtv/btbackend.py
+share/apps/kbtv/btbackend.pyc
+share/apps/kbtv/btcontrol.py
+share/apps/kbtv/btcontrol.pyc
+share/apps/kbtv/dialog_channel_editor.py
+share/apps/kbtv/dialog_channel_editor.pyc
+share/apps/kbtv/dialog_frequency_scanner.py
+share/apps/kbtv/dialog_frequency_scanner.pyc
+share/apps/kbtv/dialog_hardware_info.py
+share/apps/kbtv/dialog_hardware_info.pyc
+share/apps/kbtv/dialog_picture_settings.py
+share/apps/kbtv/dialog_picture_settings.pyc
+share/apps/kbtv/kbtv.py
+share/apps/kbtv/kbtv.pyc
+share/apps/kbtv/kbtv_channels.py
+share/apps/kbtv/kbtv_channels.pyc
+share/apps/kbtv/kbtv_hardware.py
+share/apps/kbtv/kbtv_hardware.pyc
+share/apps/kbtv/kbtv_picture.py
+share/apps/kbtv/kbtv_picture.pyc
+share/apps/kbtv/kbtv_scanner.py
+share/apps/kbtv/kbtv_scanner.pyc
+share/apps/kbtv/kbtv_splash.png
+share/apps/kbtv/kbtv_volume.py
+share/apps/kbtv/kbtv_volume.pyc
+share/apps/kbtv/kbtvui.rc
+share/apps/kbtv/pics/kbtv.png
+share/apps/kbtv/pics/kbtv_splash.png
+share/apps/kbtv/pics/kled.png
+share/apps/kbtv/pics/volume_down.png
+share/apps/kbtv/pics/volume_up.png
+share/applications/kde/kbtv.desktop
+share/icons/crystalsvg/64x64/apps/kbtv.png
+%%UI%%share/apps/kbtv/ui/dialog_channel_editor.ui
+%%UI%%share/apps/kbtv/ui/dialog_frequency_scanner.ui
+%%UI%%share/apps/kbtv/ui/dialog_hardware_info.ui
+%%UI%%share/apps/kbtv/ui/dialog_picture_settings.ui
+%%UI%%share/apps/kbtv/ui/widget_volume_slider.ui
+share/apps/kbtv/widget_volume_slider.py
+share/apps/kbtv/widget_volume_slider.pyc
+%%DOCS%%share/doc/HTML/en/kbtv/commands.html
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-channeleditor.png
+%%DOCS%%share/doc/HTML/en/kbtv/common
+%%DOCS%%share/doc/HTML/en/kbtv/credits.html
+%%DOCS%%share/doc/HTML/en/kbtv/index.cache.bz2
+%%DOCS%%share/doc/HTML/en/kbtv/index.docbook
+%%DOCS%%share/doc/HTML/en/kbtv/index.html
+%%DOCS%%share/doc/HTML/en/kbtv/introduction.html
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-frequencyscanner.png
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-hardwareinfo.png
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-main.png
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-picturesettings.png
+%%DOCS%%share/doc/HTML/en/kbtv/kbtv-ui.png
+%%DOCS%%share/doc/HTML/en/kbtv/using-kbtv.html
+%%MAN%%man/%%CMAN%%
+ at dirrm %%DOCS%%/share/doc/HTML/en/kbtv
+ at dirrm %%UI%%/share/apps/kbtv/ui
+ at dirrm share/apps/kbtv/pics
+ at dirrm share/apps/kbtv
--- kbtv.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list