[paketler-commits] r55388 - in devel/applications/hardware/alsa-tools: . files

paketler-commits at pardus.org.tr paketler-commits at pardus.org.tr
5 Kas 2008 Çar 10:32:02 EET


Author: ozan.caglayan
Date: Wed Nov  5 10:32:02 2008
New Revision: 55388

Added:
   devel/applications/hardware/alsa-tools/files/alsa-tools.xpm
   devel/applications/hardware/alsa-tools/files/echomixer.desktop
   devel/applications/hardware/alsa-tools/files/envy24control.desktop
   devel/applications/hardware/alsa-tools/files/hdspconf.desktop
   devel/applications/hardware/alsa-tools/files/hdspmixer.desktop
   devel/applications/hardware/alsa-tools/files/rmedigicontrol.desktop
Modified:
   devel/applications/hardware/alsa-tools/actions.py
   devel/applications/hardware/alsa-tools/pspec.xml
Log:
Split this package into alsa-tools and alsa-tools-gui

Modified: devel/applications/hardware/alsa-tools/actions.py
=================================================================
--- devel/applications/hardware/alsa-tools/actions.py	(original)
+++ devel/applications/hardware/alsa-tools/actions.py	Wed Nov  5 10:32:02 2008
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 #
-# Copyright 2007 TUBITAK/UEKAE
+# Copyright 2007-2008 TUBITAK/UEKAE
 # Licensed under the GNU General Public License, version 2.
 # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 
@@ -10,11 +10,16 @@
 from pisi.actionsapi import shelltools
 from pisi.actionsapi import get
 
-alsa_tools = ["ac3dec", "hdsploader",
-              "mixartloader", "vxloader",
-              "usx2yloader", "sscape_ctl",
-              "sb16_csp", "as10k1", "ld10k1",
-              "us428control", "seq/sbiload"]
+console_tools = ["ac3dec", "hdsploader",
+                 "mixartloader", "vxloader",
+                 "usx2yloader", "sscape_ctl",
+                 "sb16_csp", "as10k1", "ld10k1",
+                 "us428control", "seq/sbiload"]
+
+gui_tools = ["envy24control", "rmedigicontrol", "hdspconf",
+             "hdspmixer", "echomixer", "qlo10k1"]
+
+alsa_tools = gui_tools + console_tools
 
 docs = ["README", "ChangeLog", "AUTHORS", "COPYING", "NEWS", "TODO"]
 
@@ -36,6 +41,14 @@
         autotools.rawInstall("DESTDIR=\"%s\"" % get.installDIR())
 
         for doc in docs:
-            pisitools.insinto("/usr/share/doc/%s/%s" % (get.srcTAG(),tool), doc)
+            if tool in gui_tools:
+                srctag = "alsa-tools-gui-%s-%s" % (get.srcVERSION(), get.srcRELEASE())
+            else:
+                srctag = get.srcTAG()
+
+            pisitools.insinto("/usr/share/doc/%s/%s" % (srctag, tool), doc)
 
         shelltools.cd("..")
+
+    pisitools.remove("/usr/share/applications/hdspmixer.desktop")
+    pisitools.remove("/usr/share/applications/hdspconf.desktop")

Modified: devel/applications/hardware/alsa-tools/pspec.xml
=================================================================
--- devel/applications/hardware/alsa-tools/pspec.xml	(original)
+++ devel/applications/hardware/alsa-tools/pspec.xml	Wed Nov  5 10:32:02 2008
@@ -10,11 +10,15 @@
         </Packager>
         <License>GPLv2</License>
         <IsA>app:console</IsA>
+        <IsA>app:gui</IsA>
         <Summary>ALSA tools</Summary>
         <Description>Contains ALSA (Advanced Linux Sound Architecture) tools.</Description>
         <Archive sha1sum="937e7ccad45b5e1f3f07f7c52f226bbf600690f7" type="tarbz2">ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.18.tar.bz2</Archive>
         <BuildDependencies>
             <Dependency versionFrom="1.0.18">alsa-lib</Dependency>
