code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>nightingale</Name>
        <Homepage>http://getnightingale.com/</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>nightingale</Icon>
        <IsA>app:gui</IsA>
        <PartOf>multimedia</PartOf>
        <Summary>A free and powerfull music player</Summary>
        <Description>Nightingale is a free and powerfull Open-source customizable music player.</Description>
        <Archive sha1sum="b276da7076d1961a9ca391df4df11eefcd6f4af2" type="targz">http://github.com/nightingale-media-player/nightingale-hacking/tarball/nightingale-1.12.1</Archive>
        <BuildDependencies>
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libIDL-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libnotify-devel</Dependency>
            <Dependency>zip</Dependency>
            <Dependency>unzip</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
         </BuildDependencies>
    </Source>

    <Package>
        <Name>nightingale</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libIDL</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>freetype</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/nightingale</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
	<AdditionalFiles>
            <AdditionalFile target="/usr/share/applications/nightingale.desktop" permission="0644" owner="root">nightingale.desktop</AdditionalFile>
            <AdditionalFile target="/usr/share/pixmaps/nightingale.xpm" permission="0644" owner="root">nightingale.xpm</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-18</Date>
            <Version>1.12.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-09-06</Date>
            <Version>1.12.1</Version>
            <Comment>First Release.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>nightingale</Name>
        Özgür ve güçlü bir müzik çalar
        Nightingale Media Player
        <Description xml:lang="tr">Nightingale, özgür ve güçlü , açık kaynak kodlu, özelleştirilebilir bir müzik çalardır.</Description>
        <Description xml:lang="en">Nightingale is a community based fork of the Songbird Media player distributed under the GNU GPL and portions (XULRunner and Mozilla libs) licensed under the Mozilla MPL/BSD license..</Description>
    </Source>
</PISI>

repo_name: ayhanyalcinsoy/main


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "openal-soft-%s" % get.srcVERSION()

def setup():
    options = "-DALSA=1 \
               -DPULSEAUDIO=1 \
               -DOSS=1 \
               -DEXAMPLES=OFF"

    if get.buildTYPE() == "emul32":
        options += " -DCMAKE_INSTALL_PREFIX=/emul32 \
                     -DLIB_SUFFIX=32"
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())

    cmaketools.configure(options)

def build():
    cmaketools.make()

def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    # is there any "libdir" prefix for cmake ?
    if get.buildTYPE() == "emul32":
        from distutils.dir_util import copy_tree
        copy_tree("%s/emul32/lib32/" % get.installDIR(), "%s/usr/lib32" % get.installDIR())
        pisitools.removeDir("/emul32")
        pisitools.dosed("%s/usr/lib32/pkgconfig/openal.pc" % get.installDIR(), "emul32", "usr")
        return

    pisitools.dodoc("COPYING", "alsoftrc.sample")


code:
--- OpenAL32/Include/alu.h.orig
+++ OpenAL32/Include/alu.h
@@ -224,6 +224,29 @@
     return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
 }

