[99724] trunk/dports/kde

nicos at macports.org nicos at macports.org
Wed Nov 14 20:55:53 PST 2012


Revision: 99724
          https://trac.macports.org/changeset/99724
Author:   nicos at macports.org
Date:     2012-11-14 20:55:53 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
kdemultimedia4 deps: adding deactivate hack after fragmentation of port

Modified Paths:
--------------
    trunk/dports/kde/dragon/Portfile
    trunk/dports/kde/ffmpegthumbs/Portfile
    trunk/dports/kde/juk/Portfile
    trunk/dports/kde/libkcddb/Portfile
    trunk/dports/kde/libkcompactdisc/Portfile
    trunk/dports/kde/mplayerthumbs/Portfile

Modified: trunk/dports/kde/dragon/Portfile
===================================================================
--- trunk/dports/kde/dragon/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/dragon/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -25,5 +25,14 @@
     patchfiles-append   patch-CMakeLists.txt.diff
 }
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${applications_dir}/KDE4/dragon.app/Contents/Info.plist] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Modified: trunk/dports/kde/ffmpegthumbs/Portfile
===================================================================
--- trunk/dports/kde/ffmpegthumbs/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/ffmpegthumbs/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -21,5 +21,15 @@
 depends_lib-append  port:kdelibs4 \
                     path:lib/libavcodec.dylib:ffmpeg
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${prefix}/lib/kde4/ffmpegthumbs.so] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Modified: trunk/dports/kde/juk/Portfile
===================================================================
--- trunk/dports/kde/juk/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/juk/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -28,5 +28,14 @@
     patchfiles-append   patch-CMakeLists.txt.diff
 }
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${applications_dir}/KDE4/juk.app/Contents/Info.plist] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Modified: trunk/dports/kde/libkcddb/Portfile
===================================================================
--- trunk/dports/kde/libkcddb/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/libkcddb/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -24,5 +24,14 @@
     patchfiles-append   patch-CMakeLists.txt.diff
 }
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${prefix}/include/libkcddb/cdinfo.h] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Modified: trunk/dports/kde/libkcompactdisc/Portfile
===================================================================
--- trunk/dports/kde/libkcompactdisc/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/libkcompactdisc/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -20,5 +20,14 @@
 
 depends_lib-append  port:kdelibs4
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${prefix}/include/libkcompactdisc/kcompactdisc.h] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Modified: trunk/dports/kde/mplayerthumbs/Portfile
===================================================================
--- trunk/dports/kde/mplayerthumbs/Portfile	2012-11-15 04:34:43 UTC (rev 99723)
+++ trunk/dports/kde/mplayerthumbs/Portfile	2012-11-15 04:55:53 UTC (rev 99724)
@@ -20,5 +20,14 @@
 
 depends_lib-append  port:kdelibs4
 
+pre-activate {
+    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
+    if {[file exists ${applications_dir}/KDE4/mplayerthumbsconfig.app/Contents/Info.plist] 
+        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
+        && [rpm-vercomp [lindex $vers 1] 4.9.3] < 0} {
+            registry_deactivate kdemultimedia4 "" [list ports_nodepcheck 1] 
+    } 
+}
+
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/a38eb296/attachment.html>


More information about the macports-changes mailing list