+            <Dependency>gtk2</Dependency>
+            <Dependency>fltk-devel</Dependency>
+            <Dependency>qt</Dependency>
         </BuildDependencies>
         <Patches>
             <Patch level="1">usx2yloader_udev.patch</Patch>
@@ -24,6 +28,7 @@
 
     <Package>
         <Name>alsa-tools</Name>
+        <Summary>ALSA console tools</Summary>
         <RuntimeDependencies>
             <Dependency versionFrom="1.0.18">alsa-lib</Dependency>
         </RuntimeDependencies>
@@ -37,10 +42,42 @@
             <Path fileType="data">/usr/share/ld10k1</Path>
             <Path fileType="data">/usr/share/sounds</Path>
             <Path fileType="man">/usr/share/man</Path>
-            <Path fileType="doc">/usr/share/doc</Path>
+            <Path fileType="doc">/usr/share/doc/alsa-tools-1.0.18-9</Path>
         </Files>
     </Package>
 
+    <Package>
+        <Name>alsa-tools-gui</Name>
+        <Summary>Graphical frontends for some ALSA tools</Summary>
+        <Description>alsa-tools-gui is a collection of GUI based ALSA tools for controlling sound cards like EchoAudio, Envy24, Hammerfall HDSP, RMedigicontrol.</Description>
+        <RuntimeDependencies>
+            <Dependency versionFrom="1.0.18">alsa-lib</Dependency>
+            <Dependency>gtk2</Dependency>
+            <Dependency>fltk</Dependency>
+            <Dependency>qt</Dependency>
+        </RuntimeDependencies>
+        <Files>
+            <Path fileType="man">/usr/share/man/man1/envy24control.1</Path>
+            <Path fileType="doc">/usr/share/doc/alsa-tools-gui-1.0.18-9</Path>
+            <Path fileType="data">/usr/share/applications</Path>
+            <Path fileType="data">/usr/share/pixmaps</Path>
+            <Path fileType="executable">/usr/bin/echomixer</Path>
+            <Path fileType="executable">/usr/bin/envy24control</Path>
+            <Path fileType="executable">/usr/bin/hdspconf</Path>
+            <Path fileType="executable">/usr/bin/hdspmixer</Path>
+            <Path fileType="executable">/usr/bin/rmedigicontrol</Path>
+            <Path fileType="executable">/usr/bin/qlo10k1</Path>
+        </Files>
+        <AdditionalFiles>
+            <AdditionalFile target="/usr/share/pixmaps/alsa-tools.xpm" permission="0644">alsa-tools.xpm</AdditionalFile>
+            <AdditionalFile target="/usr/share/applications/echomixer.desktop" permission="0644">echomixer.desktop</AdditionalFile>
+            <AdditionalFile target="/usr/share/applications/envy24control.desktop" permission="0644">envy24control.desktop</AdditionalFile>
+            <AdditionalFile target="/usr/share/applications/hdspmixer.desktop" permission="0644">hdspmixer.desktop</AdditionalFile>
+            <AdditionalFile target="/usr/share/applications/hdspconf.desktop" permission="0644">hdspconf.desktop</AdditionalFile>
+            <AdditionalFile target="/usr/share/applications/rmedigicontrol.desktop" permission="0644">rmedigicontrol.desktop</AdditionalFile>
+        </AdditionalFiles>
+    </Package>
+
     <History>
         <Update release="9">
             <Date>2008-10-31</Date>
@@ -48,7 +85,7 @@
             <Comment>
                 - Version bump to the latest stable 1.0.18,
                 - Add firmware_locations.patch for installing firmwares into /lib/firmware,
-                - Remove gtk2 dependency as the graphical tools will be shipped with alsa-tools-gui package,
+                - Split the package for separating GUI and console tools,
                 - Take over package.
             </Comment>
             <Name>Ozan Çağlayan</Name>


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi