code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>flite</Name>
        <Homepage>http://www.speech.cs.cmu.edu/flite/index.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        Flite: a small run-time speech synthesis engine
        <Description>Flite (festival-lite) is a small, fast run-time speech synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative synthesis engine to Festival for voices built using the FestVox suite of voice building tools.</Description>
        <Archive sha1sum="aeb4d33de079004c0eb9f9e0fe5bba1e0def75f4" type="tarbz2">http://www.festvox.org/flite/packed/flite-2.0/flite-2.0.0-release.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>chrpath</Dependency>
        </BuildDependencies>
        <Patches>
        </Patches>
    </Source>

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

    <Package>
        <Name>flite-devel</Name>
        Development headers for flite
        <RuntimeDependencies>
            <Dependency release="current">flite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-02-18</Date>
            <Version>2.0.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-29</Date>
            <Version>2.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-08-18</Date>
            <Version>1.9.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-05-27</Date>
            <Version>1.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-24</Date>
            <Version>1.4</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-12</Date>
            <Version>1.4</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>flite</Name>
        Küçük ve hızlı bir konuşma sentezleyici
        <Description xml:lang="tr">Flite (festival-lite), CMU tarafından geliştirilmiş küçük ve hızlı bir konuşma sentezleyicisidir. Flite, Festival'e alternatif sentezleyici olarak, öncelikle küçük gömülü sistemler ve/veya büyük sunucular için tasarlanmıştır.</Description>
    </Source>

    <Package>
        <Name>flite-devel</Name>
        flite için geliştirme başlıkları
    </Package>
</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/copyleft/gpl.txt.

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

shelltools.export("CFLAGS", "%s -lpthread" % get.CFLAGS())

def setup():
    cmaketools.configure("-Denable-ladspa=ON \
                          -DLIB_SUFFIX=\"\"")

def build():
    cmaketools.make()

def install():
    cmaketools.install()

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "THANKS", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>fluidsynth</Name>
        <Homepage>http://fluidsynth.resonance.org/trac</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2+</License>
        <IsA>library</IsA>
        A realtime software synthesizer
        <Description>FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications.</Description>
        <Archive sha1sum="1d45fc3263d85f867efd809bdacb5d6116243c35" type="tarbz2">mirrors://sourceforge/fluidsynth/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>lash-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>ladspa-sdk-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>

    </Source>

    <Package>
        <Name>fluidsynth</Name>
        <RuntimeDependencies>
            <Dependency>lash</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>ladspa-sdk</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.1.6</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>1.1.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-26</Date>
            <Version>1.1.6</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>fluidsynth</Name>
        Gerçek zamanlı bir yazılım birleştirici
        <Description xml:lang="tr">FluidSynth, SoundFort 2 özelliklerine sahip gerçek zamanlı bir yazılım bireştiricidir.</Description>
    </Source>

    <Package>
        <Name>fluidsynth-devel</Name>
        fluidsynth 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.autoreconf("-vfi -I admin/autotools/m4")
    autotools.configure("--disable-static")

def build():
    autotools.make("all")

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

    pisitools.dohtml("doc/*")
    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")


code:
diff -Nur freealut-1.1.0-old/src/Makefile.am freealut-1.1.0/src/Makefile.am
--- freealut-1.1.0-old/src/Makefile.am	2006-11-17 14:08:18.000000000 +0200
+++ freealut-1.1.0/src/Makefile.am	2006-11-17 14:08:21.000000000 +0200
@@ -20,7 +20,7 @@
 	alutWaveform.c

 # We use sin and floor, so we might need -lm, autoconf takes care of this.
-libalut_la_LIBADD = $(LIBM)
+libalut_la_LIBADD = $(LIBM) -lopenal -lpthread

 # The following libtool flag is neccessary for building DLLs on Windows.
 libalut_la_LDFLAGS = -no-undefined


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>freealut</Name>
        <Homepage>http://www.openal.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        The OpenAL Utility Toolkit
        <Description>freealut is a free implementation of OpenAL's ALUT standard.</Description>
        <Archive sha1sum="d6a9406bbe6f7dd2f51db31e804ec5b65dfd4b05" type="targz">http://github.com/vancegroup/freealut/archive/freealut_1_1_0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>openal-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">shared-openal.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>freealut</Name>
        <RuntimeDependencies>
            <Dependency>openal</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/freealut</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="5">
            <Date>2017-02-18</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-07</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild for Pisi Linux 2.0</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-06-08</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-24</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-12</Date>
            <Version>1.1.0</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>freealut</Name>
        Açık ses kütüphanesi Openal aletleri
        Boîte à outils utilitaire d'OpenAL.
        Die OpenAL Werkzeugsammlung
    </Source>

    <Package>
        <Name>freealut-devel</Name>
        freealut 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools

WorkDir="gsm-1.0-pl13"

def setup():
    multilib = " -m32" if get.buildTYPE() == "emul32" else ""
    pisitools.dosed("Makefile", "pardusCC", "%s %s" % (get.CC(), multilib))
    pisitools.dosed("Makefile", "pardusCFLAGS", "%s %s" % (get.CFLAGS(), multilib))

def build():
    autotools.make()

def install():
    if get.buildTYPE() == "emul32":
        autotools.rawInstall("DESTDIR=%s bindir=/emul32 libdir=/usr/lib32" % get.installDIR())
        pisitools.remove("/usr/lib32/libgsm.a")
        return
    else:
        autotools.rawInstall("DESTDIR=%s bindir=/usr/bin" % get.installDIR())

    for bin in ["tcat","untoast"]:
        pisitools.remove("/usr/bin/%s" % bin)
        pisitools.dosym("toast", "/usr/bin/%s" % bin)

    # Move gsm.h out of gsm subdir
    # pisitools.insinto("/usr/include","inc/gsm.h")
    # pisitools.removeDir("/usr/include/gsm")

    # No static libs
    pisitools.remove("/usr/lib/libgsm.a")

    pisitools.dodoc("ChangeLog", "COPYRIGHT", "MACHINES", "MANIFEST", "README")