+#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
+ #ifndef _FPU_EXTENDED
+  #define _FPU_EXTENDED	0
+ #endif
+ #ifndef _FPU_DOUBLE
+  #define _FPU_DOUBLE	0
+ #endif
+ #ifndef _FPU_SINGLE
+  #define _FPU_SINGLE	0
+ #endif
+ #ifndef _FPU_RC_NEAREST
+  #define _FPU_RC_NEAREST	0
+ #endif
+ #ifndef _FPU_RC_DOWN
+  #define _FPU_RC_DOWN	0
+ #endif
+ #ifndef _FPU_RC_UP
+  #define _FPU_RC_UP	0
+ #endif
+ #ifndef _FPU_RC_ZERO
+  #define _FPU_RC_ZERO	0
+ #endif
+#endif

 static __inline int SetMixerFPUMode(void)
 {


code:
diff -Nur openal-soft-1.13-old//CMakeLists.txt openal-soft-1.13/CMakeLists.txt
--- openal-soft-1.13-old//CMakeLists.txt	2011-04-15 10:39:56.860000093 +0300
+++ openal-soft-1.13/CMakeLists.txt	2011-04-15 11:30:47.593000620 +0300
@@ -246,10 +246,10 @@
         MESSAGE(FATAL_ERROR "No sleep function found!")
     ENDIF()

-    CHECK_C_COMPILER_FLAG(-pthread HAVE_PTHREAD)
+    CHECK_C_COMPILER_FLAG(-lpthread HAVE_PTHREAD)
     IF(HAVE_PTHREAD)
-        ADD_DEFINITIONS(-pthread)
-        SET(EXTRA_LIBS ${EXTRA_LIBS} -pthread)
+        ADD_DEFINITIONS(-lpthread)
+        SET(EXTRA_LIBS ${EXTRA_LIBS} -lpthread)
     ENDIF()

     # We need pthreads outside of Windows


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openal</Name>
        <Homepage>http://kcat.strangesoft.net/openal.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        Open Audio Library is a vendor-neutral API for interactive spatialized audio
        <Description>OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications. The basic OpenAL objects are a Listener, a Source, and a Buffer.</Description>
        <Archive sha1sum="5d6151b544caaf53a15b798a495308e421044b0d" type="tarbz2">http://kcat.strangesoft.net/openal-releases/openal-soft-1.17.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
        <Patches>

            <Patch level="0">no-fpuextended.patch</Patch>

        </Patches>
    </Source>

    <Package>
        <Name>openal</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/openal</Path>
            <Path fileType="data">/usr/share/openal</Path>
        </Files>
    </Package>

    <Package>
        <Name>openal-devel</Name>
        Development files for openal
        <RuntimeDependencies>
            <Dependency release="current">openal</Dependency>
            <Dependency>pulseaudio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig/openal.pc</Path>
            <Path fileType="data">/usr/lib32/pkgconfig/openal.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>openal-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for openal
        <BuildType>emul32</BuildType>
        <RuntimeDependencies>
            <Dependency release="current">openal</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>1.17.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.15.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>1.15.1</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>1.15.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>openal</Name>
        Açık ses kütüphanesi
        <Description xml:lang="tr">OpenAL, oyun uygulamaları ve diğer birçok audio uygulama tipleriyle kullanılmaya tahsisli bir üç boyutlu audio API(Uygulama Programlama Arayüzü) çapraz platformudur.</Description>
        <Description xml:lang="fr">OpenAL est une API audio 3D multi-plateforme utilisable pour les jeux et beaucoup d'autre types d'application audio. Les objets de base d'OpenAL sont le Listener (auditeur), a Source (source), et le Buffer (tampon).</Description>
    </Source>

    <Package>
        <Name>openal-devel</Name>
        openal için geliştirme dosyaları
    </Package>

    <Package>
        <Name>openal-32bit</Name>
        openal için 32-bit paylaşımlı kitaplıklar
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    pisitools.dosed("Makefile", "(cat pogo.py) \| \$\(CONFIGURE_IN\)( > pogo;)", r"\1\2")

def build():
    autotools.make()

def install():
    autotools.install()
    pisitools.dodoc("NEWS.md", "README.md")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pogo</Name>
        <Homepage>https://launchpad.net/pogo</Homepage>
        <Packager>
            <Name>Pisi Linux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Probably the simplest and fastest audio player for Linux.</Summary>
        <Description>Pogo's elementary-inspired design uses the screen-space very efficiently. It is especially well-suited for people who organize their music by albums on the harddrive. The main interface components are a directory tree and a playlist that groups albums in an innovative way.Supported file formats include Ogg Vorbis, MP3, FLAC, Musepack, Wavpack, and MPEG-4 AAC. Pogo is a fork of Decibel Audio Player.</Description>
        <Archive sha1sum="9c78cf102e23b8817fa8811c1e612bf495b2a587" type="targz">https://github.com/jendrikseipp/pogo/archive/v0.9.tar.gz</Archive>
    </Source>

    <Package>
        <Name>pogo</Name>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency>python-gtk</Dependency>
            <Dependency>python-mutagen</Dependency>
            <Dependency>python-imaging</Dependency>
            <Dependency>gst-python</Dependency>
            <Dependency>notify-python</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>gst-plugins-good</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>0.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-08-06</Date>
            <Version>0.8.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-16</Date>
            <Version>0.8.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-12-22</Date>
            <Version>0.8.2</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>pogo</Name>
        <Summary xml:lang="en">Probably the simplest and fastest audio player for Linux.</Summary>
        <Description xml:lang="en">Pogo's elementary-inspired design uses the screen-space very efficiently. It is especially well-suited for people who organize their music by albums on the harddrive. The main interface components are a directory tree and a playlist that groups albums in an innovative way.Supported file formats include Ogg Vorbis, MP3, FLAC, Musepack, Wavpack, and MPEG-4 AAC. Pogo is a fork of Decibel Audio Player.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt.

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "portaudio"

def setup():
    autotools.configure("--disable-static --prefix=/usr")

def build():
    autotools.make()

def install():
    autotools.rawInstall('DESTDIR="%s" libdir=/usr/lib' % get.installDIR())

    pisitools.dodoc("LICENSE.txt", "README.txt")


code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">

<PISI>
    <Source>
        <Name>portaudio</Name>
        <Homepage>http://www.portaudio.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>library</IsA>
        Portable audio library
        <Description>PortAudio is a free, cross platform, open-source, audio I/O library.</Description>
        <Archive type="targz" sha1sum="56c596bba820d90df7d057d8f6a0ec6bf9ab82e8">http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>

    <Package>
        <Name>portaudio</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>portaudio-devel</Name>
        Development files for portaudio
        <RuntimeDependencies>
            <Dependency release="current">portaudio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc/portaudio/html</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>190600.20161030</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>19.20140130</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-21</Date>
            <Version>19.20140130</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>portaudio</Name>
        Ses kütüphanesi
        <Description xml:lang="tr">Birden çok platformda kullanılabilinen açıkkodlu ses kütüphanesi</Description>
        <Description xml:lang="fr">Une API audio multi-plateforme libre.</Description>
    </Source>

    <Package>
        <Name>portaudio-devel</Name>
        portaudio için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

shelltools.export("JAVAC","/usr/lib/jvm/java-7-openjdk/bin/javac")
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")

def setup():
    cmaketools.configure("-DCMAKE_SKIP_BUILD_RPATH=1 \
                          -DLIB_INSTALL_DIR=/usr/lib \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DCMAKE_CACHEFILE_DIR=%s/build \
                          -DINCLUDE_INSTALL_DIR=/usr/include \
                          -DVERSION=%s" % (get.curDIR(), get.srcVERSION()))

def build():
    autotools.make()
    shelltools.system("./build-pyportmidi")

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/usr/include", "pm_common/pmutil.h")
    shelltools.chmod("%s/usr/include/pmutil.h" % get.installDIR(), mode=0644)

    # Fix missing symlink for libporttime.so (FS#21528).
    pisitools.dosym("/usr/lib/libportmidi_s.a", "/usr/lib/libportmidi.a")
    pisitools.dosym("/usr/lib/libportmidi.so", "/usr/lib/libporttime.so")
    pisitools.dosym("/usr/lib/libportmidi.a", "/usr/lib/libporttime.a")

    # Install test applications
    for app in ["latency", "midithread", "midithru", "mm", "qtest", "sysex", "test"]:
        pisitools.insinto("/usr/bin", "build/Release/%s" % app, "portmidi-%s" % app)

    # Build and Install python module
    pisitools.dodir("/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON())
    pisitools.dolib("pm_python/pyportmidi/_pyportmidi.so", "/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON())
    pisitools.insinto("/usr/lib/%s/site-packages/pyportmidi" % get.curPYTHON(), "pm_python/pyportmidi/*.py")

    pisitools.dodoc("CHANGELOG.txt", "license.txt", "README.txt")


code:
#!/bin/bash

PYTHON_VER=$(python -c "from sys import version; print (version[:3])")
PYTHON_INC=$(python -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")

pushd pm_python/pyportmidi

${CC} ${CFLAGS} -pthread -fPIC -c -o _pyportmidi.o -I../../pm_common -I../../porttime -I$PYTHON_INC _pyportmidi.c
${CC} -shared -o _pyportmidi.so _pyportmidi.o -lportmidi -lpython$PYTHON_VER -L../../build/Release
popd


code:
Index: portmidi/pm_common/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_common/CMakeLists.txt
+++ portmidi/pm_common/CMakeLists.txt
@@ -120,8 +120,8 @@ set_target_properties(pmjni PROPERTIES E
 # install the libraries (Linux and Mac OS X command line)
 if(UNIX)
   INSTALL(TARGETS portmidi-static pmjni
-    LIBRARY DESTINATION /usr/local/lib
-    ARCHIVE DESTINATION /usr/local/lib)
+    LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+    ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
 # .h files installed by pm_dylib/CMakeLists.txt, so don't need them here
 #  INSTALL(FILES portmidi.h ../porttime/porttime.h
 #    DESTINATION /usr/local/include)
Index: portmidi/pm_dylib/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_dylib/CMakeLists.txt
+++ portmidi/pm_dylib/CMakeLists.txt
@@ -59,7 +59,7 @@ if(UNIX)

     set(JAVAVM_LIB "${FRAMEWORK_PATH}/JavaVM.framework")
     set(JAVA_INCLUDE_PATHS ${JAVAVM_LIB}/Headers)
-    set(INSTALL_NAME_DIR "/usr/local/lib")
+    set(INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
     message(STATUS "SYSROOT: " ${CMAKE_OSX_SYSROOT})
   else(APPLE)
     # LINUX settings...
@@ -75,11 +75,7 @@ if(UNIX)
     # JAVA_INCLUDE_PATH2; if no, then we need to make both JAVA_INCLUDE_PATH
     # and JAVA_INCLUDE_PATH2 set by user (will need clear documentation
     # because JAVA_INCLUDE_PATH2 is pretty obscure)
-    set(JAVA_INCLUDE_PATH  ${JAVA_INCLUDE_PATH-UNKNOWN}
-        CACHE STRING "where to find Java SDK include directory")
-    set(JAVA_INCLUDE_PATHS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH}/linux)
-    # libjvm.so is found relative to JAVA_INCLUDE_PATH:
-    set(JAVAVM_LIB ${JAVA_INCLUDE_PATH}/../jre/lib/i386/client/libjvm.so)
+    set(JAVAVM_LIB ${JAVA_JVM_LIBRARY})

     set(LINUXSRC pmlinuxalsa pmlinux finddefault)
     prepend_path(LIBSRC ../pm_linux/ ${LINUXSRC})
@@ -114,14 +110,14 @@ prepend_path(SHARED_PATHS ../pm_common/
 list(APPEND LIBSRC ${SHARED_PATHS})

 add_library(portmidi-dynamic SHARED ${LIBSRC})
-set_target_properties(portmidi-dynamic PROPERTIES OUTPUT_NAME "portmidi")
+set_target_properties(portmidi-dynamic PROPERTIES LINK_FLAGS "-L${CMAKE_CACHEFILE_DIR}/Release" SOVERSION 0 VERSION 0.${VERSION} OUTPUT_NAME "portmidi")
 target_link_libraries(portmidi-dynamic ${PM_NEEDED_LIBS})

 # install the libraries (Linux and Mac OS X command line)
 if(UNIX)
   INSTALL(TARGETS portmidi-dynamic
-    LIBRARY DESTINATION /usr/local/lib
-    ARCHIVE DESTINATION /usr/local/lib)
+    LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+    ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
   INSTALL(FILES ../pm_common/portmidi.h ../porttime/porttime.h
-    DESTINATION /usr/local/include)
+    DESTINATION ${INCLUDE_INSTALL_DIR})
 endif(UNIX)
Index: portmidi/pm_java/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_java/CMakeLists.txt
+++ portmidi/pm_java/CMakeLists.txt
@@ -41,7 +41,7 @@ if(UNIX)
     INSTALL(FILES ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar
       DESTINATION /usr/share/java)
     INSTALL(PROGRAMS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults
-      DESTINATION /usr/local/bin)
+      DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
   endif(APPLE)
 endif(UNIX)
 # In windows, use pm_java/make.bat
Index: portmidi/pm_test/CMakeLists.txt
===================================================================
--- portmidi.orig/pm_test/CMakeLists.txt
+++ portmidi/pm_test/CMakeLists.txt
@@ -12,7 +12,7 @@ endif(WIN32)

 macro(make_a_test name)
   add_executable(${name} ${name}.c)
-  target_link_libraries(${name} portmidi-static ${PM_NEEDED_LIBS})
+  target_link_libraries(${name} portmidi-dynamic)
   add_dependencies(${name} portmidi-static)
 endmacro(make_a_test)

Index: portmidi/CMakeLists.txt
===================================================================
--- portmidi.orig/CMakeLists.txt
+++ portmidi/CMakeLists.txt
@@ -71,7 +71,3 @@ add_subdirectory(pm_common)
 add_subdirectory(pm_test)

 add_subdirectory(pm_dylib)
-
-# Cannot figure out how to make an xcode Java application with CMake
-add_subdirectory(pm_java)
-


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>portmidi</Name>
        <Homepage>http://portmedia.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        Real-time MIDI I/O library
        <Description>PortMedia is a set of simple clean APIs and cross-platform library implementations for music and other media. PortMidi sub-project provides a real-time MIDI input/output library. This package contains the PortMidi libraries.</Description>
        <Archive sha1sum="f45bf4e247c0d7617deacd6a65d23d9fddae6117" type="zip">mirrors://sourceforge/portmedia/portmidi-src-217.zip</Archive>
        <AdditionalFiles>
            <AdditionalFile target="build-pyportmidi" permission="0755">build-pyportmidi</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>python-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">portmidi-cmake.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>portmidi</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-portmidi</Name>
        <PartOf>programming.language.python</PartOf>
        Python bindings for portmidi
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency release="current">portmidi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/python*</Path>
        </Files>
    </Package>

    <Package>
        <Name>portmidi-devel</Name>
        Development files for portmidi
        <RuntimeDependencies>
            <Dependency release="current">portmidi</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-18</Date>
            <Version>217</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-21</Date>
            <Version>217</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>portmidi</Name>
        Gerçek zamanlı MIDI G/Ç kitaplığı
        <Description xml:lang="tr">portmidi, PortMedia projesinin gerçek zamanlı MIDI girdi/çıktı kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>portmidi-devel</Name>
        portmidi için geliştirme dosyaları
    </Package>

    <Package>
        <Name>python-portmidi</Name>
        portmidi için python bağlayıcısı
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import get
from pisi.actionsapi import libtools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

# FIXME: libpulsedsp.la should be added, but it doesn't build on our system
emul32_libs = "libpulsecommon-%s.la \
               libpulse.la \
               libpulse-simple.la \
               libpulse-mainloop-glib.la \
              " % get.srcVERSION()

def setup():
    options = "--prefix=/usr         \
               --sysconfdir=/etc     \
               --localstatedir=/var  \
               --libexecdir=/usr/libexec \
               --disable-dependency-tracking \
               --disable-static \
               --disable-bluez4 \
               --disable-rpath \
               --disable-systemd \
               --disable-oss-output \
               --enable-largefile \
               --with-system-user=pulse \
               --with-system-group=pulse \
               --with-access-group=pulse-access \
               --with-database=tdb \
               --with-module-dir=/usr/lib/pulse/modules \
               --with-udev-rules-dir=/lib/udev/rules.d"

    if get.buildTYPE() == "emul32":
        options += " --libdir=/usr/lib32 \
                     --libexecdir=/usr/lib32 \
                     --disable-gconf \
                     --disable-gtk2 \
                     --disable-asyncns \
                     --disable-lirc \
                     --disable-x11 \
                     --disable-bluez4 \
                     --disable-oss-output \
                     --disable-oss-wrapper \
                     --disable-solaris \
                     --disable-manpages \
                     --disable-samplerate \
                     --disable-default-build-tests"

    shelltools.echo(".tarball-version", get.srcVERSION())
    #shelltools.system("NOCONFIGURE=1 ./bootstrap.sh")
    autotools.configure(options)

    pisitools.dosed("libtool", "CC(\s-shared\s)", r"CC -Wl,-O1,--as-needed\1")

def build():
    if get.buildTYPE() == "emul32":
        autotools.make("-C src %s" % emul32_libs)
        return

    autotools.make()

    #generate html docs
    autotools.make("doxygen")

def install():
    if get.buildTYPE() == "emul32":
        autotools.rawInstall("-C src \
                              lib_LTLIBRARIES=\"%s\" \
                              DESTDIR=%s" % (emul32_libs, get.installDIR()),
                             "install-libLTLIBRARIES")
        autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-pkgconfigDATA")
        return

    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Disable autospawn by default
    shelltools.system("sed -e '/autospawn/iautospawn=yes' -i '%s/etc/pulse/client.conf'" % get.installDIR())
    # Speed up pulseaudio shutdown
    # Lower resample quality, saves CPU
    shelltools.system("sed -e '/exit-idle-time/iexit-idle-time=0' \
                       -e '/resample-method/iresample-method=speex-float-0' \
                       -i '%s/etc/pulse/daemon.conf'" % get.installDIR())

    # Needed for service.py
    pisitools.dodir("/run/pulse")
    pisitools.dodir("/var/lib/pulse")

    # HAL is no longer supported by default
    pisitools.removeDir("/etc/dbus-1")

    pisitools.dodoc("README", "LICENSE", "GPL", "LGPL")
    pisitools.dohtml("doxygen/html/*")


code:
#!/usr/bin/python

import os

PULSE_DIR="/var/lib/pulse"

def postInstall(fromVersion, fromRelease, toVersion, toRelease):
    os.system("/bin/chown pulse:pulse %s" % PULSE_DIR)
    os.chmod(PULSE_DIR, 0700)


code:
#! /bin/sh

. "${PM_FUNCTIONS}"

test_pulse_system() {
    getent passwd pulse | awk -F: '{print $3}'
}

get_pulse_users() {
    PULSE_SYSTEM_USER=$(test_pulse_system)
    if [ -z "${PULSE_SYSTEM_USER}" ]; then
        ps -C pulseaudio -o uid= | tr -d ' '
    else
        ps -C pulseaudio -o uid= | tr -d ' ' | sed s/${PULSE_SYSTEM_USER}//
    fi
}

# $1 = sink|source
# $2 = username
save_pulse_state() {
    su "${2}" -c -- "pacmd list-${1}s" | \
        sed -n "s/^[[:space:]*]*//; /\(index\|mute\)/p" | \
        (index="";
            while read field value; do
                if [ ${field%:} = "index" ]; then
                    index=${value}
                else
                    savestate pulse:"${2}":${1}${index} ${value}
                fi
            done)
}

# $1 = sink|source
# $2 = username
restore_pulse_state() {
    su "${2}" -c -- "pacmd list-${1}s" | \
        sed -n "s/^[[:space:]*]*index: //p" | \
        while read index; do
            if state_exists pulse:"${2}":${1}${index}; then
                su "${2}" -c -- "pacmd \
                    set-${1}-mute \
                    ${index} \
                    $(restorestate pulse:"${2}":${1}${index})"
            fi
        done
}

# $1 = sink|source
# $2 = username
mute_pulse() {
    su "${2}" -c -- "pacmd list-${1}s" | \
        sed -n "s/^[[:space:]*]*//; /\(index\|mute\)/p" | \
        (index="";
            while read field value; do
                if [ ${field%:} = "index" ]; then
                    index=${value}
                    su "${2}" -c -- "pacmd \
                        set-${1}-mute ${index} yes"
                fi
            done)
}

suspend_pulse() {
    for i in $(get_pulse_users); do
        THIS_USER="$(getent passwd ${i} | cut -f1 -d:)"
        save_pulse_state sink "${THIS_USER}"
        save_pulse_state source "${THIS_USER}"
        su "${THIS_USER}" -c -- 'pacmd suspend true' > /dev/null 2>&1
    done
    for i in $(get_pulse_users); do
        THIS_USER="$(getent passwd ${i} | cut -f1 -d:)"
        if su "${THIS_USER}" -c -- 'ck-list-sessions | grep "active = TRUE"' > /dev/null 2>&1; then
            mute_pulse sink "${THIS_USER}"
            mute_pulse source "${THIS_USER}"
            break
        fi
    done
}

resume_pulse() {
    for i in $(get_pulse_users); do
        THIS_USER="$(getent passwd ${i} | cut -f1 -d:)"
        restore_pulse_state sink "${THIS_USER}"
        restore_pulse_state source "${THIS_USER}"
        su "${THIS_USER}" -c -- 'pacmd suspend false' > /dev/null 2>&1
    done
}

case $1 in
    hibernate|suspend)
        suspend_pulse
        ;;
    thaw|resume)
        resume_pulse
        ;;
    *) exit $NA
        ;;
esac


code:
From ef4a41e8b0ef81a53769d853dbc7679b25252327 Mon Sep 17 00:00:00 2001
From: David Henningsson <david.henningsson@canonical.com>
Date: Fri, 28 Mar 2014 11:59:09 +0100
Subject: [PATCH 36/38] module-switch-on-port-available: Don't switch profiles
 on uninitialized cards

This could cause the HDMI port to become the default on some systems
where analog output was available.

BugLink: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1256511
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=73375
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 src/modules/module-switch-on-port-available.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/module-switch-on-port-available.c b/src/modules/module-switch-on-port-available.c
index 2c7ad17..c560306 100644
--- a/src/modules/module-switch-on-port-available.c
+++ b/src/modules/module-switch-on-port-available.c
@@ -173,6 +173,11 @@ static pa_hook_result_t port_available_hook_callback(pa_core *c, pa_device_port
         return PA_HOOK_OK;
     }

+    if (pa_idxset_size(card->sinks) == 0 && pa_idxset_size(card->sources) == 0)
+        /* This card is not initialized yet. We'll handle it in
+           sink_new / source_new callbacks later. */
+        return PA_HOOK_OK;
+
     find_sink_and_source(card, port, &sink, &source);

     is_active_profile = card->active_profile == pa_hashmap_get(port->profiles, card->active_profile->name);
--
1.9.0


code:
diff -up pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio-kde.desktop.in.kde_autostart_phase pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio-kde.desktop.in
--- pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio-kde.desktop.in.kde_autostart_phase	2013-10-10 17:02:01.000000000 -0500
+++ pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio-kde.desktop.in	2013-12-07 13:15:24.034110082 -0600
@@ -9,3 +9,4 @@ Type=Application
 Categories=
 GenericName=
 OnlyShowIn=KDE;
+X-KDE-autostart-phase=1
diff -up pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio.desktop.in.kde_autostart_phase pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio.desktop.in
--- pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio.desktop.in.kde_autostart_phase	2013-10-10 17:02:01.000000000 -0500
+++ pulseaudio-4.0-266-gf81e3/src/daemon/pulseaudio.desktop.in	2013-12-07 13:15:17.579180709 -0600
@@ -9,3 +9,4 @@ Type=Application
 Categories=
 GenericName=
 X-GNOME-Autostart-Phase=Initialization
+X-KDE-autostart-phase=1


code:
diff -up pulseaudio-4.0-266-gf81e3/src/daemon/start-pulseaudio-x11.in.x11_device_manager pulseaudio-4.0-266-gf81e3/src/daemon/start-pulseaudio-x11.in
--- pulseaudio-4.0-266-gf81e3/src/daemon/start-pulseaudio-x11.in.x11_device_manager	2013-10-10 17:02:01.000000000 -0500
+++ pulseaudio-4.0-266-gf81e3/src/daemon/start-pulseaudio-x11.in	2013-10-14 09:44:04.375542726 -0500
@@ -26,6 +26,10 @@ if [ x"$DISPLAY" != x ] ; then
     @PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
     @PACTL_BINARY@ load-module module-x11-cork-request "display=$DISPLAY" > /dev/null

+    if [ x"$KDE_FULL_SESSION" = x"true" ]; then
+       @PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
+    fi
+
     if [ x"$SESSION_MANAGER" != x ] ; then
 	@PACTL_BINARY@ load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
     fi


code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://web.resource.org/cc/"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="48px"
   height="48px"
   id="svg2161"
   sodipodi:version="0.32"
   inkscape:version="0.44"
   sodipodi:docbase="/home/ossman/devel/pulseaudio"
   sodipodi:docname="pulseaudio.svg">
  <defs
     id="defs2163">
    <linearGradient
       id="linearGradient3093">
      <stop
         style="stop-color:#000000;stop-opacity:1;"
         offset="0"
         id="stop3095" />
      <stop
         style="stop-color:#000000;stop-opacity:0;"
         offset="1"
         id="stop3097" />
    </linearGradient>
    <radialGradient
       inkscape:collect="always"
       xlink:href="#linearGradient3093"
       id="radialGradient2472"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(1,0,0,0.266476,0,283.9565)"
       cx="224.5"
       cy="387.11252"
       fx="224.5"
       fy="387.11252"
       r="174.5" />
    <linearGradient
       id="linearGradient2503">
      <stop
         style="stop-color:#000000;stop-opacity:1;"
         offset="0"
         id="stop2505" />
      <stop
         style="stop-color:#141413;stop-opacity:1;"
         offset="1"
         id="stop2507" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient2503"
       id="linearGradient1476"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(0.124741,0,0,0.124741,-49.78411,-8.952609)"
       x1="585"
       y1="390.61252"
       x2="585"
       y2="85.376541" />
    <linearGradient
       id="linearGradient2495">
      <stop
         style="stop-color:#0a0a09;stop-opacity:1;"
         offset="0"
         id="stop2497" />
      <stop
         style="stop-color:#282927;stop-opacity:1;"
         offset="1"
         id="stop2499" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient2495"
       id="linearGradient1474"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(0.124741,0,0,0.124741,-49.78411,-8.952609)"
       x1="674"
       y1="276.11252"
       x2="505"
       y2="199.11252" />
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient2535"
       id="linearGradient2399"
       gradientUnits="userSpaceOnUse"
       x1="585"
       y1="390.61252"
       x2="585"
       y2="85.376541" />
    <linearGradient
       id="linearGradient2535">
      <stop
         id="stop2537"
         offset="0"
         style="stop-color:#ffffff;stop-opacity:0.36078432;" />
      <stop
         id="stop2539"
         offset="1"
         style="stop-color:#ffffff;stop-opacity:0;" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient2535"
       id="linearGradient2397"
       gradientUnits="userSpaceOnUse"
       gradientTransform="translate(-291.933,627.3998)"
       x1="532"
       y1="131.40625"
       x2="667.5"
       y2="357.40625" />
    <linearGradient
       id="linearGradient3072">
      <stop
         style="stop-color:#ffffff;stop-opacity:1;"
         offset="0"
         id="stop3074" />
      <stop
         style="stop-color:#ffffff;stop-opacity:0;"
         offset="1"
         id="stop3076" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       xlink:href="#linearGradient3072"
       id="linearGradient2395"
       gradientUnits="userSpaceOnUse"
       x1="585"
       y1="76.360481"
       x2="585"
       y2="170.3912" />
  </defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="4.9497475"
     inkscape:cx="20.060638"
     inkscape:cy="18.992734"
     inkscape:current-layer="layer1"
     showgrid="true"
     inkscape:grid-bbox="true"
     inkscape:document-units="px"
     inkscape:window-width="872"
     inkscape:window-height="624"
     inkscape:window-x="325"
     inkscape:window-y="224" />
  <metadata
     id="metadata2166">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <cc:license
           rdf:resource="http://www.gnu.org/copyleft/gpl.html" />
        <dc:title>PulseAudio logotype</dc:title>
        <dc:date>2006-08-28</dc:date>
        <dc:creator>
          <cc:Agent>
            <dc:title>Pierre Ossman <ossman@cendio.se> for Cendio AB</dc:title>
          </cc:Agent>
        </dc:creator>
        <dc:rights>
          <cc:Agent>
            <dc:title></dc:title>
          </cc:Agent>
        </dc:rights>
        <dc:contributor>
          <cc:Agent>
            <dc:title>Rafael Jannone (basic idea)</dc:title>
          </cc:Agent>
        </dc:contributor>
      </cc:Work>
      <cc:License
         rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
        <cc:permits
           rdf:resource="http://web.resource.org/cc/Reproduction" />
        <cc:permits
           rdf:resource="http://web.resource.org/cc/Distribution" />
        <cc:requires
           rdf:resource="http://web.resource.org/cc/Notice" />
        <cc:permits
           rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
        <cc:requires
           rdf:resource="http://web.resource.org/cc/ShareAlike" />
        <cc:requires
           rdf:resource="http://web.resource.org/cc/SourceCode" />
      </cc:License>
    </rdf:RDF>
  </metadata>
  <g
     id="layer1"
     inkscape:label="Layer 1"
     inkscape:groupmode="layer">
    <path
       sodipodi:type="arc"
       style="opacity:0.36679538;color:black;fill:url(#radialGradient2472);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:38.81499863;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
       id="path2470"
       sodipodi:cx="224.5"
       sodipodi:cy="387.11252"
       sodipodi:rx="174.5"
       sodipodi:ry="46.5"
       d="M 399 387.11252 A 174.5 46.5 0 1 1  50,387.11252 A 174.5 46.5 0 1 1  399 387.11252 z"
       transform="matrix(0.137443,0,0,0.154237,-6.855952,-20.43595)"
       inkscape:export-filename="/home/ossman/Desktop/pa4.png"
       inkscape:export-xdpi="44.099998"
       inkscape:export-ydpi="44.099998" />
    <rect
       ry="6.5049205"
       y="2.2257283"
       x="5.4760308"
       height="37.047943"
       width="37.047943"
       id="rect2371"
       style="fill:url(#linearGradient1474);fill-opacity:1;stroke:url(#linearGradient1476);stroke-width:0.99792439;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
       inkscape:export-filename="/home/ossman/Desktop/pa4.png"
       inkscape:export-xdpi="44.099998"
       inkscape:export-ydpi="44.099998" />
    <g
       transform="matrix(0.124741,0,0,0.124741,-61.69688,-99.94425)"
       id="g2415"
       inkscape:export-filename="/home/ossman/Desktop/pa4.png"
       inkscape:export-xdpi="44.099998"
       inkscape:export-ydpi="44.099998">
      <path
         sodipodi:type="arc"
         style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
         id="path2417"
         sodipodi:cx="-1"
         sodipodi:cy="863.61249"
         sodipodi:rx="23"
         sodipodi:ry="23"
         d="M 22 863.61249 A 23 23 0 1 1  -24,863.61249 A 23 23 0 1 1  22 863.61249 z"
         transform="matrix(1.676363,0,0,1.676363,688.6772,-480.168)" />
      <path
         style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
         d="M 666.92273,892.01313 C 633.50485,900.88553 608.86021,931.34683 608.86023,967.54442 C 608.86023,1003.7419 633.50486,1034.2345 666.92273,1043.1069 C 642.81497,1032.2877 625.48523,1002.5195 625.48523,967.54442 C 625.48522,932.56943 642.81496,902.83233 666.92273,892.01313 z M 707.07898,892.01313 C 731.18675,902.83233 748.51648,932.56933 748.51648,967.54442 C 748.51648,1002.5195 731.18674,1032.2877 707.07898,1043.1069 C 740.49686,1034.2345 765.1415,1003.7419 765.14148,967.54442 C 765.14148,931.34693 740.49687,900.88553 707.07898,892.01313 z "
         id="path2419" />
      <path
         id="path2421"
         d="M 655.64705,849.58672 C 603.46201,863.44178 564.97718,911.00985 564.97721,967.53562 C 564.97721,1024.0613 603.46203,1071.6783 655.64705,1085.5333 C 618.0006,1068.6381 590.93865,1022.1524 590.93865,967.53562 C 590.93863,912.91905 618.00059,866.48188 655.64705,849.58672 z M 718.35466,849.58672 C 756.00112,866.48188 783.06306,912.91889 783.06306,967.53562 C 783.06306,1022.1524 756.00111,1068.6381 718.35466,1085.5333 C 770.5397,1071.6783 809.02453,1024.0613 809.0245,967.53562 C 809.0245,911.01001 770.53972,863.44178 718.35466,849.58672 z "
         style="opacity:1;fill:#729fcf;fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
    </g>
    <g
       id="g1494"
       transform="matrix(0.124741,0,0,0.124741,-13.36814,-87.21636)">
      <path
         inkscape:export-ydpi="44.099998"
         inkscape:export-xdpi="44.099998"
         inkscape:export-filename="/home/ossman/Desktop/pa4.png"
         d="M 495.15625,93.84375 C 468.52243,93.84375 447.21875,115.11921 447.21875,141.75 L 447.21875,334.46875 C 447.21875,361.09954 468.52545,382.40625 495.15625,382.40625 L 687.84375,382.40625 C 714.47454,382.40625 735.78125,361.09955 735.78125,334.46875 L 735.78125,141.75 C 735.78125,115.11921 714.47755,93.84375 687.84375,93.84375 L 495.15625,93.84375 z "
         id="path2373"
         style="fill:url(#linearGradient2395);fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
         inkscape:original="M 495.15625 89.625 C 466.26648 89.625 443 112.86023 443 141.75 L 443 334.46875 C 443 363.35852 466.26647 386.625 495.15625 386.625 L 687.84375 386.625 C 716.73352 386.625 740 363.35853 740 334.46875 L 740 141.75 C 740 112.86023 716.7335 89.625 687.84375 89.625 L 495.15625 89.625 z "
         inkscape:radius="-4.2074337"
         sodipodi:type="inkscape:offset"
         transform="translate(-291.933,627.3998)" />
      <path
         inkscape:export-ydpi="44.099998"
         inkscape:export-xdpi="44.099998"
         inkscape:export-filename="/home/ossman/Desktop/pa4.png"
         style="fill:url(#linearGradient2397);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
         d="M 436.05138,821.4365 C 397.62524,862.62866 358.12861,865.874 299.93097,865.874 C 242.63828,865.874 199.11564,893.22114 163.06701,927.96775 L 163.06701,961.86851 C 163.06701,985.0884 181.12504,1001.9935 203.22326,1001.9935 L 395.91076,1006.0248 C 420.50531,1006.0248 436.03576,986.46307 436.03576,961.86851 L 436.05138,821.4365 z "
         id="path2375"
         sodipodi:nodetypes="cscccccc" />
      <path
         inkscape:export-ydpi="44.099998"
         inkscape:export-xdpi="44.099998"
         inkscape:export-filename="/home/ossman/Desktop/pa4.png"
         sodipodi:type="inkscape:offset"
         inkscape:radius="-8"
         inkscape:original="M 495.15625 89.625 C 466.26648 89.625 443 112.86023 443 141.75 L 443 334.46875 C 443 363.35852 466.26647 386.625 495.15625 386.625 L 687.84375 386.625 C 716.73352 386.625 740 363.35853 740 334.46875 L 740 141.75 C 740 112.86023 716.7335 89.625 687.84375 89.625 L 495.15625 89.625 z "
         style="fill:none;fill-opacity:1;stroke:url(#linearGradient2399);stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
         id="path2377"
         d="M 495.15625,97.625 C 470.55593,97.625 451,117.15545 451,141.75 L 451,334.46875 C 451,359.0633 470.56169,378.625 495.15625,378.625 L 687.84375,378.625 C 712.4383,378.625 732,359.06331 732,334.46875 L 732,141.75 C 732,117.15545 712.44405,97.625 687.84375,97.625 L 495.15625,97.625 z "
         transform="translate(-291.933,627.3998)" />
    </g>
  </g>
</svg>


code:
# Set the below variable to suit your needs.
# Possible values are:
#   personal  Start a personal pulseaudio server per-user (recommended)
#   system    Start a system wide daemon (not yet implemented)
#   none      Don't start pulse
#
# NB For the system wide daemon, users need to be in the group pulse-access.
#
PULSE_SERVER_TYPE=personal

# Set the various arguments to the daemon here
#  This defaults to:
#  --log-target=syslog for "personal"
#PULSE_ARGS=


code:
#!/bin/sh
# to be sourced

case "$SESSION" in
	GNOME|KDE*|xfce4)
		# XDG is supported so we don't need to do anything.
		# as XDG Autostart will "just work"(tm)
		;;
	*)
		/usr/bin/start-pulseaudio-x11
		;;
