2009/devel/multimedia/sound/streamtuner - Remove libxml2 and python deps which are already i...

Metin Akdere paketler-commits at pardus.org.tr
Thu Mar 10 16:19:28 EET 2011


Author: metin.akdere
Date: Thu Mar 10 16:19:26 2011
New Revision: 115259

Added:
   2009/devel/multimedia/sound/streamtuner/files/streamtuner-0.99.99-fix-link.patch
   2009/devel/multimedia/sound/streamtuner/files/streamtuner-0.99.99-shoutcast.diff
   2009/devel/multimedia/sound/streamtuner/files/xdgconfig.patch
Removed:
   2009/devel/multimedia/sound/streamtuner/files/live365.c.patch
   2009/devel/multimedia/sound/streamtuner/files/local.c.patch
   2009/devel/multimedia/sound/streamtuner/files/mixxx-1.6.1-djconsole.patch
   2009/devel/multimedia/sound/streamtuner/files/shoutcast.c.patch
   2009/devel/multimedia/sound/streamtuner/files/st-action.patch
   2009/devel/multimedia/sound/streamtuner/files/st-preselections.patch
   2009/devel/multimedia/sound/streamtuner/files/streamtuner-0.99.99-live365.patch
   2009/devel/multimedia/sound/streamtuner/files/xiph.c.patch
Modified:
   2009/devel/multimedia/sound/streamtuner/actions.py
   2009/devel/multimedia/sound/streamtuner/pspec.xml
Log:
- Remove libxml2 and python deps which are already in system.base
- Added gtk-doc build time dep to get rid of checkelf whinings
- Added xterm runtime dep to call streamripper
- Added patch to open various filetypes using xdg-open with xdg-utils dep
- Fixed documentation dirs

BUG:FIXED:8421


---
 actions.py                               |   13 +
 files/live365.c.patch                    |   13 -
 files/local.c.patch                      |   13 -
 files/mixxx-1.6.1-djconsole.patch        |   14 -
 files/shoutcast.c.patch                  |   15 -
 files/st-action.patch                    |   11 -
 files/st-preselections.patch             |   15 -
 files/streamtuner-0.99.99-fix-link.patch |  134 ++++++++++++++++
 files/streamtuner-0.99.99-live365.patch  |  248 -------------------------------
 files/streamtuner-0.99.99-shoutcast.diff |   41 +++++
 files/xdgconfig.patch                    |   88 +++++++++++
 files/xiph.c.patch                       |   13 -
 pspec.xml                                |   31 ++-
 13 files changed, 294 insertions(+), 355 deletions(-)

Modified: 2009/devel/multimedia/sound/streamtuner/actions.py
=================================================================
--- 2009/devel/multimedia/sound/streamtuner/actions.py	(original)
+++ 2009/devel/multimedia/sound/streamtuner/actions.py	Thu Mar 10 16:19:26 2011
@@ -9,8 +9,12 @@
 from pisi.actionsapi import pisitools
 from pisi.actionsapi import get
 
+docdir = "/%s/%s" % (get.docDIR(), get.srcNAME())
+
 def setup():
-    autotools.configure()
+    autotools.configure("--disable-gtktest \
+                         --disable-gtk-doc \
+                         --with-html-dir=%s" % docdir)
 
 def build():
     autotools.make()
@@ -23,4 +27,9 @@
     pisitools.removeDir("/usr/share/help")
     pisitools.removeDir("/usr/share/omf")
 
-    pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "HACKING", "QUICKSTART", "README", "TODO")
+    #Fix html doc dir
+    pisitools.insinto("%s/html" % docdir, "%s/%s/%s/*.html" % (get.installDIR(), docdir, get.srcNAME()))
+    pisitools.removeDir("%s/%s" % (docdir, get.srcNAME()))
+    pisitools.dohtml("docs/reference/html/*")
+
+    pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO")

Modified: 2009/devel/multimedia/sound/streamtuner/pspec.xml
=================================================================
--- 2009/devel/multimedia/sound/streamtuner/pspec.xml	(original)
+++ 2009/devel/multimedia/sound/streamtuner/pspec.xml	Thu Mar 10 16:19:26 2011
@@ -15,22 +15,17 @@
         <Archive sha1sum="d912dbe1741ba9d14342ab6d9d818f06e97f6b59" type="targz">http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99.tar.gz</Archive>
         <BuildDependencies>
             <Dependency versionFrom="2.18.5">gtk2</Dependency>
-            <Dependency versionFrom="2.0">libxml2</Dependency>
             <Dependency versionFrom="1.2">taglib</Dependency>
-            <Dependency versionFrom="2.3">python</Dependency>
             <Dependency versionFrom="2.4.0">pygtk</Dependency>
             <Dependency>streamripper</Dependency>
+            <Dependency>gtk-doc</Dependency>
         </BuildDependencies>
     <Patches>
+        <Patch>streamtuner-0.99.99-fix-link.patch</Patch>
         <Patch>turkish.patch</Patch>
-        <Patch>streamtuner-0.99.99-live365.patch</Patch>
         <Patch>streamtuner-0.99.99-pygtk-2.6.patch</Patch>
-        <Patch>st-preselections.patch</Patch>
-        <Patch>st-action.patch</Patch>
-        <Patch>live365.c.patch</Patch>
-        <Patch>local.c.patch</Patch>
-        <Patch>shoutcast.c.patch</Patch>
-        <Patch>xiph.c.patch</Patch>
+        <Patch level="1">xdgconfig.patch</Patch>
+        <Patch>streamtuner-0.99.99-shoutcast.diff</Patch>
     </Patches>
     </Source>
 
@@ -38,11 +33,12 @@
         <Name>streamtuner</Name>
         <RuntimeDependencies>
             <Dependency versionFrom="2.18.5">gtk2</Dependency>
-            <Dependency versionFrom="2.0">libxml2</Dependency>
             <Dependency versionFrom="1.2">taglib</Dependency>
-            <Dependency versionFrom="2.3">python</Dependency>
             <Dependency versionFrom="2.4.0">pygtk</Dependency>
             <Dependency>streamripper</Dependency>
+            <Dependency>xterm</Dependency>
+            <Dependency>xdg-utils</Dependency>
+            <Dependency>gtk-doc</Dependency>
        </RuntimeDependencies>
     <Files>
         <Path fileType="executable">/usr/bin</Path>
@@ -62,6 +58,19 @@
     </Package>
 
     <History>
+        <Update release="6">
+            <Date>2011-03-10</Date>
+            <Version>0.99.99</Version>
+            <Comment>
+                - Remove libxml2 and python deps which are already in system.base
+                - Added gtk-doc build time dep to get rid of checkelf whinings
+                - Added xterm runtime dep to call streamripper
+                - Added patch to open various filetypes using xdg-open with xdg-utils dep
+                - Fixed documentation dirs
+            </Comment>
+            <Name>Metin Akdere</Name>
+            <Email>metin at pardus.org.tr</Email>
+        </Update>
         <Update release="5">
             <Date>2007-10-14</Date>
             <Version>0.99.99</Version>


More information about the paketler-commits mailing list