code:
--- Makefile~	2007-01-16 17:18:52.000000000 +0100
+++ Makefile	2007-01-16 17:28:12.000000000 +0100
@@ -249,6 +249,9 @@
 		$(DESTDIR)$(libdir)/libgsm.a		\
 		$(DESTDIR)$(libdir)/libgsm.so		\
 		$(DESTDIR)$(includedir)/gsm/gsm.h	\
+		$(DESTDIR)$(includedir)/gsm/private.h   \
+		$(DESTDIR)$(includedir)/gsm/unproto.h   \
+		$(DESTDIR)$(includedir)/gsm/proto.h   \
 		$(DESTDIR)$(mandir)/man3/gsm.3		\
 		$(DESTDIR)$(mandir)/man3/gsm_explode.3	\
 		$(DESTDIR)$(mandir)/man3/gsm_option.3	\
@@ -380,6 +383,20 @@
 		-rm $(RMFLAGS) $@
 		-mkdir -p $(DESTDIR)$(includedir)/gsm/
 		install -m0444 $? $@
+$(DESTDIR)$(includedir)/gsm/private.h:      $(INC)/private.h
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(includedir)/gsm/
+		-install -m0444 $? $@
+
+$(DESTDIR)$(includedir)/gsm/proto.h:      $(INC)/proto.h
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(includedir)/gsm/
+		-install -m0444 $? $@
+$(DESTDIR)$(includedir)/gsm/unproto.h:      $(INC)/unproto.h
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(includedir)/gsm/
+		-install -m0444 $? $@
+

 $(DESTDIR)$(libdir)/libgsm.a:	$(LIBGSM)
 		-rm $(RMFLAGS) $@


code:
--- gsm-1.0-pl10/src/code.c.includes	1996-07-02 16:32:36.000000000 +0200
+++ gsm-1.0-pl10/src/code.c	2004-04-14 14:25:50.000000000 +0200
@@ -7,6 +7,7 @@
 /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/code.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */

 #include	"config.h"
+#include <string.h>

 #ifdef	HAS_STDLIB_H
--- gsm-1.0-pl10/src/toast.c.includes	1996-07-02 16:32:55.000000000 +0200
+++ gsm-1.0-pl10/src/toast.c	2004-04-14 14:31:22.000000000 +0200
@@ -6,7 +6,13 @@

 /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast.c,v 1.8 1996/07/02 10:41:04 jutta Exp $ */

+#define _BSD_SOURCE
+#define _GNU_SOURCE
 #include	"toast.h"
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>

 /*  toast -- lossy sound compression using the gsm library.
  */


code:
--- Makefile	1996-07-02 16:36:06.000000000 +0200
+++ Makefile.oden	2004-09-11 17:39:00.308986936 +0200
@@ -30,6 +30,10 @@
 ######### define this, and read about the GSM_OPT_WAV49 option in the
 ######### manual page on gsm_option(3).

+PG =
+#PG = -g -pg
+######### Profiling flags.  If you don't know what that means, leave it blank
+
 # Choose a compiler.  The code works both with ANSI and K&R-C.
 # Use -DNeedFunctionPrototypes to compile with, -UNeedFunctionPrototypes to
 # compile without, function prototypes in the header files.
@@ -44,7 +48,7 @@
 # CCFLAGS 	= -c -O

 CC		= gcc -ansi -pedantic
-CCFLAGS 	= -c -O2 -DNeedFunctionPrototypes=1
+CCFLAGS 	= -c $(RPM_OPT_FLAGS) -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1

 LD 		= $(CC)

@@ -64,43 +68,27 @@
 # LDLIB	= -lgcc
 ######### Additional libraries needed by $(LD)

-
-# Where do you want to install libraries, binaries, a header file
-# and the manual pages?
-#
-# Leave INSTALL_ROOT empty (or just don't execute "make install") to
-# not install gsm and toast outside of this directory.
-
-INSTALL_ROOT	=
-
 # Where do you want to install the gsm library, header file, and manpages?
 #
-# Leave GSM_INSTALL_ROOT empty to not install the GSM library outside of
+# Leave DESTDIR empty to not install the GSM library outside of
 # this directory.

-GSM_INSTALL_ROOT = $(INSTALL_ROOT)
-GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
-GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+DESTDIR =

-
-# Where do you want to install the toast binaries and their manpage?
-#
-# Leave TOAST_INSTALL_ROOT empty to not install the toast binaries outside
-# of this directory.
-
-TOAST_INSTALL_ROOT	  = $(INSTALL_ROOT)
-TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin
-TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1
+prefix = /usr
+libdir = $(prefix)/lib
+includedir = $(prefix)/include
+datadir = $(prefix)/share
+mandir = $(datadir)/man

 #  Other tools

 SHELL		= /bin/sh
-LN		= ln
+LN		= ln -s
 BASENAME 	= basename
 AR		= ar
 ARFLAGS		= cr
-RMFLAGS		=
+RMFLAGS		= -f
 FIND		= find
 COMPRESS 	= compress
 COMPRESSFLAGS 	=
@@ -129,17 +117,18 @@
 # DEBUG	= -DNDEBUG
 ######### Remove -DNDEBUG to enable assertions.

-CFLAGS	= $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+CFLAGS	= $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
 	$(WAV49) $(CCINC) -I$(INC)
 ######### It's $(CC) $(CFLAGS)

-LFLAGS	= $(LDFLAGS) $(LDINC)
+LFLAGS	= $(PG) $(LDFLAGS) $(LDINC)
 ######### It's $(LD) $(LFLAGS)

 # Targets

 LIBGSM	= $(LIB)/libgsm.a
+LIBGSMSO = $(LIB)/libgsm.so

 TOAST	= $(BIN)/toast
 UNTOAST	= $(BIN)/untoast
@@ -257,18 +246,19 @@
 # Install targets

 GSM_INSTALL_TARGETS =	\