esac


code:
# Set the below variable to suit your needs.
# Possible values are:
#   personal  Start a personal pulseaudio server per-user (recommended)
#   system    Start a system wide daemon (not yet implemented)
#   none      Don't start pulse
#
# NB For the system wide daemon, users need to be in the group pulse-access.
#
PULSE_SERVER_TYPE=personal

# Set the various arguments to the daemon here
#  This defaults to:
#  --log-target=syslog for "personal"
#PULSE_ARGS=
## Path:	Hardware/Soundcard/PulseAudio
## Description:	PulseAudio configuration
## Type:	list(yes,no,custom)
#
# Enable or disable PulseAudio system. Can be set to "custom" to not have
# scripts automatically change sound-related configuration for PulseAudio.
#
PULSEAUDIO_ENABLE="yes"


code: d /run/pulse 0755 root root


code: d //run/pulse 0755 root root


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pulseaudio</Name>
        <Homepage>http://pulseaudio.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <License>GPLv2</License>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        A networked sound server with an advanced plugin system
        <Description>pulseaudio is a sound server for POSIX and Win32 systems. It allows you to do advanced operations on your sound data as it passes between your application and your hardware.</Description>
             <Archive sha1sum="ab7cc41a2dc2b9da0794e3a51a4eb7e82e7da511" type="tarxz">https://freedesktop.org/software/pulseaudio/releases/pulseaudio-10.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>sbc-devel</Dependency>
            <Dependency>fftw3-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>xcb-proto</Dependency>
            <Dependency>gtk2-devel</Dependency>

            <Dependency>avahi-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libtdb-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>xcb-util-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>libasyncns-devel</Dependency>
            <Dependency>libatomic_ops-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>libcap-devel</Dependency>
            <Dependency>json-c-devel</Dependency>
            <Dependency>bluez</Dependency>
            <Dependency>bluez-libs-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>pulseaudio-libs</Name>
        Libraries for PulseAudio clients
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>json-c</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libtdb</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>eudev</Dependency>

            <Dependency>libtool-ltdl</Dependency>
            <Dependency>orc</Dependency>
            <Dependency>sbc</Dependency>

            <Dependency>fftw3</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libXtst</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>avahi-libs</Dependency>
            <Dependency>libasyncns</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>bluez</Dependency>
            <Dependency>tcp-wrappers</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>lirc</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pa*</Path>
            <Path fileType="config">/etc/pulse/client.conf</Path>
            <Path fileType="library">/usr/lib/libpulse.so</Path>
            <Path fileType="library">/usr/lib/libpulse.so*</Path>
            <Path fileType="library">/usr/lib/libpulse-simple.so</Path>
            <Path fileType="library">/usr/lib/libpulse-simple.so*</Path>
            <Path fileType="library">/usr/lib/pulseaudio/libpulsecommon-*</Path>
            <Path fileType="library">/usr/lib/libpulse-mainloop-glib.so</Path>
            <Path fileType="library">/usr/lib/libpulse-mainloop-glib.so*</Path>
            <Path fileType="library">/usr/lib/pulseaudio/libpulsedsp.*</Path>
	    <Path fileType="library">/usr/lib/pulse/modules</Path>
	    <Path fileType="library">/usr/lib/udev/rules.d</Path>
            <Path fileType="library">/usr/lib/pulseaudio/libpulsecore*.so</Path>
        </Files>
    </Package>

    <Package>
        <Name>pulseaudio-libs-devel</Name>
        Development files for pulseaudio-libs
        <RuntimeDependencies>
            <Dependency release="current">pulseaudio-libs</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/vala/vapi</Path>
            <Path fileType="data">/usr/lib/cmake/PulseAudio</Path>
        </Files>
    </Package>
    <Package>
        <Name>pulseaudio-docs</Name>
        doxygen generated API documentation for PulseAudio
        <Files>
            <Path fileType="doc">/usr/share/doc/pulseaudio/html</Path>
        </Files>
    </Package>

    <Package>
        <Name>pulseaudio</Name>
        <RuntimeDependencies>
            <Dependency>dbus</Dependency>

            <Dependency>libcap</Dependency>
            <Dependency>libtool-ltdl</Dependency>

            <Dependency release="current">pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/pulseaudio</Path>
            <Path fileType="executable">/usr/bin/qpaeq</Path>
            <Path fileType="executable">/usr/bin/start-pulseaudio-kde</Path>
            <Path fileType="executable">/usr/bin/esdcompat</Path>
            <Path fileType="executable">/usr/bin/start-pulseaudio-x11</Path>
            <Path fileType="executable">/usr/lib/pm-utils/sleep.d</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="library">/usr/lib/pulse-5.0/modules</Path>

            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/pulseaudio.conf</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="data">/usr/share/pulseaudio/alsa-mixer</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/var/lib/pulse</Path>
            <Path fileType="data">/run/pulse</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/pulseaudio.conf">pulseaudio.conf</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/pulseaudio">pisilinux/pulseaudio.sysconfig</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/scalable/apps/pulseaudio.svg">mandriva/pulseaudio.svg</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/scalable/devices/audio-backend-pulseaudio.svg">mandriva/pulseaudio.svg</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/16x16/apps/pulseaudio.png">mandriva/pulseaudio16.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/22x22/apps/pulseaudio.png">mandriva/pulseaudio22.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/32x32/apps/pulseaudio.png">mandriva/pulseaudio32.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/48x48/apps/pulseaudio.png">mandriva/pulseaudio48.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/64x64/apps/pulseaudio.png">mandriva/pulseaudio64.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/128x128/apps/pulseaudio.png">mandriva/pulseaudio128.png</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/16x16/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio16.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/22x22/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio22.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/32x32/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio32.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/48x48/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio48.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/64x64/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio64.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/icons/hicolor/128x128/devices/audio-backend-pulseaudio.png">mandriva/pulseaudio128.png</AdditionalFile>
        </AdditionalFiles>
        <Provides>

            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>pulseaudio-libs-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for pulseaudio-libs
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>json-c-32bit</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>speex-32bit</Dependency>
            <Dependency>libcap-32bit</Dependency>
            <Dependency>libsndfile-32bit</Dependency>
            <Dependency>libtool-ltdl-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">pulseaudio-libs</Dependency>
            <Dependency>dbus-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libsndfile-32bit</Dependency>
            <Dependency>json-c-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="8">
            <Date>2017-02-27</Date>
            <Version>10.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2016-09-13</Date>
            <Version>9.0</Version>
            <Comment>Relase Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-09-10</Date>
            <Version>9.0</Version>
            <Comment>Relase Bump-bluez4 disable</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-09-10</Date>
            <Version>9.0</Version>
            <Comment>Relase Bump-jack</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-09-10</Date>
            <Version>9.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Ergün Salman</Name>
            <Email>poyraz76@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>8.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>8.0</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-24</Date>
            <Version>8.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>pulseaudio</Name>
        Gelişmiş eklenti desteğine sahip ağ temelli bir ses sunucusu
        <Description xml:lang="tr">pulseaudio, POSIX ve Win32 sistemler için tasarlanmış, donanım ve uygulamalar arasında gezinen ses verilerinin üzerinde gelişmiş işlemler yapılmasına olanak sağlayan bir ses sunucusudur.</Description>
    </Source>

    <Package>
        <Name>pulseaudio-gconf</Name>
        pulseaudio ses sunucusu için Gconf yapılandırma arayüzü
    </Package>

    <Package>
        <Name>pulseaudio-docs</Name>
        Doxygen tarafından üretilmiş PulseAudio API belgeleri
    </Package>

    <Package>
        <Name>pulseaudio-jack</Name>
        JACK ses arayüzü için PulseAudio modülleri
    </Package>

    <Package>
        <Name>pulseaudio-libs</Name>
        PulseAudio istemci kitaplığı
    </Package>

    <Package>
        <Name>pulseaudio-libs-devel</Name>
        pulseaudio-libs için geliştirme dosyaları
    </Package>

    <Package>
        <Name>pulseaudio-libs-32bit</Name>
        pulseaudio-libs için 32-bit paylaşımlı kitaplıklar
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    pisitools.dosed("src/plugins/Input/cdaudio/decoder_cdaudio.cpp", "cdio\/cdda\.h", r"cdio/paranoia/cdda.h")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_INSTALL_LIBDIR=/usr/lib \
          -DUSE_HAL:BOOL=FALSE")

