[78271] trunk/dports/multimedia
ecronin at macports.org
ecronin at macports.org
Sat Apr 30 19:08:32 PDT 2011
Revision: 78271
http://trac.macports.org/changeset/78271
Author: ecronin at macports.org
Date: 2011-04-30 19:08:32 -0700 (Sat, 30 Apr 2011)
Log Message:
-----------
multimedia/hdhomerun_gui: new port
Added Paths:
-----------
trunk/dports/multimedia/hdhomerun_gui/
trunk/dports/multimedia/hdhomerun_gui/Portfile
trunk/dports/multimedia/hdhomerun_gui/files/
trunk/dports/multimedia/hdhomerun_gui/files/firmware_path.diff
trunk/dports/multimedia/hdhomerun_gui/files/libhdhomerun.diff
trunk/dports/multimedia/hdhomerun_gui/files/vlc_args.diff
Added: trunk/dports/multimedia/hdhomerun_gui/Portfile
===================================================================
--- trunk/dports/multimedia/hdhomerun_gui/Portfile (rev 0)
+++ trunk/dports/multimedia/hdhomerun_gui/Portfile 2011-05-01 02:08:32 UTC (rev 78271)
@@ -0,0 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name hdhomerun_gui
+version 20110323
+categories multimedia
+platforms darwin
+
+maintainers ecronin openmaintainer
+description HDHomeRun GTK GUI
+long_description ${description}
+homepage http://www.silicondust.com/
+
+master_sites http://download.silicondust.com/hdhomerun
+distname hdhomerun_config_gui_${version}
+patchfiles libhdhomerun.diff firmware_path.diff
+# Until MacPorts updates VLC to 1.1.x we need this
+patchfiles-append vlc_args.diff
+patch.args -p1
+extract.suffix .tgz
+worksrcdir hdhomerun_config_gui
+checksums sha1 728a021c2a3a89579d729ec90547ecf037590d8d \
+ rmd160 4b96b281d96136156b2055aa3b86681f4aa01575
+livecheck.type regex
+livecheck.url http://www.silicondust.com/support/hdhomerun/downloads/
+livecheck.regex Current release: (\[0-9\]+)
+
+depends_lib port:hdhomerun port:gtk2
+depends_run port:VLC
+
+post-patch {
+ reinplace "s|@FIRMWARE_DIR@|${prefix}/share/hdhomerun/|g" \
+ ${worksrcpath}/src/HDHRConfig.cpp
+}
Property changes on: trunk/dports/multimedia/hdhomerun_gui/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/multimedia/hdhomerun_gui/files/firmware_path.diff
===================================================================
--- trunk/dports/multimedia/hdhomerun_gui/files/firmware_path.diff (rev 0)
+++ trunk/dports/multimedia/hdhomerun_gui/files/firmware_path.diff 2011-05-01 02:08:32 UTC (rev 78271)
@@ -0,0 +1,14 @@
+diff -ur hdhomerun_config_gui.orig/src/HDHRConfig.cpp hdhomerun_config_gui/src/HDHRConfig.cpp
+--- hdhomerun_config_gui.orig/src/HDHRConfig.cpp 2011-04-30 20:22:40.000000000 -0400
++++ hdhomerun_config_gui/src/HDHRConfig.cpp 2011-04-30 20:27:51.000000000 -0400
+@@ -971,7 +971,9 @@
+
+ if (filename[0] != '\0') {
+ gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), filename);
+- }
++ } else {
++ gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), "@FIRMWARE_DIR@");
++ }
+
+ if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
Added: trunk/dports/multimedia/hdhomerun_gui/files/libhdhomerun.diff
===================================================================
--- trunk/dports/multimedia/hdhomerun_gui/files/libhdhomerun.diff (rev 0)
+++ trunk/dports/multimedia/hdhomerun_gui/files/libhdhomerun.diff 2011-05-01 02:08:32 UTC (rev 78271)
@@ -0,0 +1,59 @@
+diff -ur hdhomerun_config_gui.orig/Makefile.in hdhomerun_config_gui/Makefile.in
+--- hdhomerun_config_gui.orig/Makefile.in 2011-04-30 18:26:07.000000000 -0400
++++ hdhomerun_config_gui/Makefile.in 2011-04-30 18:29:17.000000000 -0400
+@@ -177,7 +177,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = ../libhdhomerun src po
++SUBDIRS = src po
+ EXTRA_DIST = \
+ autogen.sh \
+ hdhomerun_config.glade \
+diff -ur hdhomerun_config_gui.orig/src/Makefile.in hdhomerun_config_gui/src/Makefile.in
+--- hdhomerun_config_gui.orig/src/Makefile.in 2011-04-30 18:26:07.000000000 -0400
++++ hdhomerun_config_gui/src/Makefile.in 2011-04-30 18:32:04.000000000 -0400
+@@ -176,7 +176,6 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ INCLUDES = \
+- -I../../libhdhomerun \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ @PACKAGE_CFLAGS@
+@@ -192,7 +191,7 @@
+ HDHRConfig.cpp HDHRConfig.h
+
+ hdhomerun_config_gui_LDADD = \
+- -L../../libhdhomerun -lhdhomerun \
++ -lhdhomerun \
+ @PACKAGE_LIBS@ $(INTLLIBS)
+
+ all: all-am
+@@ -412,7 +411,7 @@
+
+ install-dvi: install-dvi-am
+
+-install-exec-am: install-binPROGRAMS install-exec-local
++install-exec-am: install-binPROGRAMS
+
+ install-html: install-html-am
+
+@@ -452,7 +451,7 @@
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+- install-exec install-exec-am install-exec-local install-html \
++ install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+@@ -461,8 +460,6 @@
+ tags uninstall uninstall-am uninstall-binPROGRAMS
+
+
+-install-exec-local:
+- $(INSTALL) ../../libhdhomerun/libhdhomerun.so $(libdir)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
Added: trunk/dports/multimedia/hdhomerun_gui/files/vlc_args.diff
===================================================================
--- trunk/dports/multimedia/hdhomerun_gui/files/vlc_args.diff (rev 0)
+++ trunk/dports/multimedia/hdhomerun_gui/files/vlc_args.diff 2011-05-01 02:08:32 UTC (rev 78271)
@@ -0,0 +1,12 @@
+diff -ur hdhomerun_config_gui.orig/src/Viewer.cpp hdhomerun_config_gui/src/Viewer.cpp
+--- hdhomerun_config_gui.orig/src/Viewer.cpp 2011-04-30 21:30:13.000000000 -0400
++++ hdhomerun_config_gui/src/Viewer.cpp 2011-04-30 21:30:48.000000000 -0400
+@@ -158,7 +158,7 @@
+ #else
+ Process = fork();
+ if (Process == 0) {
+- execlp(ExeName.c_str(), ExeName.c_str(), "--vout-filter", "deinterlace", "udp://@127.0.0.1:5000", (char *) NULL);
++ execlp(ExeName.c_str(), ExeName.c_str(), "--vout-filter=deinterlace", "--play-and-exit", "udp://@127.0.0.1:5000", (char *) NULL);
+ _exit(0);
+ }
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110430/a082d51e/attachment-0001.html>
More information about the macports-changes
mailing list