-		$(GSM_INSTALL_LIB)/libgsm.a		\
-		$(GSM_INSTALL_INC)/gsm.h		\
-		$(GSM_INSTALL_MAN)/gsm.3		\
-		$(GSM_INSTALL_MAN)/gsm_explode.3	\
-		$(GSM_INSTALL_MAN)/gsm_option.3		\
-		$(GSM_INSTALL_MAN)/gsm_print.3
+		$(DESTDIR)$(libdir)/libgsm.a		\
+		$(DESTDIR)$(libdir)/libgsm.so		\
+		$(DESTDIR)$(includedir)/gsm/gsm.h	\
+		$(DESTDIR)$(mandir)/man3/gsm.3		\
+		$(DESTDIR)$(mandir)/man3/gsm_explode.3	\
+		$(DESTDIR)$(mandir)/man3/gsm_option.3	\
+		$(DESTDIR)$(mandir)/man3/gsm_print.3

 TOAST_INSTALL_TARGETS =	\
-		$(TOAST_INSTALL_BIN)/toast		\
-		$(TOAST_INSTALL_BIN)/tcat		\
-		$(TOAST_INSTALL_BIN)/untoast		\
-		$(TOAST_INSTALL_MAN)/toast.1
+		$(DESTDIR)$(bindir)/toast		\
+		$(DESTDIR)$(bindir)/tcat		\
+		$(DESTDIR)$(bindir)/untoast		\
+		$(DESTDIR)$(mandir)/man1/toast.1

 # Default rules
@@ -279,7 +269,7 @@

 # Target rules