def build():
    cmaketools.make()

def install():
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog*", "README*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qmmp</Name>
        <Homepage>http://qmmp.ylsoftware.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <Icon>qmmp</Icon>
        <IsA>app:gui</IsA>
        An audio-player, written with Qt5 library
        <Description>Qmmp is an audio-player, written with Qt5 library. It's similar to Winamp or Xmms. Also supports Xmms and Winamp skins. qmmp-skins package in Contrib repository is recommended, too.</Description>
        <Archive sha1sum="cef232071966b833d5a935666837dc9849766fb6" type="tarbz2">http://qmmp.ylsoftware.com/files/qmmp-1.1.8.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>libsamplerate-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>faad2-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
            <Dependency>libmms-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libmpcdec-devel</Dependency>
            <Dependency>libcddb-devel</Dependency>
           <Dependency>cmake</Dependency>
       </BuildDependencies>
       </Source>

    <Package>
        <Name>qmmp</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>qt5-x11extras</Dependency>
            <Dependency>libsamplerate</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>faad2</Dependency>
            <Dependency>libmodplug</Dependency>
            <Dependency>libmms</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libcddb</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>libcdio-paranoia</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
            <Dependency>libmpcdec</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qmmp-devel</Name>
        qmmp development files
        <RuntimeDependencies>
            <Dependency release="current">qmmp</Dependency>
            <Dependency>qt5-base-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-04-24</Date>
            <Version>1.1.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-20</Date>
            <Version>1.0.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.0.9</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-16</Date>
            <Version>1.0.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-19</Date>
            <Version>1.0.1</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>qmmp</Name>
        Qt tabanlı müzik oynatıcı
        <Description xml:lang="tr">Qmmp Qt tabanlı bir müzik oynatıcısıdır. Xmms ve Winamp temalarını destekler. Ayrıca Contrib deposunda bulunan ve Pisi Linux'a özel temalar da içeren qmmp-skins paketini de kurmanız önerilir.</Description>
    </Source>

    <Package>
        <Name>qmmp-devel</Name>
        qmmp için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    kde5.configure()

