diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/hdhomerun_gui/Portfile ./Portfile
old
|
new
|
|
2 | 2 | # $Id: Portfile 98191 2012-09-28 02:03:19Z ecronin@macports.org $ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
| 5 | PortGroup app 1.0 |
5 | 6 | |
6 | 7 | name hdhomerun_gui |
7 | | version 20120405 |
| 8 | version 20140121 |
8 | 9 | categories multimedia |
9 | 10 | platforms darwin |
10 | 11 | license GPL-3 |
11 | 12 | maintainers nomaintainer |
12 | | description HDHomeRun GTK GUI |
13 | | long_description ${description} |
| 13 | description HDHomeRun configuration utility, GTK GUI |
| 14 | long_description Provides a utility program to access, configure and test \ |
| 15 | HDHomeRun network tuner devices from SiliconDust including viewing \ |
| 16 | live television. May also be used to upgrade firmware. Uses GTK \ |
| 17 | graphical environment. |
14 | 18 | homepage http://www.silicondust.com/ |
15 | 19 | |
16 | 20 | master_sites http://download.silicondust.com/hdhomerun |
… |
… |
|
21 | 25 | patch.args -p1 |
22 | 26 | extract.suffix .tgz |
23 | 27 | worksrcdir hdhomerun_config_gui |
24 | | checksums rmd160 e0d1b748878a93b569482c685071ed1706aa09ad \ |
25 | | sha256 a2a9bee89d2911dd15024da53329bccf7cc5f14f801af12f32e50e0b54529ed2 |
| 28 | checksums rmd160 1647563fee263f150cc52018c26c33199818946c \ |
| 29 | sha256 56575484578ce5a116a20e342969e41d60ad7db1212eb8c21ed134f14b6efd99 |
| 30 | |
26 | 31 | livecheck.type regex |
27 | 32 | livecheck.url http://www.silicondust.com/support/hdhomerun/downloads/ |
28 | 33 | livecheck.regex Current release: (\[0-9\]+) |
29 | 34 | |
30 | 35 | depends_build port:pkgconfig |
31 | 36 | depends_lib port:hdhomerun port:gtk2 |
32 | | # VLC-devel would also be acceptable. VLC09 is not. Patch to handle |
33 | | # this welcome |
34 | | depends_run port:VLC |
| 37 | depends_run port:VLC \ |
| 38 | path:bin/Xquartz:xorg-server |
35 | 39 | |
36 | 40 | post-patch { |
37 | 41 | reinplace "s|@FIRMWARE_DIR@|${prefix}/share/hdhomerun/|g" \ |
… |
… |
|
42 | 46 | ${worksrcpath}/OSX/Info.plist |
43 | 47 | } |
44 | 48 | |
45 | | post-destroot { |
46 | | set app_contents \ |
47 | | "${destroot}${applications_dir}/HDHomeRun Config.app/Contents" |
| 49 | post-build { |
| 50 | # no execute permission, will refuse to run with "Error 126", Permission denied |
| 51 | file attributes ${worksrcpath}/install-sh -permissions +x |
| 52 | } |
48 | 53 | |
49 | | xinstall -d -m 0755 ${app_contents}/Resources |
50 | | xinstall -d -m 0755 ${app_contents}/MacOS |
| 54 | app.name HDHomerun |
| 55 | app.executable hdhomerun_config_gui |
| 56 | app.icon ${worksrcpath}/OSX/hdhr.icns |
51 | 57 | |
52 | | xinstall -m 0644 ${filespath}/PkgInfo ${app_contents} |
53 | | xinstall -m 0644 ${worksrcpath}/OSX/Info.plist ${app_contents} |
54 | | xinstall -m 0644 ${worksrcpath}/OSX/hdhr.icns \ |
55 | | ${app_contents}/Resources |
56 | | ln -s ${prefix}/bin/hdhomerun_config_gui ${app_contents}/MacOS/ |
| 58 | post-destroot { |
| 59 | # Stop icon from bouncing on dock |
| 60 | # see https://trac.macports.org/ticket/40110 |
| 61 | reinplace -E {s|(<string>APPL</string>)|\1 <key>LSUIElement</key><string>1</string>|} \ |
| 62 | "${destroot}${applications_dir}/HDHomerun.app/Contents/Info.plist" |
57 | 63 | } |
diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/hdhomerun_gui/files/patch-libhdhomerun.diff ./files/patch-libhdhomerun.diff
old
|
new
|
|
1 | | diff -ur hdhomerun_config_gui.orig/Makefile.in hdhomerun_config_gui/Makefile.in |
2 | | --- hdhomerun_config_gui.orig/Makefile.in 2011-04-30 18:26:07.000000000 -0400 |
3 | | +++ hdhomerun_config_gui/Makefile.in 2011-04-30 18:29:17.000000000 -0400 |
4 | | @@ -177,7 +177,7 @@ |
5 | | target_alias = @target_alias@ |
| 1 | diff -ur -x .DS_Store -x '*.orig' hdhomerun_config_gui/Makefile.in hdhomerun_config_gui/Makefile.in |
| 2 | --- hdhomerun_config_gui/Makefile.in 2013-03-23 13:22:13.000000000 -0400 |
| 3 | +++ hdhomerun_config_gui/Makefile.in 2013-12-01 20:38:28.000000000 -0500 |
| 4 | @@ -182,7 +182,7 @@ |
| 5 | top_build_prefix = @top_build_prefix@ |
6 | 6 | top_builddir = @top_builddir@ |
7 | 7 | top_srcdir = @top_srcdir@ |
8 | 8 | -SUBDIRS = ../libhdhomerun src po |
… |
… |
|
10 | 10 | EXTRA_DIST = \ |
11 | 11 | autogen.sh \ |
12 | 12 | hdhomerun_config.glade \ |
13 | | diff -ur hdhomerun_config_gui.orig/src/Makefile.in hdhomerun_config_gui/src/Makefile.in |
14 | | --- hdhomerun_config_gui.orig/src/Makefile.in 2011-04-30 18:26:07.000000000 -0400 |
15 | | +++ hdhomerun_config_gui/src/Makefile.in 2011-04-30 18:32:04.000000000 -0400 |
16 | | @@ -176,7 +176,6 @@ |
| 13 | diff -ur -x .DS_Store -x '*.orig' hdhomerun_config_gui/src/Makefile.in hdhomerun_config_gui/src/Makefile.in |
| 14 | --- hdhomerun_config_gui/src/Makefile.in 2013-03-23 13:22:13.000000000 -0400 |
| 15 | +++ hdhomerun_config_gui/src/Makefile.in 2013-12-01 20:37:55.000000000 -0500 |
| 16 | @@ -181,7 +181,6 @@ |
17 | 17 | top_builddir = @top_builddir@ |
18 | 18 | top_srcdir = @top_srcdir@ |
19 | 19 | INCLUDES = \ |
… |
… |
|
21 | 21 | -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ |
22 | 22 | -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ |
23 | 23 | @PACKAGE_CFLAGS@ |
24 | | @@ -192,7 +191,7 @@ |
| 24 | @@ -197,7 +196,7 @@ |
25 | 25 | HDHRConfig.cpp HDHRConfig.h |
26 | 26 | |
27 | 27 | hdhomerun_config_gui_LDADD = \ |
… |
… |
|
30 | 30 | @PACKAGE_LIBS@ $(INTLLIBS) |
31 | 31 | |
32 | 32 | all: all-am |
33 | | @@ -412,7 +411,7 @@ |
| 33 | @@ -421,7 +420,7 @@ |
34 | 34 | |
35 | | install-dvi: install-dvi-am |
| 35 | install-dvi-am: |
36 | 36 | |
37 | 37 | -install-exec-am: install-binPROGRAMS install-exec-local |
38 | 38 | +install-exec-am: install-binPROGRAMS |
39 | 39 | |
40 | 40 | install-html: install-html-am |
41 | 41 | |
42 | | @@ -452,7 +451,7 @@ |
| 42 | @@ -469,7 +468,7 @@ |
43 | 43 | distclean-generic distclean-tags distdir dvi dvi-am html \ |
44 | 44 | html-am info info-am install install-am install-binPROGRAMS \ |
45 | 45 | install-data install-data-am install-dvi install-dvi-am \ |
… |
… |
|
48 | 48 | install-html-am install-info install-info-am install-man \ |
49 | 49 | install-pdf install-pdf-am install-ps install-ps-am \ |
50 | 50 | install-strip installcheck installcheck-am installdirs \ |
51 | | @@ -461,8 +460,6 @@ |
52 | | tags uninstall uninstall-am uninstall-binPROGRAMS |
| 51 | @@ -479,14 +478,6 @@ |
| 52 | uninstall-local |
53 | 53 | |
54 | 54 | |
55 | 55 | -install-exec-local: |
56 | | - $(INSTALL) ../../libhdhomerun/libhdhomerun.so $(libdir) |
| 56 | - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" |
| 57 | - $(INSTALL) ../../libhdhomerun/libhdhomerun.so $(DESTDIR)$(libdir) |
| 58 | - $(INSTALL) ../../libhdhomerun/hdhomerun_config $(DESTDIR)$(bindir) |
| 59 | - |
| 60 | -uninstall-local: |
| 61 | - -rm -f "$(DESTDIR)$(libdir)/libhdhomerun.so" |
| 62 | - -rm -f "$(DESTDIR)$(bindir)/hdhomerun_config" |
57 | 63 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
58 | 64 | # Otherwise a system limit (for SysV at least) may be exceeded. |
59 | 65 | .NOEXPORT: |