-all:		$(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
+all:		$(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
 		@-echo $(ROOT): Done.

 tst:		$(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
@@ -299,24 +289,28 @@

 # The basic API: libgsm

+$(LIBGSMSO): $(LIB) $(GSM_OBJECTS)
+			$(LD) -o $@.1.0.10 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(GSM_OBJECTS) -lc
+			ln -fs libgsm.so.1.0.10 lib/libgsm.so.1
+			ln -fs libgsm.so.1.0.10 lib/libgsm.so
+
 $(LIBGSM):	$(LIB) $(GSM_OBJECTS)
 		-rm $(RMFLAGS) $(LIBGSM)
 		$(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
 		$(RANLIB) $(LIBGSM)

-
 # Toast, Untoast and Tcat -- the compress-like frontends to gsm.

-$(TOAST):	$(BIN) $(TOAST_OBJECTS) $(LIBGSM)
-		$(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
+$(TOAST):	$(BIN) $(TOAST_OBJECTS) $(LIBGSMSO)
+		$(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)

 $(UNTOAST):	$(BIN) $(TOAST)
 		-rm $(RMFLAGS) $(UNTOAST)
-		$(LN) $(TOAST) $(UNTOAST)
+		$(LN) toast $(UNTOAST)

 $(TCAT):	$(BIN) $(TOAST)
 		-rm $(RMFLAGS) $(TCAT)
-		$(LN) $(TOAST) $(TCAT)
+		$(LN) toast $(TCAT)

 # The local bin and lib directories
@@ -331,72 +325,71 @@
 # Installation

 gsminstall:
-		-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then	\
-			make $(GSM_INSTALL_TARGETS) ;	\
-		fi
+		make $(GSM_INSTALL_TARGETS)

 toastinstall:
-		-if [ x"$(TOAST_INSTALL_ROOT)" != x ]; then	\
-			make $(TOAST_INSTALL_TARGETS);	\
-		fi
+		make $(TOAST_INSTALL_TARGETS)

 gsmuninstall:
-		-if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then	\
-			rm $(RMFLAGS) $(GSM_INSTALL_TARGETS) ;	\
-		fi
+		rm $(RMFLAGS) $(GSM_INSTALL_TARGETS)

 toastuninstall:
-		-if [ x"$(TOAST_INSTALL_ROOT)" != x ] ; then 	\
-			rm $(RMFLAGS) $(TOAST_INSTALL_TARGETS);	\
-		fi
-
-$(TOAST_INSTALL_BIN)/toast:	$(TOAST)
-		-rm $@
-		cp $(TOAST) $@
-		chmod 755 $@
-
-$(TOAST_INSTALL_BIN)/untoast:	$(TOAST_INSTALL_BIN)/toast
-		-rm $@
-		ln $? $@
-
-$(TOAST_INSTALL_BIN)/tcat:	$(TOAST_INSTALL_BIN)/toast
-		-rm $@
-		ln $? $@
-
-$(TOAST_INSTALL_MAN)/toast.1:	$(MAN)/toast.1
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm.3:	$(MAN)/gsm.3
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_option.3:	$(MAN)/gsm_option.3
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_explode.3:	$(MAN)/gsm_explode.3
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_print.3:	$(MAN)/gsm_print.3
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_INC)/gsm.h:	$(INC)/gsm.h
-		-rm $@
-		cp $? $@
-		chmod 444 $@
-
-$(GSM_INSTALL_LIB)/libgsm.a:	$(LIBGSM)
-		-rm $@
-		cp $? $@
-		chmod 444 $@
+		rm $(RMFLAGS) $(TOAST_INSTALL_TARGETS)
+
+$(DESTDIR)$(bindir)/toast:	$(TOAST)
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(bindir)
+		install -m0755 $(TOAST) $@
+
+$(DESTDIR)$(bindir)/untoast:	$(DESTDIR)$(bindir)/toast
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(bindir)
+		ln -sf $(TOAST) $@
+
+$(DESTDIR)$(bindir)/tcat:	$(DESTDIR)$(bindir)/toast
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(bindir)
+		ln -sf $(TOAST) $@
+
+$(DESTDIR)$(mandir)/man1/toast.1:	$(MAN)/toast.1
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(mandir)/man1/
+		install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm.3:	$(MAN)/gsm.3
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(mandir)/man3/
+		install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_option.3:	$(MAN)/gsm_option.3
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(mandir)/man3/
+		install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_explode.3:	$(MAN)/gsm_explode.3
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(mandir)/man3/
+		install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_print.3:	$(MAN)/gsm_print.3
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(mandir)/man3/
+		install -m0444 $? $@
+
+$(DESTDIR)$(includedir)/gsm/gsm.h:	$(INC)/gsm.h
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(includedir)/gsm/
+		install -m0444 $? $@
+
+$(DESTDIR)$(libdir)/libgsm.a:	$(LIBGSM)
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(libdir)
+		install -m0444 $? $@
+
+$(DESTDIR)$(libdir)/libgsm.so:	$(LIBGSMSO)
+		-rm $(RMFLAGS) $@
+		-mkdir -p $(DESTDIR)$(libdir)
+		cp -av $?* $(DESTDIR)$(libdir)/

 # Distribution


code:
--- libgsm-1.0.10.orig/inc/toast.h
+++ libgsm-1.0.10/inc/toast.h
@@ -16,6 +16,7 @@

 #include <stdio.h>
 #include <ctype.h>
+#include <pthread.h>
 #include <signal.h>

 #include <errno.h>


code:
diff -ur gsm-1.0-pl12.orig/inc/private.h gsm-1.0-pl12/inc/private.h
--- gsm-1.0-pl12.orig/inc/private.h	2006-04-26 22:17:01.000000000 +0300
+++ gsm-1.0-pl12/inc/private.h	2007-08-19 12:23:02.000000000 +0300
@@ -10,10 +10,10 @@
 #define	PRIVATE_H

 typedef short			word;		/* 16 bit signed int	*/
-typedef long			longword;	/* 32 bit signed int	*/
+typedef int			longword;	/* 32 bit signed int	*/

 typedef unsigned short		uword;		/* unsigned word	*/
-typedef unsigned long		ulongword;	/* unsigned longword	*/
+typedef unsigned int		ulongword;	/* unsigned longword	*/

 struct gsm_state {


code:
diff -Nur gsm-1.0-pl13-old/Makefile gsm-1.0-pl13/Makefile
--- gsm-1.0-pl13-old/Makefile	2010-02-15 15:25:07.747416137 +0200
+++ gsm-1.0-pl13/Makefile	2010-02-15 15:26:45.211541984 +0200
@@ -47,8 +47,8 @@
 # CC		= /usr/lang/acc
 # CCFLAGS 	= -c -O

-CC		= gcc -ansi -pedantic
-CCFLAGS 	= -c $(RPM_OPT_FLAGS) -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1
+CC		= pardusCC -ansi -pedantic
+CCFLAGS 	= -c pardusCFLAGS -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1

 LD 		= $(CC)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gsm</Name>
        <Homepage>http://kbs.cs.tu-berlin.de/~jutta/toast.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>OSI-Approved</License>
        <IsA>library</IsA>
        Lossy speech compression library and tool
        <Description>Gsm is an implementation of the final draft GSM 06.10 standard for full-rate speech transcoding</Description>
        <Archive sha1sum="668b0a180039a50d379b3d5a22e78da4b1d90afc" type="targz">https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/osxwinebuilder/gsm-1.0.13.tar.gz</Archive>
        <Patches>
            <Patch level="1">gsm-1.0.10-dyn.patch</Patch>
            <Patch level="1">gsm-1.0-pl10-includes.patch</Patch>
            <Patch>gsm-1.0-pl10-shared.diff</Patch>
            <Patch>gsm-1.0-pl10-add-includefile.patch</Patch>
            <Patch level="1">pardusflags.patch</Patch>
            <Patch level="1">gsm-1.0.12-64bit.patch</Patch>
        </Patches>
    </Source>

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

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

            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <Package>
        <Name>gsm-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for gsm
        <BuildType>emul32</BuildType>
        <BuildDependencies>

        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">gsm</Dependency>

        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>1.0.13</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.0.13</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-14</Date>
            <Version>1.0.13</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gsm</Name>
        Kayıplı ses sıkıştırması kitaplığı ve araçları
        <Description xml:lang="tr">GSM, tam oranlı konuşma kod çevrimi için GSM 06.10 standardı son taslak uyarlamasıdır</Description>
        <Description xml:lang="fr">Gsm est une implémentation du brouillon final du standard GSM 06.10 pour un transcodage audio à plein régime.</Description>
        <Description xml:lang="es">Gsm es una implementación del estándar GSM 06.10 final draft de codificación de voz full-rate</Description>
    </Source>

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

    <Package>
        <Name>gsm-32bit</Name>
        gsm 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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
import os

del(os.environ["JOBS"])

def setup():
    shelltools.system("./waf configure \
                        --prefix=/usr \
                        --libdir=/usr/lib \
                        --firewire \
                        --alsa ")

def build():
    shelltools.system("./waf build -v")

def install():
    shelltools.system("./waf --destdir=%s install" % get.installDIR())

    # be compatible with the former jackaudio
    pisitools.rename("/usr/bin/jack_rec", "jackrec")

    shelltools.chmod("%s/usr/lib/jack/*.so*" % get.installDIR(), 0755)

    pisitools.dodoc("ChangeLog", "README*", "TODO")


code:
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"


code:
@audio 	- rtprio 	99
@audio 	- memlock 	unlimited


code:
# Default limits for users of jack-audio-connection-kit

@jackuser - rtprio 20
@jackuser - memlock 4194304

@pulse-rt - rtprio 20
@pulse-rt - nice -20


code:
From ff1ed2c4524095055140370c1008a2d9cccc5645 Mon Sep 17 00:00:00 2001
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Date: Sat, 11 Jun 2016 05:35:07 +0200
Subject: [PATCH] Fix initialization in test/iodelay.cpp

jack_latency_range_t is

struct _jack_latency_range {
    jack_nframes_t min;
    jack_nframes_t max;
};

and jack_nframes_t is

typedef uint32_t        jack_nframes_t;

so it's unsigned. Initialising it with -1 is invalid (at least in C++14). We cannot use {0, 0}, because latency_cb has

   jack_latency_range_t range;
   range.min = range.max = 0;
   if ((range.min != capture_latency.min) || (range.max !=
       capture_latency.max)) {
       capture_latency = range;
   }

so we must not have {0, 0}, otherwise the condition would never be true.

Using UINT32_MAX should be equivalent to the previous -1.
---
 tests/iodelay.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/iodelay.cpp b/tests/iodelay.cpp
index e1ba63f..1ef470f 100644
--- a/tests/iodelay.cpp
+++ b/tests/iodelay.cpp
@@ -20,6 +20,7 @@

 #include <stdlib.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <math.h>
 #include <unistd.h>
 #include <jack/jack.h>
@@ -167,8 +168,8 @@ static jack_client_t  *jack_handle;
 static jack_port_t    *jack_capt;
 static jack_port_t    *jack_play;

-jack_latency_range_t   capture_latency = {-1, -1};
-jack_latency_range_t   playback_latency = {-1, -1};
+jack_latency_range_t   capture_latency = {UINT32_MAX, UINT32_MAX};
+jack_latency_range_t   playback_latency = {UINT32_MAX, UINT32_MAX};

 void
 latency_cb (jack_latency_callback_mode_t mode, void *arg)
@@ -266,4 +267,4 @@ int main (int ac, char *av [])
     return 0;
 }

-// --------------------------------------------------------------------------------
\ No newline at end of file
+// --------------------------------------------------------------------------------


code:
diff --git a/common/jack/types.h b/common/jack/types.h
index 094d407..2dccf34 100644
--- a/common/jack/types.h
+++ b/common/jack/types.h
@@ -403,10 +403,8 @@ typedef void (*JackPortConnectCallback)(jack_port_id_t a, jack_port_id_t b, int
  * @param port the port that has been renamed
  * @param new_name the new name
  * @param arg pointer to a client supplied structure
- *
- * @return zero on success, non-zero on error
  */
-typedef int (*JackPortRenameCallback)(jack_port_id_t port, const char* old_name, const char* new_name, void *arg);
+typedef void (*JackPortRenameCallback)(jack_port_id_t port, const char* old_name, const char* new_name, void *arg);

 /**
  * Prototype for the client supplied function that is called
diff --git a/tests/test.cpp b/tests/test.cpp
index 750d152..8a8a811 100644
--- a/tests/test.cpp
+++ b/tests/test.cpp
@@ -186,11 +186,10 @@ void Jack_Client_Registration_Callback(const char* name, int val, void *arg)
 		client_register--;
 }

-int Jack_Port_Rename_Callback(jack_port_id_t port, const char* old_name, const char* new_name, void *arg)
+void Jack_Port_Rename_Callback(jack_port_id_t port, const char* old_name, const char* new_name, void *arg)
 {
      Log("Rename callback has been successfully called with old_name '%s' and new_name '%s'. (msg from callback)\n", old_name, new_name);
      port_rename_clbk = 1;
-     return 0;
 }

 int Jack_Update_Buffer_Size(jack_nframes_t nframes, void *arg)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>jack-audio-connection-kit</Name>
        <Homepage>http://jackaudio.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>service</IsA>
        A low-latency audio server
        <Description>JACK is a low-latency audio server written for POSIX conformant operating systems. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.</Description>
        <Archive sha1sum="0f648b8b03537991c095591a43d7eb21f0f29000" type="targz">https://github.com/jackaudio/jack2/archive/v1.9.10.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libsamplerate-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libffado-devel</Dependency>
            <Dependency>celt-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>eigen3</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>readline-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">gcc6.patch</Patch>
            <Patch level="1">jack1compat.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>jack-audio-connection-kit</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libsamplerate</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>libffado</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>celt</Dependency>
            <Dependency>libopus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/security</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/jack-audio-connection-kit</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-jack.conf">99-jack.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/udev/rules.d/40-hpet-permissions.rules">40-hpet-permissions.rules</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-audio.conf">99-audio.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>jack-audio-connection-kit-devel</Name>
        Development files for jack-audio-connection-kit
        <RuntimeDependencies>
            <Dependency release="current">jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>jack-audio-connection-kit-docs</Name>
        Help files and API documents for jack-audio-connection-kit
        <RuntimeDependencies>
            <Dependency release="current">jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/jack-audio-connection-kit/reference</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.9.10</Version>
            <Comment>Rebuild for new toolchain, patch.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.9.10</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-24</Date>
            <Version>1.9.10</Version>
            <Comment>First release</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>jack-audio-connection-kit</Name>
        Düşük gecikmeli bir ses sunucu
        <Description xml:lang="tr">GNU/Linux gibi POSIX uyumlu işletim sistemleri için yazılmış, düşük gecikmeli bir ses sunucudur. Bir çok sayıdaki uygulamayı bir ses aygıtına bağlayıp aralarında ses alışverişi yapmaya olanak sağlamaktadır.</Description>
    </Source>

    <Package>
        <Name>jack-audio-connection-kit-devel</Name>
        jack-audio-connection-kit için geliştirme dosyaları
    </Package>

    <Package>
        <Name>jack-audio-connection-kit-docs</Name>
        jack-audio-connection-kit için yardım dosyaları ve API belgeleri
    </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 pisitools
from pisi.actionsapi import qt5

def setup():
    qt5.configure()

def build():
    qt5.make()

def install():
    qt5.install()

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


code:
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=knowthelist
Name[en]=knowthelist
GenericName=knowthelist
GenericName[en]=knowthelist
Comment=Knowthelist the awesome party music player
Comment[en]=Knowthelist the awesome party music player
Icon=knowthelist.png
Exec=knowthelist
Terminal=false
StartupNotify=false
Categories=Application;Multimedia;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>knowthelist</Name>
        <Homepage>http://qt-apps.org/content/show.php/Knowthelist?content=165335</Homepage>
        <Packager>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>LGPLv3</License>
        <Icon>knowthelist</Icon>
        <IsA>app:gui</IsA>
        <Summary>Knowthelist the awesome party music player</Summary>
        <Description>Quick search for tracks in collection, Two players with separate playlists Mixer with fader, 3 channel EQ and gain, Auto fader and auto gain, Trackanalyser search for song start/end and gain setting, Auto DJ function with multiple filters for random play, Monitor player for pre listen tracks (via 2nd sound card e.g. USB)</Description>
        <Archive sha1sum="edc26c5d8ca52e27c46587e2b2dcf444ac8bc1c0" type="targz">https://github.com/knowthelist/knowthelist/archive/v2.3.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-xmlpatterns-devel</Dependency>
            <Dependency>qt5-sql-mysql</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gst-plugins-bad-next-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>knowthelist</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="application">/usr/share/applications</Path>
            <Path fileType="icon">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-29</Date>
            <Version>2.3.0</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.3.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-11</Date>
            <Version>2.3.0</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>knowthelist</Name>
        <Summary xml:lang="tr">Knowthelist the awesome party music player</Summary>
        <Description xml:lang="tr">Quick search for tracks in collection, Two players with separate playlists Mixer with fader, 3 channel EQ and gain, Auto fader and auto gain, Trackanalyser search for song start/end and gain setting, Auto DJ function with multiple filters for random play, Monitor player for pre listen tracks (via 2nd sound card e.g. USB)</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 libtools
from pisi.actionsapi import get

def setup():
    autotools.configure("--prefix=/usr \
                         --enable-nasm \
                         --enable-shared \
                         --enable-mp3rtp \
                         --disable-static \
                         ")

def build():
    autotools.make()

def install():
    autotools.rawInstall('DESTDIR="%s" pkghtmldir="/%s/%s/html"' % (get.installDIR(), get.docDIR(), get.srcNAME()))

    pisitools.dodoc("API", "ChangeLog", "HACKING", "README*", "STYLEGUIDE", "TODO", "USAGE")
    pisitools.dohtml("misc/*", "Dll/*")
    pisitools.dobin("misc/mlame")

    pisitools.remove("/usr/lib/libmp3lame.so")
    pisitools.remove("/usr/lib/libmp3lame.so.0")

    pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so")
    pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so.0")


code:
diff -Nur lame-398-2-old/configure.in lame-398-2/configure.in
--- lame-398-2-old/configure.in	2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/configure.in	2009-04-23 02:15:06.000000000 +0300
@@ -385,7 +385,7 @@

 dnl configure use of features

-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
+HAVE_GTK=no

 dnl ElectricFence malloc debugging
 AC_MSG_CHECKING(use of ElectricFence malloc debugging)
diff -Nur lame-398-2-old/frontend/Makefile.am lame-398-2/frontend/Makefile.am
--- lame-398-2-old/frontend/Makefile.am	2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/frontend/Makefile.am	2009-04-23 02:14:07.000000000 +0300
@@ -51,7 +51,7 @@
 mp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c $(common_sources)
 endif

-CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
+CFLAGS = @CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
 LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@

 INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lame</Name>
        <Homepage>http://lame.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>
        A free MP3 encoder/decoder
        <Description>LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL.</Description>
        <Archive sha1sum="03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4" type="targz">mirrors://sourceforge/lame/lame-3.99.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>ncurses-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>lame</Name>
        <RuntimeDependencies>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>lame-docs</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>3.99.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.99.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-14</Date>
            <Version>3.99.5</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>lame</Name>
        MP3 ses çözümleme kütüphanesi
        <Description xml:lang="tr">Lame, Kısıtlı Genel Kamu lisansı altında lisanslanmış MPEG III(MP3) kod çözücüsüdür.</Description>
    </Source>

    <Package>
        <Name>lame-devel</Name>
        lame 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "lash-0.6.0.594"

def setup():
    shelltools.export("CFLAGS", "%s -D_GNU_SOURCE -ldl -ldm -lm -lreadline" % get.CFLAGS())

    autotools.autoreconf("-fi")

    autotools.configure("--with-python")

    #fix unused direct deps.
    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "")
    pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")

    autotools.make()

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

    shelltools.chmod("%s/usr/lib/%s/site-packages/lash.py" % (get.installDIR(), get.curPYTHON()), 0644)

    for s in ("16", "24", "48", "96"):
        pisitools.dodir("/usr/share/icons/hicolor/%sx%s/apps" % (s, s))
        pisitools.domove("usr/share/lash/icons/lash_%spx.png" % s, "/usr/share/icons/hicolor/%sx%s/apps" % (s, s), "lash.png")

    pisitools.domove("usr/share/lash/icons/lash.svg", "/usr/share/icons/hicolor/scalable/apps")

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


code:
--- docs/Makefile.am.orig	2006-10-05 10:28:28.000000000 +0200
+++ docs/Makefile.am		2012-07-03 09:59:46.000000000 +0200
@@ -18,9 +18,9 @@
 	  mkdir -lash-manual-html-split; \
 	fi
 	cd lash-manual-html-one-page && \
-	  texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
+	  texi2html ../$(top_srcdir)/docs/lash-manual.texi
 	cd lash-manual-html-split && \
-	  texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+	  texi2html --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
 	touch html-manual-stamp

 CLEANFILES = html-manual-stamp lash-manual.cps


code:
[Desktop Entry]
Name=LASH Panel
GenericName=LASH Control Panel
GenericName[tr]=LASH Kontrol Paneli
Comment=LASH Control Panel
Comment[tr]=LASH Kontrol Paneli
Categories=Application;AudioVideo;
Icon=lash.png
Exec=/usr/bin/lash_panel
Terminal=false
Type=Application


code:
--- docs/Makefile.in.orig	2008-11-09 22:45:28.000000000 +0100
+++ docs/Makefile.in	2011-07-23 17:12:26.000000000 +0200
@@ -527,9 +527,9 @@
 @HAVE_TEXI2HTML_TRUE@	  mkdir -lash-manual-html-split; \
 @HAVE_TEXI2HTML_TRUE@	fi
 @HAVE_TEXI2HTML_TRUE@	cd lash-manual-html-one-page && \
-@HAVE_TEXI2HTML_TRUE@	  texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
+@HAVE_TEXI2HTML_TRUE@	  texi2html --number-footnotes --number-sections ../$(top_srcdir)/docs/lash-manual.texi
 @HAVE_TEXI2HTML_TRUE@	cd lash-manual-html-split && \
-@HAVE_TEXI2HTML_TRUE@	  texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+@HAVE_TEXI2HTML_TRUE@	  texi2html --number-footnotes --number-sections --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
 @HAVE_TEXI2HTML_TRUE@	touch html-manual-stamp
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>lash</Name>
        <Homepage>http://savannah.nongnu.org/projects/lash</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <Icon>lash</Icon>
        <IsA>library</IsA>
        <IsA>app:gui</IsA>
        LASH Audio Session Handler
        <Description>LASH is a session management system for JACK and ALSA audio applications on GNU/Linux. It allows you to save and restore audio sessions consisting of multiple interconneced applications, restoring program state (i.e. loaded patches) and the connections between them.</Description>
        <Archive sha1sum="b683424683c41c082ebcf58ed38cd2f34f9ed5e5" type="tarbz2">http://download.savannah.gnu.org/releases/lash/lash-0.6.0~rc2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>dmapi-devel</Dependency>
            <Dependency>texi2html</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">makefile.patch</Patch>
            <Patch level="0">docs-Makefile.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>lash</Name>
        <RuntimeDependencies>
            <Dependency>gtk2</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>dmapi</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libutil-linux</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/usr/share/applications/lash-panel.desktop" permission="0644" owner="root">lash-panel.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>lash-devel</Name>
        Development files for lash
        <RuntimeDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency release="current">lash</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>0.6.0_rc2</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>0.6.0_rc2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-01</Date>
            <Version>0.6.0_rc2</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>lash</Name>
        LASH Ses Oturum Yöneticisi
        <Description xml:lang="tr">LASH GNU/Linux'taki JACK ve ALSA ses uygulamaları için bir ses oturumu yönetim sistemidir. Bir çok birbirine bağlı uygulamanın ses oturumunu kaydedip, geri yüklemenize, program durumunu (örneğin yüklenmiş yamalar) ve aralarındaki bağlantıları geri yüklemenize olanak tanır.</Description>
    </Source>

    <Package>
        <Name>lash-devel</Name>
        lash 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import libtools
from pisi.actionsapi import get

def setup():
    autotools.autoreconf("-vfi")
    # libtools.libtoolize("--force --install")
    autotools.configure("--disable-dependency-tracking \
                         --enable-alsa \
                         --enable-alsa-mmap \
                         --enable-pulse \
                         --disable-arts \
                         --disable-esd \
                         --disable-nas \
                         --enable-shared \
                         --disable-static")

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

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.removeDir("/usr/share/doc")

    pisitools.dohtml("doc/*")
    pisitools.dodoc("AUTHORS", "CHANGES", "README", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libao</Name>
        <Homepage>http://www.xiph.org/ao/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        The audio output library
        <Description>Libao is a cross platform audio output library. It currently supports ESD, OSS, Solaris, and IRIX.</Description>
        <Archive sha1sum="6b1d2c6a2e388e3bb6ebea158d51afef18aacc56" type="targz">http://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>

    </Source>

    <Package>
        <Name>libao</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>1.2.0</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>1.2.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-26</Date>
            <Version>1.2.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libao</Name>
        Ses çıktısı kütüphanesi
        La librairie de rendu (sortie) audio.
    </Source>

    <Package>
        <Name>libao-devel</Name>
        libao 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():
    autotools.autoreconf("-fi")
    autotools.configure("--disable-oss \
                         --disable-lynx \
                         --disable-gtk-doc \
                         --disable-schemas-install \
                         --enable-gstreamer \
                         --enable-gtk3 \
                         --enable-pulse \
                         --enable-alsa \
                         --enable-null \
                         --enable-tdb \
                         --with-builtin=dso \
                         --disable-static")

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

def build():
    autotools.make()

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

    #pisitools.remove("/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so")
    pisitools.removeDir("/usr/share/gtk-doc")

    pisitools.dodoc("LGPL", "README")


code:
Index: libcanberra-0.12/acinclude.m4
===================================================================
--- libcanberra-0.12.orig/acinclude.m4
+++ libcanberra-0.12/acinclude.m4
@@ -112,7 +112,7 @@ acx_pthread_flags="pthreads none -Kthrea
 # pthread-config: use pthread-config program (for GNU Pth library)

 case "${host_cpu}-${host_os}" in
-        *solaris*)
+        *solaris*|*linux*)

         # On Solaris (at least, for some versions), libc contains stubbed
         # (non-functional) versions of the pthreads routines, so link-based


code:
Index: libcanberra-0.12/src/Makefile.am
===================================================================
--- libcanberra-0.12.orig/src/Makefile.am
+++ libcanberra-0.12/src/Makefile.am
@@ -58,7 +58,8 @@ libcanberra_la_CFLAGS = \
 	$(AM_CFLAGS) \
 	$(VORBIS_CFLAGS)
 libcanberra_la_LIBADD = \
-	$(VORBIS_LIBS)
+	$(VORBIS_LIBS) \
+	$(PTHREAD_LIBS)
 libcanberra_la_LDFLAGS = \
 	-export-dynamic \
 	-version-info $(LIBCANBERRA_VERSION_INFO)
@@ -290,6 +291,7 @@ libcanberra_gtk_la_CFLAGS = \
 	$(GTK_CFLAGS)
 libcanberra_gtk_la_LIBADD = \
 	$(GTK_LIBS) \
+	-lX11 \
 	libcanberra.la
 libcanberra_gtk_la_LDFLAGS = \
 	-export-dynamic -version-info $(LIBCANBERRA_GTK_VERSION_INFO)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcanberra</Name>
        <Homepage>http://0pointer.de/lennart/projects/libcanberra/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        A library for generating event sounds on free desktops
        <Description>libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable.</Description>
        <Archive sha1sum="fd4c16e341ffc456d688ed3462930d17ca6f6c20" type="tarxz">http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>

            <Dependency>glib2-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>at-spi2-core-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libtdb-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">fix-pthread.patch</Patch>
            <Patch level="1">fix-underlinking.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libcanberra</Name>
        <RuntimeDependencies>
            <Dependency>libtdb</Dependency>
            <Dependency>libtool-ltdl</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gstreamer-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/gdm</Path>
            <Path fileType="data">/usr/share/gnome/</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libcanberra-gtk</Name>
        GTK+ convenience API and utilities for libcanberra
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-2*</Path>
            <Path fileType="library">/usr/lib/libcanberra-gtk.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcanberra-gtk-devel</Name>
        Development files for libcanberra-gtk
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency release="current">libcanberra-gtk</Dependency>
            <Dependency release="current">libcanberra-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/canberra-gtk.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk.pc</Path>
            <Path fileType="data">/usr/share/vala/vapi/libcanberra-gtk.vapi</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcanberra-gtk3</Name>
        GTK+ convenience API and utilities for libcanberra
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency release="current">libcanberra</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gtk-3*</Path>
            <Path fileType="library">/usr/lib/libcanberra-gtk3*</Path>
            <Path fileType="doc">/usr/share/doc/libcanberra-gtk3</Path>
            <Path fileType="executable">/usr/bin/canberra-boot</Path>
            <Path fileType="executable">/usr/bin/canberra-gtk-play</Path>
        </Files>
    </Package>

     <Package>
        <Name>libcanberra-gtk3-devel</Name>
        Development files for libcanberra-gt3k
        <RuntimeDependencies>
            <Dependency release="current">libcanberra</Dependency>
            <Dependency release="current">libcanberra-devel</Dependency>
            <Dependency release="current">libcanberra-gtk3</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig/libcanberra-gtk3.pc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>0.30</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.30</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.30</Version>
            <Comment>Fix</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-08</Date>
            <Version>0.30</Version>
            <Comment>First release</Comment>
            <Name>Varol Maksutoğlu</Name>
            <Email>waroi@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libcanberra</Name>
        Masaüstü üzerinde bildirim sesleri üretmek için kütüphane
        <Description xml:lang="tr">libcanberra, çeşitli arka uç (ALSA, PulseAudio, GStreamer, null) destekleri olan, XDG Ses Teması ve İsimlendirme standartlarına uygun, bildirim sesi çalma kütüphanesidir.</Description>
    </Source>

    <Package>
        <Name>libcanberra-gtk</Name>
        GTK+ için libcanberra araçları ve programlama kitaplığı
    </Package>

    <Package>
        <Name>libcanberra-devel</Name>
        libcanberra 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "libcdaudio-%sp2" % get.srcVERSION()

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
--- src/cddb.c~	2004-04-04 00:40:37.000000000 +0200
+++ src/cddb.c	2005-06-24 15:50:55.160952588 +0200
@@ -472,8 +472,11 @@

   snprintf(inbuffer, 108, "%s/.cdserverrc", getenv("HOME"));
   if(stat(inbuffer, &st) < 0) {
-    free(inbuffer);
-    return 0;
+    strcpy(inbuffer, "/etc/cdserver");
+    if(stat(inbuffer, &st) < 0) {
+      free(inbuffer);
+      return 0;
+    }
   }

   if((cddbconf = fopen(inbuffer, "r")) == NULL) {


code:
diff -Nur libcdaudio-0.99.12p2/src/cddb.c libcdaudio-0.99.12p2-new/src/cddb.c
--- libcdaudio-0.99.12p2/src/cddb.c	2004-09-09 04:26:39.000000000 +0300
+++ libcdaudio-0.99.12p2-new/src/cddb.c	2008-11-06 15:47:58.000000000 +0200
@@ -1679,7 +1679,7 @@
       free(file);

       while(!feof(cddb_data)) {
-	fgets(inbuffer, 512, cddb_data);
+	fgets(inbuffer, 256, cddb_data);
 	cddb_process_line(inbuffer, data);
       }


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcdaudio</Name>
        <Homepage>http://libcdaudio.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        A library for controlling CD-ROM devices
        <Description>libcdaudio is a portable library for controlling audio CDs. It is also able to manage transfers of information with the CDDB (http://www.freedb.org/) and CDIndex systems.</Description>
        <Archive sha1sum="1ae52f858c1a5ac9ced8eb7165620372b2a17035" type="targz">mirrors://sourceforge/libcdaudio/libcdaudio-0.99.12p2.tar.gz</Archive>
        <Patches>
            <Patch>libcdaudio-0.99.10.config.patch</Patch>
            <Patch level="1">security-bug-8587.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libcdaudio</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>libcdaudio-devel</Name>
        Development files for libcdaudio
        <RuntimeDependencies>
            <Dependency release="current">libcdaudio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>0.99.12</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>0.99.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-26</Date>
            <Version>0.99.12</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>libcdaudio</Name>
        CD-ROM aygıtlarını kontrol etmeye yarayan bir kitaplık
        <Description xml:lang="tr">libcdaudio ses CDlerini kontrol etmekte kullanılan taşınabilir bir kitaplıktır.</Description>
    </Source>

    <Package>
        <Name>libcdaudio-devel</Name>
        libcdaudio 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr")

def build():
    cmaketools.make()

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

    pisitools.dodoc("LICENSE", "ChangeLog", "README*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcue</Name>
        <Homepage>http://sourceforge.net/projects/libcue/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Cue sheet parser library
        <Description>libcue is intended for parsing a so-called cue sheet from a char string or a file pointer.</Description>
        <Archive sha1sum="51661156cd027fbc2eed2cdb6f358bd90e5b9e2d" type="targz">https://github.com/lipnitsk/libcue/archive/v2.1.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libcue</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>2.1.0</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.4.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-08</Date>
            <Version>1.4.0</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>libcue</Name>
        Cue sayfası ayrıştırma kitaplığı
        <Description xml:lang="tr">libcue, cue sayfalarındaki metinleri ayrıştırmak için kullanılan bir kitaplıktır.</Description>
    </Source>

    <Package>
        <Name>libcue-devel</Name>
        libcue 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--enable-shared \
                         --disable-static")

def build():
    autotools.make('OPT_CFLAGS=""')

def install():
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
    pisitools.remove("/usr/lib/*.a")

    # FIXME: avidemux needs this
    # pisitools.insinto("/usr/include","libdts/dca_internal.h")

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO", "doc/libdca.txt")


code:
Index: libdca-0.0.5/configure.ac
===================================================================
--- libdca-0.0.5.orig/configure.ac
+++ libdca-0.0.5/configure.ac
@@ -32,7 +32,6 @@ if test x"$GCC" = x"yes"; then
     TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
     changequote([,])
     TRY_CFLAGS="$TRY_CFLAGS -O3"
-    AC_TRY_CFLAGS([$TRY_CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS; CFLAGS=""])

     AC_ARG_ENABLE([debug],
 	[  --enable-debug          debug mode configuration])