def build():
    kde5.make()

def install():
    kde5.install()
    pisitools.dodoc("README.txt", "license.txt", "MANUAL")


code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Sayonara
Name[tr]=Sayonara
GenericName=Audio Player
GenericName[tr]=sayonara
Comment=Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
Comment[tr]=Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
Icon=/usr/share/sayonara/sayonara.xpm
Exec=/usr/bin/sayonara
Terminal=false
StartupNotify=true
Categories=Applications;Multimedia;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sayonara</Name>
        <Homepage>http://sayonara-player.com</Homepage>
        <Packager>
            <Name>Pisi Linux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>sayonara</Icon>
        <IsA>app:gui</IsA>
        <Summary>Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.</Summary>
        <Description>Although Sayoanra is considered as a lightweight player, it holds a lot of features to organize even big music collections.</Description>
        <Archive sha1sum="36df8f274c0e528564ffba79fe17c2dc0720d632" type="targz">http://sayonara-player.com/sw/sayonara-player-0.9.2-git11-20161030.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-sql-mysql </Dependency>
            <Dependency>qt5-sql-odbc</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>libnotify-devel</Dependency>
            <Dependency>gst-plugins-bad-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>gst-plugins-ugly-next</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libmtp-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>sayonara</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>gst-plugins-bad</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
            <Dependency>gst-plugins-good-next</Dependency>
            <Dependency>gst-plugins-ugly-next</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libnotify</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libmtp</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="icon">/usr/share/pixmaps</Path>
            <Path fileType="application">/usr/share/applications</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>

        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/sayonara.desktop">sayonara.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/sayonara.png">sayonara.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-04-24</Date>
            <Version>20161030</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-04</Date>
            <Version>20161030</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.9.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-16</Date>
            <Version>0.9.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>0.8.2</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>sayonara</Name>
        <Summary xml:lang="tr">Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.</Summary>
        <Description xml:lang="tr">Although Sayoanra is considered as a lightweight player, it holds a lot of features to organize even big music collections.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "soundtouch"

def setup():
    pisitools.dosed("source/SoundStretch/Makefile.*", "-O3", "")
    shelltools.system("sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac")
    shelltools.system("./bootstrap")
    autotools.configure("--enable-shared \
                         --disable-dependency-tracking \
                         --disable-static \
                         --disable-integer-samples \
                         --with-pic")

    # Avoid rpath
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s pkgdocdir=/usr/share/doc/%s" % (get.installDIR(), get.srcNAME()))

    # Install compat symlinks for pkgconfig files
    pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/soundtouch-1.4.pc")
    pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.0.pc")
    pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.4.pc")

    # Install docs
    pisitools.dodoc("COPYING.TXT", "README.html")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>soundtouch</Name>
        <Homepage>http://www.surina.net/soundtouch</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        Audio Processing Library
        <Description>soundtouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or file.</Description>
        <Archive sha1sum="847be1bc987e410cc7349fdd83f353f4372534d1" type="targz">http://www.surina.net/soundtouch/soundtouch-1.9.2.tar.gz</Archive>
    </Source>

    <Package>
        <Name>soundtouch</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>soundtouch-devel</Name>
        Development files for soundtouch
        <RuntimeDependencies>
            <Dependency release="current">soundtouch</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.9.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.8.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-07-05</Date>
            <Version>1.8.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>soundtouch</Name>
        <Description xml:lang="fr">Librairie de traitement audio open-source (libre) pour changer le Tempo, le Pitch et la vitesse de lecture de flux audio ou de fichiers.</Description>
        <Description xml:lang="es">Librería código libre para procesamiento de sonido para manipular Tempo, Pitch y Tasas de reproducción de flujos o archivos de audio</Description>
        Ses işleme kitaplığı
        <Description xml:lang="tr">soundtouch ses dosyalarının temposunu, oynatma hızını ve frekansını değiştirmek için kullanılabilen açık kaynaklı bir ses işleme kütüphanesidir.</Description>
    </Source>

    <Package>
        <Name>soundtouch-devel</Name>
        soundtouch için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    shelltools.export("CFLAGS", "%s -fsigned-char -D_FILE_OFFSET_BITS=64" % get.CFLAGS())
    autotools.autoreconf("-fi")

    autotools.configure("--disable-static \
                         --with-gsm \
                         --with-dyn-default")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("ChangeLog", "README", "NEWS", "AUTHORS", "COPYING", "LICENSE*")


code:
diff -Naur sox-14.4.2-orig/src/Makefile.am sox-14.4.2/src/Makefile.am
--- sox-14.4.2-orig/src/Makefile.am	2015-04-08 17:11:09.555343005 -0400
+++ sox-14.4.2/src/Makefile.am	2015-04-08 17:11:25.115317153 -0400
@@ -95,7 +95,7 @@

 libsox_la_CFLAGS = @WARN_CFLAGS@
 libsox_la_LDFLAGS = @APP_LDFLAGS@ -version-info @SHLIB_VERSION@ \
-  -export-symbols-regex '^(sox_.*|lsx_(check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
+  -export-symbols-regex '^(sox_.*|lsx_(error|flush|check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'

 if HAVE_WIN32_LTDL
   libsox_la_SOURCES += win32-ltdl.c win32-ltdl.h


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sox</Name>
        <Homepage>http://sox.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        The swiss army knife of sound processing programs
        <Description>SoX is a command line utility that can convert various audio formats to other formats. It can also apply various effects to these sound files during the conversion. SoX can also play and record audio files.</Description>
        <Archive sha1sum="dc9668256b9d81ef25d672f14f12ec026b0b4087" type="tarbz2">mirrors://sourceforge/sox/sox-14.4.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>ladspa-sdk-devel</Dependency>
            <Dependency>libid3tag-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libao-devel</Dependency>
            <Dependency>lame-devel</Dependency>

            <Dependency>gsm-devel</Dependency>
            <Dependency>twolame-devel</Dependency>
            <Dependency>libgomp</Dependency>
        </BuildDependencies>
        <Patches>
           <Patch level="1">sox-dynamic.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>sox</Name>
        <RuntimeDependencies>
            <Dependency>gsm</Dependency>
            <Dependency>file</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>libao</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>twolame</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>sox-devel</Name>
        Development files for sox
        <RuntimeDependencies>
            <Dependency release="current">sox</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>14.4.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>14.4.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-17</Date>
            <Version>14.4.2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>sox</Name>
        Bir çok ses formatını birbirine dönüştürebilen, çalabilen ve kaydedebilen bir yazılım
        <Description xml:lang="tr">SoX çeşitli ses dosyası formatlarını birbirine çevirebilen bir konsol aracıdır. Sox ayrıca bu çevirme esnasında ses dosyalarına çeşitli efektler uygulayabilir. Bunların yanı sıra ses kaydı yapabilir ve ses dosyalarını oynatabilir.</Description>
    </Source>

    <Package>
        <Name>sox-devel</Name>
        sox için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def setup():
    shelltools.system("sed -i 's/cicero //g' configure.ac")
    shelltools.system("sed -i 's/sd_cicero//g' src/modules/Makefile.am")

    autotools.autoreconf("-i")
    autotools.configure("--disable-static \
                         --enable-shared \
                         --without-flite \
                         --with-alsa \
                         --with-espeak \
                         --with-libao \
                         --with-pulse \
                         --with-default-audio-method=alsa")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    # Conflicts with openTTS
    pisitools.remove("/usr/share/info/ssip.info")

    # Set executable bit
    shelltools.chmod("%s/usr/lib/python3.6/site-packages/speechd/_test.py" % get.installDIR(), 0755)

    # Create log directory, it should be world unreadable
    pisitools.dodir("/var/log/speech-dispatcher")
    shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0700)

    pisitools.dodoc("AUTHORS", "COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>speech-dispatcher</Name>
        <Homepage>http://www.freebsoft.org/speechd</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        speech dispatcher: common interface to speech synthesis
        <Description>Speech Dispatcher is a device independent layer for speech synthesis that provides a common easy to use interface for both client applications (programs that want to speak) and for software synthesizers (programs actually able to convert text to speech).</Description>
        <Archive sha1sum="b2aad4b2db502a03ee27039b8229d4ee206b7d8d" type="targz">https://devel.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.8.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>dotconf-devel</Dependency>
            <Dependency>espeak-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>libao-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>speech-dispatcher</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>libao</Dependency>
            <Dependency>espeak</Dependency>
            <Dependency>dotconf</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc/speech-dispatcher</Path>
            <Path fileType="data">/var/log/speech-dispatcher</Path>
            <Path fileType="data">/usr/share/speech-dispatcher</Path>
        </Files>
    </Package>

    <Package>
        <Name>python3-speech-dispatcher</Name>
        Python3 bindings for speech-dispatcher
        <RuntimeDependencies>
            <Dependency release="current">speech-dispatcher</Dependency>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Replaces>
            <Package>python-speech-dispatcher</Package>
        </Replaces>
        <Files>
            <Path fileType="library">/usr/lib/python3.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>speech-dispatcher-devel</Name>
        Development headers for speech-dispatcher
        <RuntimeDependencies>
            <Dependency release="current">speech-dispatcher</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="header">/usr/lib/pkgconfig/</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>0.8.6</Version>
            <Comment>Release bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-12-30</Date>
            <Version>0.8.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.8.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>0.8.3</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>speech-dispatcher</Name>
        Konuşma sentezi ortak arayüzü
        <Description xml:lang="tr">Speech Dispatcher, seslendirme yapılmak istenen veya konuşma sentezi yapan uygulamalar için ortak ve kolay kullanımlı bir arayüz sunan, cihaz-bağımsız bir katmandır.</Description>
    </Source>

    <Package>
        <Name>python-speech-dispatcher</Name>
        speech-dispatcher için Python bağlayıcıları
    </Package>

    <Package>
        <Name>speech-dispatcher-devel</Name>
        speech-dispatcher için geliştirme başlıkları
    </Package>
</PISI>