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

def setup():
    shelltools.export("CFLAGS", "%s -D_FILE_OFFSET_BITS=64" % get.CFLAGS())

    pisitools.dosed("libspeex/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")

    options = "--enable-ogg \
               --enable-sse \
               --disable-static"

    if get.buildTYPE() == "emul32":
        # ogg only affects the executables so it's safe to disable for emul32
        options += " --libdir=/usr/lib32 --disable-ogg"
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())

    autotools.autoreconf("-vif")
    autotools.configure(options)

    # Remove rpath from speexenc and speexdec
    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 docdir=/usr/share/doc/speex" % get.installDIR())

    pisitools.dodoc("README")


code:
Index: speex-1.2rc1/configure.ac
===================================================================
--- speex-1.2rc1.orig/configure.ac
+++ speex-1.2rc1/configure.ac
@@ -112,9 +112,6 @@ AC_MSG_RESULT($has_visibility)

 AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)

-XIPH_PATH_OGG([src="src"], [src=""])
-AC_SUBST(src)
-
 AC_CHECK_LIB(m, sin)

 # Check for getopt_long; if not found, use included source.
@@ -139,10 +136,16 @@ AC_ARG_ENABLE(valgrind, [  --enable-valg
   AC_DEFINE([ENABLE_VALGRIND], , [Enable valgrind extra checks])
 fi])

+AC_ARG_ENABLE(ogg, [  --enable-ogg            Enable OGG support], [if test "$enableval" = yes; then
+  XIPH_PATH_OGG([src="src"], [src=""])
+  AC_SUBST(src)
+fi
+])
+
 AC_ARG_ENABLE(sse, [  --enable-sse            Enable SSE support], [
 if test "x$enableval" != xno; then
 has_sse=yes
-CFLAGS="$CFLAGS -O3 -msse"
+CFLAGS="$CFLAGS -msse"
 else
 has_sse=no
 fi

repo_name: ayhanyalcinsoy/main


code:
--- speex-1.2.0/configure.ac.orig	2016-12-08 00:20:14.000000000 +0100
+++ speex-1.2.0/configure.ac	2016-12-18 18:08:22.364596212 +0100
@@ -167,7 +167,7 @@
 fi])

 AC_ARG_ENABLE(binaries, [  --disable-binaries   Do not build the encoder and decoder programs, only the library])
-if test "$enableval" != no; then
+if test "$enable_binaries" != no; then
   PKG_CHECK_MODULES([OGG], [ogg],
     AM_CONDITIONAL([BUILD_BINARIES], true),
AM_CONDITIONAL([BUILD_BINARIES], false))


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>speex</Name>
        <Homepage>http://www.speex.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>xiph</License>
        <IsA>app:console</IsA>
        Audio compression format designed for speech and its converter application
        <Description>speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. The package also contains a command-line tool to convert to/from Speex codec.</Description>
        <Archive sha1sum="18ebc3fa3236b4369509e9439acc32d0e864fa7f" type="targz">http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>speexdsp-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">speex-ac.patch</Patch>

        </Patches>
    </Source>

    <Package>
        <Name>speex</Name>
        <RuntimeDependencies>
            <Dependency>libogg</Dependency>
            <Dependency>speexdsp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

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

    <History>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.2.0</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.2_rc1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>1.2_rc1</Version>
            <Comment>Rebuild</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>1.2_rc1</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>speex</Name>
        Konuşma için tasarlanmış bir ses sıkıştırma biçimi kütüphanesi ve araçları
        <Description xml:lang="tr">speex, konuşma için tasarlanmış özgür ve açık kaynaklı bir ses sıkıştırma biçimidir. Paket kütüphanenin yanında speex biçimine/biçiminden dönüştürme yapmak için gerekli araçları içerir.</Description>
    </Source>

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

    <Package>
        <Name>speex-32bit</Name>
        speex 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/copyleft/gpl.txt

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

def setup():
    options = "--prefix=/usr \
               --sysconfdir=/etc \
               --disable-static"

    if get.buildTYPE() == "emul32":
        # ogg only affects the executables so it's safe to disable for emul32
        options += " --libdir=/usr/lib32"
        shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())

    autotools.autoreconf("-vi")
    autotools.configure(options)

def build():
    autotools.make()

def check():
    autotools.make("check")

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

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


code:
diff --git a/configure.ac b/configure.ac
index 2cd2d1e..1de0c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
 AC_SUBST([SIZE32])
 AC_SUBST([USIZE32])

+AS_IF([test "$ac_cv_header_stdint_h" = "yes"],    [INCLUDE_STDINT="#include <stdint.h>"],
+      [test "$ac_cv_header_inttypes_h" = "yes"],  [INCLUDE_STDINT="#include <inttypes.h>"],
+      [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>"])
+
+AC_SUBST([INCLUDE_STDINT])
+
 AC_CONFIG_FILES([
            Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec
            include/Makefile include/speex/Makefile speexdsp.pc
diff --git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in
index 02b82fd..5ea7b55 100644
--- a/include/speex/speexdsp_config_types.h.in
+++ b/include/speex/speexdsp_config_types.h.in
@@ -1,13 +1,7 @@
 #ifndef __SPEEX_TYPES_H__
 #define __SPEEX_TYPES_H__

-#if defined HAVE_STDINT_H
-#  include <stdint.h>
-#elif defined HAVE_INTTYPES_H
-#  include <inttypes.h>
-#elif defined HAVE_SYS_TYPES_H
-#  include <sys/types.h>
-#endif
+@INCLUDE_STDINT@

 typedef @SIZE16@ spx_int16_t;
 typedef @USIZE16@ spx_uint16_t;


code:
<PISI>
    <Source>
        <Name>speexdsp</Name>
        <Homepage>https://www.speex.org/</Homepage>
        <Packager>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        DSP library derived from Speex.
        <Description>DSP library derived from Speex</Description>
        <BuildDependencies>
            <Dependency>glibc-devel</Dependency>
        </BuildDependencies>
        <Archive sha1sum="818403a21ec428feb39fe58f6cb6836d595e639b" type="targz">http://downloads.xiph.org/releases/speex/speexdsp-1.2rc3.tar.gz</Archive>
        <Patches>
            <Patch level="1">speexdsp-fixbuilds-774c87d.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>speexdsp</Name>
        DSP library derived from Speex.
        <RuntimeDependencies>
            <Dependency>glibc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libspeexdsp*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

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

    <History>
        <Update release="1">
            <Date>2017-02-17</Date>
            <Version>1.2_rc3</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</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

import os
from os.path import join

NoStrip = "/"
WorkDir = "./"

def setup():
    pisitools.dosed("timidity.cfg", "dir /nethome/sak95/shom/lib/timidity/", "dir /usr/share/timidity/shompatches/")
    pisitools.dosed("sfx.cfg", "^source ", "source shompatches/")
    pisitools.dosed("timidity.cfg", "^source ", "source shompatches/")

    for root, dirs, files in os.walk("inst"):
        for name in dirs:
            shelltools.chmod(join(root, name), 0755)
        for name in files:
            shelltools.chmod(join(root, name), 0644)

    shelltools.chmod("*.cfg", 0644)

def install():
    pisitools.dodir("/usr/share/timidity/shompatches")
    pisitools.insinto("/usr/share/timidity/shompatches", "*.cfg")
    pisitools.insinto("/usr/share/timidity/shompatches", "inst")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>timidity-shompatches</Name>
        <Homepage>http://www.i.h.kyoto-u.ac.jp</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>data</IsA>
        <Summary>Sound patches for Timidity (Shom)</Summary>
        <Description>Containts Matsumoto Shoji's patch collection for TiMidity (Roland SC-55 style)</Description>
        <Archive sha1sum="70e6dada9656ab79253a80bcf5505d2151551397" type="zip">https://sourceforge.net/projects/pisilinux/files/source/shominst-0409.zip</Archive>
    </Source>

    <Package>
        <Name>timidity-shompatches</Name>
        <Files>
            <Path fileType="data">/usr/share/timidity</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>0.409</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>0.409</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-04</Date>
            <Version>0.409</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>timidity-shompatches</Name>
        <Summary xml:lang="tr">Timidity ses bilgisi dosyaları</Summary>
        <Description xml:lang="tr">Matsumoto Shoji'nin TiMidity (Roland SC-55 stili) ses bilgisi dosyaları</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 = "TiMidity++-%s" % get.srcVERSION()

def setup():
    audios = "flac,speex,vorbis,ao,alsa,jack"
    interfaces = "ncurses,vt100,alsaseq,server,network,gtk"

    shelltools.export("CFLAGS", "%s -D_GNU_SOURCE" % get.CFLAGS())
    autotools.autoconf()
    autotools.configure('--localstatedir=/var/state/timidity \
                         --with-elf \
                         --enable-audio="%s" \
                         --enable-interface="%s" \
                         --enable-server \
                         --enable-network \
                         --enable-dynamic \
                         --enable-vt100 \
                         --enable-spline=cubic \
                         --enable-slang \
                         --enable-ncurses \
                         --with-x \
                         --enable-spectrogram \
                         --enable-wrd \
                         --enable-xskin \
                         --enable-gtk \
                         --with-default-output=alsa \
                         --enable-alsaseq' % (audios, interfaces))

def build():
    autotools.make()

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

    pisitools.dosym("/etc/timidity.cfg", "/usr/share/timidity/timidity.cfg")

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


code:
# -*- coding: utf-8 -*-
serviceType = "local"
serviceDesc = _({"en": "Timidity Virtual MIDI Sequencer for Alsa",
                 "tr": "Timidity Sanal MIDI Ardışımlayıcı"})

MSG_ERR_TIMDPTCH = _({"en": "Failed to set patchset %s for Timidity.",
                      "tr": "Yama kümesi %s Timidity'ye atanamadı.",
                      })

from comar.service import *
import os

@synchronized
def start():

    if config.get("USE_ESOUND", "") == "yes":
        startDependencies("esound")

    # set up sound fonts
    patchset = config.get("PATCHSET", "shompatches")
    currentlink = "/usr/share/timidity/current"

    try:
        currentpatch = os.readlink(currentlink)
    except:
        currentpatch = None

    if patchset != currentpatch:
        if not os.path.exists("/usr/share/timidity/%s" % patchset) and not os.path.exists(patchset):
            fail(MSG_ERR_TIMDPTCH % patchset)
        else:
            if currentpatch:
                os.unlink(currentlink)
            os.symlink(patchset, currentlink)

    if config.get("TIMIDITY_PCM_NAME", "") != "":
        loadEnvironment()
        os.environ["TIMIDITY_PCM_NAME"]=config.get("TIMIDITY_PCM_NAME")

    startService(command="/usr/bin/timidity",
                 args="-iA %s" % config.get("TIMIDITY_OPTS", ""),
                 pidfile="/run/timidity.pid",
                 makepid=True,
                 detach=True,
                 donotify=True)

@synchronized
def stop():
    stopService(pidfile="/run/timidity.pid",
                donotify=True)

def status():
    return isServiceRunning("/run/timidity.pid")


code:
--- TiMidity++-2.14.0/interface/xskin_c.c
+++ TiMidity++-2.14.0/interface/xskin_c.c
@@ -228,7 +228,6 @@
     }
 }

-#if 0
 static void ctl_speana_data(double *val, int size) {

   /* 0 <= val[n] <= (AMP*NCOLOR) */
@@ -280,7 +279,6 @@

   return;
 }
-#endif

 /*ARGSUSED*/
 static int ctl_open(int using_stdin, int using_stdout) {


code:
#!/bin/sh

VERSION_MJ="1"
VERSION_MN="0"
VERSION_RV="0000"
VERSION_AP=""
VERSION="${VERSION_MJ}.${VERSION_MN}${VERSION_AP}"

PATCHDIR="/usr/share/timidity"

# Below is the user's local patchset
HOME_TARGET="$HOME/.timidity/current"
TARGET="${HOME_TARGET}"

show_help() {
	echo "$0 ${VERSION}"
	echo "Usage: $0 [-g] -s PATCHSET"
	echo "  or:  $0 -r"
	echo "  or:  $0 [OPTION]"
	echo "Set the current timidity patch set to PATCHSET."
	echo
	echo "Mandatory arguments to long options are mandatory for short options too."
	echo "  -g                           Change the global patch set instead of the"
	echo "                               user's patch set"
	echo "  -r                           Change current user's patch set to current"
	echo "                               system patch set"
	echo "  -s [PATCHSET]                Change to patch set PATCHSET"
	echo "      --help     display this help and exit"
}

show_error() {

	echo "$0: bad or missing argument"
	echo "Try '$0 --help' for more information."
}

set_patch() {
	TARGET=$1
	PATCHSET=$2
	# If something borken, no go
	if [ ! -L ${TARGET} -a -e ${TARGET} ] || [ ! -d ${PATCHDIR}/${PATCHSET} ]; then
		if [ ! -L ${TARGET} -a -e ${TARGET} ]; then
			echo "  Error:  ${TARGET} exists and is not a symlink"
			return -1
		fi
		if [ ! -d ${PATCHDIR}/${PATCHSET} ]; then
			echo "  Error:  patch set ${PATCHSET} does not exist"
			echo "    Look in ${PATCHDIR}/ for patch sets"
			return -1
		fi
		echo "  Error:  Undefined error."
		return -1
	fi
	echo -n "    * Switching to ${PATCHSET} Timidity patch set..."
	rm -f ${TARGET} 2>/dev/null
	ln -s ${PATCHDIR}/${PATCHSET} ${TARGET} 2>/dev/null
	echo "      [  OK  ]"
	return 0
}

restore_patches() {
	TARGET=$1
	echo -n "    * Setting up local patch set to system global..."
	rm -f ${TARGET} 2>/dev/null
	ln -s ${PATCHDIR}/current ${TARGET}
	echo "      [  OK  ]"
}

##############
# Processing #
#############

# Make sure home directory is there
if [ ! -e ${HOME}/.timidity ]; then
	mkdir -p ${HOME}/.timidity
	restore_patches $TARGET
fi

################
# No arguments #
###############

if [ -z "$1" ]; then
	show_error
	exit 1
fi

#########################
# Actual processing loop#
########################
while [ -n "$1" ]; do
	case "$1" in
	-g)
		TARGET="/usr/share/timidity/current"
		;;
	-r)
		restore_patches ${HOME_TARGET}
		exit 0
		;;
	-s)
		PATCHSET="$2"
		shift
		;;
	--help)
		show_help
		exit 0
		;;
	*)
		show_error
		exit 1
		;;
	esac
	shift
done

set_patch $TARGET $PATCHSET


code:
##############################################################################
#
# timidity-update core configuration file
#
# Easy process:
#
#  1.  Change directory to patch directory
#  2.  Source current/timidity.cfg
#
# Current patch set will always be symlinked to current, so make sure that the
# proper timidity.cfg is in there
#
#
#  - source /usr/share/timidity
#  - source ~/.timidity/current
#  - Make ~/.timidity/current point to the current patch set, or to whatever
#    the individual user sets
#  - If ~/.timidity/current isn't found, it will try
#    /usr/share/timidity/current
#

dir /usr/share/timidity
dir ~/.timidity
source current/timidity.cfg


code:
# TIMIDITY_OPTS
# Command line arguements to be passed to timidity. -iA is always used
# Common options:
# -Os : Output to ALSA pcm device
# -Oe : Output to esd
# -On : Output to NAS
# -Oj : Output to JACK
#
# -B<n>,<m> :  Set number of buffer fragments(n), and buffer size(2^m)
#
# -EFreverb=0         : Disable MIDI reverb effect control
# -EFreverb=1[,level] : Enable MIDI reverb effect control
#                       "level" is optional to specify reverb level [0..127]
#                       This effect is only available in stereo
#                       (default)
# -EFreverb=2         : Global reverb effect

TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0 -EFchorus=0"

# USE_ESOUND
# if you want to use esound, make this option yes and set the correct TIMIDITY_OPTS

USE_ESOUND="no"

# PATCHSET
# Define the sound patch set that timidity will use. Default is shompatches.
PATCHSET="shompatches"

# TIMIDITY_PCM_NAME
# This option can be used to choose an alternate ALSA pcm device.  This will
# be most useful for users of the dmix alsa plugin or those with multiple
# cards.  If you don't know what this is, chances are you want the default.

# default alsa device fails to work as a service, since pulseaudio is not reachable
# from the service scripts' environment. Workaround with using hw:0
#TIMIDITY_PCM_NAME="default"
TIMIDITY_PCM_NAME="hw:0"


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>timidity</Name>
        <Homepage>http://timidity.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <Summary>Software synthesizer and MIDI converter</Summary>
        <Description>Timidity is a software synthesizer, MIDI player and MIDI to other sound formats converter which can also emulate a midi port.</Description>
        <Archive sha1sum="3d1d18ddf3e52412985af9a49dbe7ad345b478a8" type="tarbz2">mirrors://sourceforge/timidity/TiMidity++-2.14.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libao-devel</Dependency>
            <Dependency>libXaw-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>Xaw3d-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
        </BuildDependencies>
        <Patches>
                <Patch level="1">timidity++-2.14.0-revert-for-required-ctl_speana_data-function.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>timidity</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libao</Dependency>
            <Dependency>libXaw</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>timidity-shompatches</Dependency>
            <Dependency>Xaw3d</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>ncurses</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/timidity</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/timidity">timidity.conf.d</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/timidity.cfg">timidity.cfg</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/timidity-update">timidity-update</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>2.14.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>2.14.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-21</Date>
            <Version>2.14.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>timidity</Name>
        <Summary xml:lang="tr">MIDI WAV dönüştürücüsü</Summary>
        <Description xml:lang="tr">OSS ve ALSA ses çıkışı üretebilen MIDI'den WAV oluşturabilen ve midi aygıt emulasyonu yapabilen sunucu</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 libtools
from pisi.actionsapi import get

def setup():
    #pisitools.dosed("configure", "-O3")
    # libtools.libtoolize()
    autotools.configure("--disable-static")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>twolame</Name>
        <Homepage>http://www.twolame.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        An optimised MPEG Audio Layer 2
        <Description>TwoLAME is an optimised MPEG Audio Layer 2 encoder based on tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and portions of LAME.</Description>
        <Archive sha1sum="3ca460472c2f6eeedad70291d8e37da88b64eb8b" type="targz">mirrors://sourceforge/twolame/twolame-0.3.13.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libsndfile-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>twolame</Name>
        <RuntimeDependencies>
            <Dependency>libsndfile</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/twolame</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.3.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>0.3.13</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>0.3.13</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>twolame</Name>
        Optimize edilmiş bir MPEG Ses katman 2 çözücüsü
        <Description xml:lang="tr">TwoLame Mike Cheng'in tooLAME'ni taban olarak alan LAME'in ISO dist10 kodları ve parçaları üzerinde optimize edilmiş bir MPEG Ses Katman 2 çözücüsüdür.</Description>
    </Source>

    <Package>
        <Name>twolame-devel</Name>
        twolame 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

def setup():
    shelltools.export("AT_M4DIR", "m4")
    autotools.autoreconf("-vfi")

    autotools.configure('--disable-dependency-tracking \
                         --enable-nls \
                         --enable-vcut \
                         --enable-ogg123 \
                         --with-flac \
                         --with-speex \
                         --with-kate \
                         --docdir="/%s/%s"' % (get.docDIR(), get.srcNAME()))

def build():
    autotools.make()

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

    pisitools.removeDir("/usr/share/doc")
    pisitools.dodoc("CHANGES", "COPYING", "AUTHORS", "README", "ogg123/ogg123rc-example")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>vorbis-tools</Name>
        <Homepage>http://www.vorbis.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>app:console</IsA>
        <Summary>Tools for using the Ogg Vorbis sound file format</Summary>
        <Description>This set of tools allow you to play and encode Ogg Vorbis files.</Description>
        <Archive sha1sum="fc6a820bdb5ad6fcac074721fab5c3f96eaf6562" type="targz">http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libao-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libkate-devel</Dependency>
            <Dependency>curl-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>vorbis-tools</Name>
        <RuntimeDependencies>
            <Dependency>libvorbis</Dependency>
            <Dependency>libao</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libkate</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.4.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.4.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-01-28</Date>
            <Version>1.4.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>vorbis-tools</Name>
        <Summary xml:lang="tr">Ogg Vorbis ses dosyaları için araçlar paketi.</Summary>
        <Description xml:lang="tr">vorbis-tools Ogg Vorbis dosyaları oluşturabilmenize ve oynatabilmenize olanak tanır.</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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    shelltools.system("./autogen.sh")
    autotools.configure("--prefix=/usr \
                         --libdir=/usr/lib \
                         --disable-static \
                         --enable-mmx")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wavpack</Name>
        <Homepage>http://www.wavpack.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>WavPack audio compression tools</Summary>
        <Description>WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode.</Description>
        <Archive sha1sum="7a8c9228d8e0f48828cf0a8f31aabcc8ae1f1c3b" type="targz">https://github.com/dbry/WavPack/archive/5.1.0.tar.gz</Archive>
    </Source>

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

    <Package>
        <Name>wavpack-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">wavpack</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>5.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>4.75.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-20</Date>
            <Version>4.75.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>wavpack</Name>
        <Summary xml:lang="tr">WavPack ses sıkıştırma araçları.</Summary>
        <Description xml:lang="tr">WavPack, kayıpsız veya yüksek kaliteli kayıplı ve eşşsiz karışık sıkıştırma kipi sunan açık ses sıkıştırma biçimidir.</Description>
        <Description xml:lang="es">WavPack es un formato de compresión open audio con modos de compresión sin pérdida, de alta calidad con pérdida, y un modo híbrido.</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/copyleft/gpl.txt

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

# if pisi can't find source directory, see /var/pisi/yarock/work/ and:
# WorkDir="yarock-"+ get.srcVERSION() +"/sub_project_dir/"

def setup():
    cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
                                          -DCMAKE_INSTALL_PREFIX=/usr \
                                          -DENABLE_QT5=1 \
                                          -DENABLE_VLC=OFF \
                                          -DENABLE_MPV=ON \
                                          -DENABLE_PHONON=ON \
                                          -DTAGLIB_MIN_VERSION=1.9.1")

def build():
    cmaketools.make()

def install():
    cmaketools.install()

# Take a look at the source folder for these file as documentation.
    pisitools.dodoc("CHANGES.md", "README.md")

# If there is no install rule for a runnable binary, you can
# install it to binary directory.
#    pisitools.dobin("yarock")

# You can use these as variables, they will replace GUI values before build.
# Package Name : yarock
# Version : 1.1.6
# Summary : Qt Modern Music Player with collection browse based on cover art

# For more information, you can look at the Actions API
# from the Help menu and toolbar.


code:
diff -ruN Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt
--- Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt	2015-05-21 00:42:46.627611703 +0300
+++ Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt	2015-05-21 00:43:25.852867232 +0300
@@ -34,7 +34,7 @@

 if (ENABLE_QT5)
-    INCLUDE_DIRECTORIES( ${PHONON_INCLUDE_DIR}/phonon4qt5 )
+    INCLUDE_DIRECTORIES( /usr/include/phonon4qt5 )
 else (ENABLE_QT5)
     INCLUDE_DIRECTORIES( ${PHONON_INCLUDES} )
 endif (ENABLE_QT5)


code:
<PISI>
    <Source>
        <Name>yarock</Name>
        <Homepage>https://launchpad.net/yarock</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        Qt Modern Music Player with collection browse based on cover art
        <Description>Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart</Description>
        <Archive sha1sum="d9716d6d8e17da086c7357b0cba7f53cb88f7d63" type="targz">https://launchpad.net/yarock/1.x/1.1.6/+download/Yarock_1.1.6_source.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>mpv-player-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-phonon-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>qt5-sql-mysql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qt5-sql-odbc</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>htmlcxx-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
        </BuildDependencies>
     <Patches>
         <Patch level="1">phonon.patch</Patch>
    </Patches>
    </Source>
    <Package>
        <Name>yarock</Name>
        Qt Modern Music Player with collection browse based on cover art
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt5-phonon</Dependency>
            <Dependency>qt5-x11extras</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>htmlcxx</Dependency>
            <Dependency>mpv-player</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <History>
        <Update release="2">
            <Date>2017-04-23</Date>
            <Version>1.1.6</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-24</Date>
            <Version>1.1.6</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Name>multimedia.stream</Name>
</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():
    pisitools.cxxflags.add("-fpermissive")
    autotools.configure("--with-alsa \
                         --with-faac \
                         --with-vorbis \
                         --with-lame \
                         --without-jack")

def build():
    autotools.make()

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

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


code:
http://code.google.com/p/darkice/issues/detail?id=29
SerialUlaw.cpp:296:26: error: ‘perror’ was not declared in this scope

--- src/SerialUlaw.cpp
+++ src/SerialUlaw.cpp
@@ -40,6 +40,8 @@
 #include "config.h"
 #endif

+#include <stdio.h>
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #else


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>darkice</Name>
        <Homepage>http://darkice.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Live audio streamer</Summary>
        <Description>DarkIce as a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server.</Description>
        <Archive sha1sum="541233b78b3399acf2ec89dec5a08c8e54197c53" type="targz">https://sourceforge.net/projects/darkice/files/darkice/1.3/darkice-1.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>twolame-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libsamplerate-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">darkice-1.0-gcc44.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>darkice</Name>
        <RuntimeDependencies>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>faac</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>twolame</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libsamplerate</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libopus</Dependency>
        </RuntimeDependencies>
        <Files>
           <Path fileType="config">/etc</Path>
           <Path fileType="doc">/usr/share/doc</Path>
           <Path fileType="man">/usr/share/man</Path>
           <Path fileType="executable">/usr/bin</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>1.3</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.2</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.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>darkice</Name>
        Canlı müzik, ses yayınlama aracı
        <Description xml:lang="tr">Darkice bir canlı müzik, ses yayınlama uygulamasıdır. Bir ses arayüzünden (örneğin bir ses kartı) sesleri kaydeder, kodlar ve yayınlayacak sunucuya gönderir.</Description>
    </Source>

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

def setup():
    #Fix htmldir
    pisitools.dosed("doc/Makefile.am", "doc/icecast", "doc/icecast/html")
    #pisitools.dosed("debian/icecast2.1", "icecast2", "icecast")

    autotools.autoreconf("-vif")
    autotools.configure("--sysconfdir=/etc/icecast \
                         --disable-static \
                         --with-curl \
                         --with-ogg \
                         --with-theora \
                         --with-speex \
                         --enable-yp \
                         --with-openssl=/usr")

def build():
    autotools.make()

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

    #Create Log Dir
    pisitools.dodir("/var/log/icecast")
    pisitools.dodir("/run/icecast")

    #Correct permissions
    shelltools.chmod("%s/var/log/icecast" % get.installDIR(), 0755 )
    shelltools.chmod("%s/etc/icecast/icecast.xml" % get.installDIR(),  0640)
    shelltools.chmod("%s/run/icecast" % get.installDIR(), 0755)

    pisitools.insinto("/usr/share/pixmaps", "web/icecast.png")

    #pisitools.doman("debian/icecast2.1")


code:
#!/usr/bin/python

import os

def postInstall(fromVersion, fromRelease, toVersion, toRelease):
    os.system("/bin/chown -R icecast:icecast /var/log/icecast")
    os.system("/bin/chown -R icecast:icecast /etc/icecast")
    os.system("/bin/chown -R icecast:icecast /run/icecast")


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

from comar.service import *

serviceType = "server"
serviceDesc = _({"en": "Icecast Daemon",
                 "tr": "Icecast Servisi"})

@synchronized
def start():
    startService(command="/usr/bin/icecast",
                 args="-c /etc/icecast/icecast.xml",
                 pidfile="/run/icecast/icecast.pid",
                 donotify=True,
                 detach=True)
@synchronized
def stop():
    stopService(pidfile="/run/icecast/icecast.pid",
                donotify=True)

def status():
    return isServiceRunning("/run/icecast/icecast.pid")

def reload():
    stopService(command="/usr/bin/icecast",
                args="reload")


code:
diff -Naur icecast-2.3.2.orig/conf/icecast.xml.in icecast-2.3.2/conf/icecast.xml.in
--- icecast-2.3.2.orig/conf/icecast.xml.in	2008-04-04 18:14:10.000000000 +0300
+++ icecast-2.3.2/conf/icecast.xml.in	2008-09-28 01:01:51.000000000 +0300
@@ -7,8 +7,8 @@
         <client-timeout>30</client-timeout>
         <header-timeout>15</header-timeout>
         <source-timeout>10</source-timeout>
-        <!-- If enabled, this will provide a burst of data when a client
-             first connects, thereby significantly reducing the startup
+        <!-- If enabled, this will provide a burst of data when a client
+             first connects, thereby significantly reducing the startup
              time for listeners that do substantial buffering. However,
              it also significantly increases latency between the source
              client and listening client.  For low-latency setups, you
@@ -102,7 +102,7 @@
         <hidden>1</hidden>
         <no-yp>1</no-yp>
         <authentication type="htpasswd">
-                <option name="filename" value="myauth"/>
+                <option name="filename" value="/usr/share/icecast/myauth"/>
                 <option name="allow_duplicate_users" value="0"/>
         </authentication>
         <on-connect>/home/icecast/bin/stream-start</on-connect>
@@ -129,10 +129,10 @@

         <!-- Note that if <chroot> is turned on below, these paths must both
              be relative to the new root, not the original root -->
-        <logdir>@localstatedir@/log/@PACKAGE@</logdir>
+        <logdir>/var/log/icecast</logdir>
         <webroot>@pkgdatadir@/web</webroot>
         <adminroot>@pkgdatadir@/admin</adminroot>
-        <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
+        <pidfile>/run/icecast/icecast.pid</pidfile>

         <!-- Aliases: treat requests for 'source' path as being for 'dest' path
              May be made specific to a port or bound address using the "port"
@@ -164,11 +164,10 @@

     <security>
         <chroot>0</chroot>
-        <!--
+        <!--test for logrotate soon-->
         <changeowner>
-            <user>nobody</user>
-            <group>nogroup</group>
+            <user>icecast</user>
+            <group>icecast</group>
         </changeowner>
-        -->
     </security>
 </icecast>


code:
diff -Naur icecast-2.3.2.orig/m4/acx_pthread.m4 icecast-2.3.2/m4/acx_pthread.m4
--- icecast-2.3.2.orig/m4/acx_pthread.m4	2009-02-22 00:33:42.000000000 +0200
+++ icecast-2.3.2/m4/acx_pthread.m4	2009-05-01 05:27:18.000000000 +0300
@@ -63,7 +63,7 @@
 # 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: d /run/icecast 0755 icecast icecast


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>icecast</Name>
        <Homepage>http://www.icecast.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>icecast</Icon>
        <IsA>service</IsA>
        <Summary>ShoutCast compatible streaming media server</Summary>
        <Description>Icecast is a streaming media server which currently supports Ogg Vorbis and MP3 audio streams. It can be used to create an Internet radio station or a privately running jukebox and many things in between.</Description>
        <Archive sha1sum="230e2aa5abf80010c42d41cc7c0b078fb542b080" type="targz">http://downloads.xiph.org/releases/icecast/icecast-2.4.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libkate-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">pthread_flag.patch</Patch>
            <Patch level="1">icecast.conf.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>icecast</Name>
        <RuntimeDependencies>
            <Dependency>libxslt</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libkate</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/icecast</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icecast</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/icecast.conf</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/icecast.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>2.4.3</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.4.3</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>2.4.3</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>icecast</Name>
        <Summary xml:lang="tr">Shoutcast uyumlu muzik yayın sunucusu</Summary>
        <Description xml:lang="tr">Icecast, Ogg Vorbis ve Mp3 formatlarını destekleyerek ağ üzerinden muzik yayını yapmanızı sağlar. Icecast ile bir internet radyo istasyonu kurabilir ya da kendinize özel bir şarkı liste oluşturup paylaşabilirsiniz.</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

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

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libmms</Name>
        <Homepage>http://sourceforge.net/projects/libmms</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A common library for accessing MMS media streaming protocol
        <Description>libmms is a library for accessing Microsoft Media Server (MMS) media streaming protocol.</Description>
        <Archive sha1sum="b03ef84a9eedc68fdf2866265b667b75e1a33bee" type="targz">mirrors://sourceforge/libmms/libmms-0.6.4.tar.gz</Archive>
    </Source>

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

    <Package>
        <Name>libmms-devel</Name>
        Development files for libmms
        <RuntimeDependencies>
            <Dependency release="current">libmms</Dependency>
            <Dependency>glib2-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-15</Date>
            <Version>0.6.4</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.6.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-10-23</Date>
            <Version>0.6.4</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>libmms</Name>
        MMS protokolüne erişim sağlayan bir kütüphane
        <Description xml:lang="tr">libmms, Microsoft Media Server(MMS) akış protokolünü kullanan ses kaynaklarına erişmek için kullanılan bir kütüphanedir.</Description>
    </Source>

    <Package>
        <Name>libmms-devel</Name>
        libmms 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="live"

def setup():
    shelltools.system("./genMakefiles shared")

def build():
    # http://bugs.gentoo.org/show_bug.cgi?id=247844
    autotools.make('-j1 LINK_OPTS="-L. %s"' % get.LDFLAGS().replace("-Wl,--as-needed",""))

def install():
    for directory in ["BasicUsageEnvironment", "groupsock", "liveMedia", "UsageEnvironment"]:
        pisitools.insinto("/usr/include/%s" % directory, "%s/include/*" % directory)
        pisitools.insinto("/usr/lib/", "%s/*.so" % directory)

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


code:
diff -Nur live-old/config.shared live/config.shared
--- live-old/config.shared	1970-01-01 02:00:00.000000000 +0200
+++ live/config.shared	2007-02-23 13:35:55.000000000 +0200
@@ -0,0 +1,17 @@
+COMPILE_OPTS =		$(INCLUDES) -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
+C =			c
+C_COMPILER =		$(CC)
+C_FLAGS =		$(COMPILE_OPTS) -fPIC $(CFLAGS)
+CPP =			cpp
+CPLUSPLUS_COMPILER =	$(CXX)
+CPLUSPLUS_FLAGS =	$(COMPILE_OPTS) -fPIC $(CXXFLAGS)
+OBJ =			o
+LINK =			$(CXX) -o
+LINK_OPTS =		-L.
+CONSOLE_LINK_OPTS =	$(LINK_OPTS)
+LIBRARY_LINK =		$(CC) -o
+LIBRARY_LINK_OPTS =	$(LINK_OPTS) -shared -Wl,-soname,$@
+LIB_SUFFIX =			so
+LIBS_FOR_CONSOLE_APPLICATION =
+LIBS_FOR_GUI_APPLICATION =
+EXE =


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>live555</Name>
        <Homepage>http://www.live555.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Multimedia streaming library
        <Description>Live555 is a set of C++ libraries for multimedia streaming, using open standard protocols (RTP/RTCP, RTSP, SIP)</Description>

        <Archive sha1sum="a135e390b23df27abf02a66179973cc94041390d" type="targz">http://live555.com/liveMedia/public/live.2018.02.12.tar.gz</Archive>
        <Patches>
             <Patch level="1">shared-config.patch</Patch>

        </Patches>
    </Source>

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

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

    <History>
        <Update release="5">
            <Date>2018-02-18</Date>
            <Version>2018.02.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>2016.10.21</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>2016.10.21</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>2014.05.08</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>2014.05.08</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>live555</Name>
        Çokluortam yayın kitaplığı
        <Description xml:lang="tr">Live555, açık standart protokolleri kullanan (RTP/RTCP, RTSP, SIP) çoklu ortam duraksız işlemleri (streaming) için C++ kütüphaneleridir.</Description>
        <Description xml:lang="fr">Live555 est un ensemble de librairies C++ pour le streaming (diffusion numérique) multimédia utilisant les protocoles de standards ouverts (RTP/RTCP, RTSP, SIP).</Description>
    </Source>

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

makeargs="prefix=/usr sbindir=/usr/bin mandir=/usr/share/man"

def setup():
    pisitools.dosed("Makefile", "CC=.*", "CC=%s" % get.CC())
    pisitools.dosed("Makefile", "LDFLAGS=.*", \
                                "LDFLAGS=%s" % get.LDFLAGS())

    pisitools.dosed("librtmp/Makefile", "CC=.*", \
                                        "CC=%s" % get.CC())

def build():

    autotools.make(' -j1 %s XCFLAGS="%s"' % (makeargs, get.CFLAGS()) )

def install():
    autotools.rawInstall(' -j1 %s DESTDIR=%s' % (makeargs, get.installDIR()))

    #pisitools.remove("/usr/lib/librtmp.a")

    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "librtmp/COPYING", "librtmp-COPYING")
    pisitools.dodoc("COPYING", "ChangeLog", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>rtmpdump</Name>
        <Homepage>http://rtmpdump.mplayerhq.hu/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>

        <License>LGPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        Toolkit for RTMP streams
        <Description>rtmpdump is a tool for dumping media content streamed over RTMP. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps:// .</Description>
        <Archive sha1sum="b981d669a6aeabb08f2b58262b6299d4ead62c29" type="targz">http://source.pisilinux.org/1.0/rtmpdump-15012015.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>openssl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>rtmpdump</Name>
        <RuntimeDependencies>
            <Dependency>openssl</Dependency>
            <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/rtmpdump</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>20150115</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>20150115</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-07-29</Date>
            <Version>20150115</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>rtmpdump</Name>
        RTMP yayınları araç takımı
        <Description xml:lang="tr">rtmpdump, RTMP üzerinden yayın yapan ortam içeriklerinin dökümünü yapmak için yazılmış bir araçtır. RTMP yayımının bütün biçimleri desteklenmektedir: rtmp://, rtmpt://, rtmpe://, rtmpte://, ve rtmps:// .</Description>
    </Source>

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


code:
<PISI>
    <Name>multimedia.tv</Name>
</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("LDFLAGS", get.LDFLAGS())

    autotools.configure("--enable-gpl \
                         --enable-gpl3 \
                         --disable-gtk2 \
                         --qt-libdir=/usr/lib/ \
                         --qt-includedir=/usr/include/qt5 \
                         --avformat-vdpau \
                         --avformat-swscale")

    # Enable bindings
    shelltools.echo("%s/src/swig/config.mak" % get.curDIR(), "SUBDIRS = perl python")

def build():
    autotools.make()
    autotools.make("-C src/swig")

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

    # We should manually install the bindings :(
    pisitools.insinto("/usr/lib/%s/site-packages/" % get.curPYTHON(), "src/swig/python/mlt.py")
    pisitools.dolib("src/swig/python/_mlt.so", "/usr/lib/%s/site-packages/" % get.curPYTHON())

    pisitools.insinto("/usr/lib/perl5/vendor_perl/%s/" % get.curPERL(), "src/swig/perl/blib/lib/mlt.pm")
    pisitools.dolib("src/swig/perl/blib/arch/auto/mlt/mlt.so", "/usr/lib/perl5/vendor_perl/%s/i686-linux-thread-multi/auto/mlt/" % get.curPERL())

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mlt</Name>
        <Homepage>http://www.mltframework.org/twiki/bin/view/MLT/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        A multimedia framework, designed and developed for television broadcasting
        <Description>MLT is an open source multimedia framework, designed and developed for television broadcasting.</Description>
        <Archive sha1sum="f2d946cf64fbd48485445cb6a4d604615dfc45d4" type="targz">https://sourceforge.net/projects/mlt/files/mlt/mlt-6.4.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>swig</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>frei0r-plugins-devel</Dependency>
            <Dependency>fftw3-devel</Dependency>

            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libsamplerate-devel</Dependency>

            <Dependency>ladspa-sdk-devel</Dependency>

            <Dependency>libvorbis-devel</Dependency>
            <Dependency>sdl-image-devel</Dependency>
            <Dependency>libexif-devel</Dependency>

            <Dependency>libsdl-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>

            <Dependency>libdv-devel</Dependency>
            <Dependency>sox-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>perl-mlt</Name>
        <PartOf>programming.language.perl</PartOf>
        Perl bindings for MLT
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>perl</Dependency>
            <Dependency release="current">mlt</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl*</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>mlt</Name>
        <RuntimeDependencies>
            <Dependency>sox</Dependency>
            <Dependency>fftw3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libexif</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>qt5-svg</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>sdl-image</Dependency>
            <Dependency>libsamplerate</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="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/mlt</Path>
            <Path fileType="data">/usr/share/mlt/modules</Path>
            <Path fileType="data">/usr/share/mlt/modules/lumas/PAL</Path>
        </Files>
    </Package>

    <Package>
        <Name>mlt-devel</Name>
        Development files for mlt
        <RuntimeDependencies>
            <Dependency release="current">mlt</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="4">
            <Date>2017-04-13</Date>
            <Version>6.4.1</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-25</Date>
            <Version>6.2.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-20</Date>
            <Version>0.9.8</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-16</Date>
            <Version>0.9.8</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>mlt</Name>
        Televizyon yayını için tasarlanmış bir çoklu ortam altyapısı
        <Description xml:lang="tr">MLT televizyon yayını için tasarlanmış, açık kaynak kodlu bir çoklu ortam alyapısıdır.</Description>
    </Source>

    <Package>
        <Name>perl-mlt</Name>
        MLT için Perl bağlayıcıları
    </Package>

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

    <Package>
        <Name>mlt-devel</Name>
        mlt 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

def setup():
    shelltools.export("CFLAGS", "%s -Wno-pointer-sign %s" % (get.CFLAGS(), get.LDFLAGS()))

    autotools.autoreconf("-vfi")
    autotools.configure("--with-x \
                         --enable-xfree-ext \
                         --enable-xvideo \
                         --enable-dv \
                         --disable-motif \
                         --enable-quicktime \
                         --enable-alsa \
                         --enable-lirc \
                         --enable-gl \
                         --enable-zvbi \
                         --enable-xft \
                         --prefix=/usr \
                         --enable-aa")
                         # --enable-mmx \ # let the build decide it

def build():
    autotools.make()

def install():
    autotools.install("libdir=%(D)s/usr/lib/xawtv \
                       resdir=%(D)s/etc/X11" % {"D": get.installDIR()})

    pisitools.dobin("x11/v4lctl")
    pisitools.dodoc("COPYING", "Changes", "README*", "TODO")

    pisitools.removeDir("/usr/share/man/fr")
    pisitools.removeDir("/usr/share/man/es")

    pisitools.dodir("/usr/share/xawtv")
    pisitools.domove("/usr/share/*.list", "/usr/share/xawtv/")
    pisitools.domove("/usr/share/Index*", "/usr/share/xawtv/")

    shelltools.chmod("contrib/xawtv48x48.xpm", 0644)
    pisitools.insinto("/usr/share/pixmaps", "contrib/xawtv48x48.xpm", "xawtv.xpm")


code:
--- console/Subdir.mk.orig	2011-09-05 20:26:02.000000000 +0300
+++ console/Subdir.mk	2011-09-10 14:13:33.887999993 +0300
@@ -88,6 +88,10 @@
 console/scantv   : LDFLAGS := $(DLFLAGS)
 console/streamer : LDFLAGS := $(DLFLAGS)
 console/webcam   : LDFLAGS := $(DLFLAGS)
+console/v4l-conf : LDFLAGS := $(DLFLAGS) -pie
+
+# compile flags
+console/v4l-conf : CFLAGS += -fPIE

 # global targets
 all:: $(TARGETS-console) $(TARGETS-v4l-conf)


code:
diff -uNr xawtv-3.100.orig/common/channel.c xawtv-3.100/common/channel.c
--- xawtv-3.100.orig/common/channel.c	2011-02-22 07:56:44.000000000 +0200
+++ xawtv-3.100/common/channel.c	2011-05-07 15:35:34.948000119 +0300
@@ -181,6 +181,9 @@
     {  -1, NULL,     },
 };

+extern struct STRTAB booltab[];
+extern struct STRTAB captab[];
+
 /* just malloc memory for a new channel ... */
 struct CHANNEL*
 add_channel(char *name)
diff -uNr xawtv-3.100.orig/common/channel.h xawtv-3.100/common/channel.h
--- xawtv-3.100.orig/common/channel.h	2011-02-22 07:56:44.000000000 +0200
+++ xawtv-3.100/common/channel.h	2011-05-07 15:36:33.398000163 +0300
@@ -90,8 +90,5 @@

 /* ----------------------------------------------------------------------- */

-extern struct STRTAB booltab[];
-extern struct STRTAB captab[];
-
 int str_to_int(char *str, struct STRTAB *tab);
 const char* int_to_str(int n, struct STRTAB *tab);
diff -uNr xawtv-3.100.orig/common/commands.c xawtv-3.100/common/commands.c
--- xawtv-3.100.orig/common/commands.c	2011-02-22 07:56:44.000000000 +0200
+++ xawtv-3.100/common/commands.c	2011-05-07 15:37:07.600000117 +0300
@@ -162,6 +162,9 @@

 static int keypad_state = -1;

+extern struct STRTAB booltab[];
+extern struct STRTAB captab[];
+
 /* ----------------------------------------------------------------------- */

 void add_attrs(struct ng_attribute *new)


code:
[Desktop Entry]
Encoding=UTF-8
Icon=xawtv.xpm
Exec=xawtv
Name=XawTV
Name[tr]=XawTV
GenericName=Television Viewer
GenericName[tr]=Televizyon Uygulaması
Terminal=false
Type=Application
Categories=Application;AudioVideo;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xawtv</Name>
        <Homepage>http://linuxtv.org/downloads/xawtv/</Homepage>
        <Packager>
            <Name>Erdinc Gultekin</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>xawtv</Icon>
        <IsA>app:gui</IsA>
        <PartOf>multimedia.tv</PartOf>
        <Summary>TV application</Summary>
        <Description>xawtv is a TV application that supports many interfaces (analog video streams), such as Xvideo, v4l2 and bktr etc. It can display TV streams and record them.</Description>
        <Archive sha1sum="5e15a279c75d02b36f7e3699d5cc8ce285c2a9be" type="tarbz2">http://linuxtv.org/downloads/xawtv/xawtv-3.103.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libquicktime-devel</Dependency>
            <Dependency>openmotif-devel</Dependency>
            <Dependency>libdv-devel</Dependency>
            <Dependency>zvbi-devel</Dependency>
            <Dependency>lirc-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>xorg-font</Dependency>
            <Dependency>libXxf86dga-devel</Dependency>
            <Dependency>libdv</Dependency>
            <Dependency>libXpm-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
            <Dependency>libXmu-devel</Dependency>
            <Dependency>libFS-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libXft-devel</Dependency>
            <Dependency>libXaw-devel</Dependency>
            <Dependency>zvbi-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libexplain-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>gpm</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">v4l-conf_non-position-independent-executable_fix.patch</Patch>
            <Patch level="1">xawtv-3.95.patch</Patch>
        </Patches>
      </Source>

    <Package>
        <Name>xawtv</Name>
        <RuntimeDependencies>
            <Dependency>gpm</Dependency>
            <Dependency>zvbi</Dependency>
            <Dependency>lirc</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>aalib</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libdv</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libXmu</Dependency>
            <Dependency>libXaw</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libXpm</Dependency>
            <Dependency>libXft</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>xorg-font</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXxf86vm</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libexplain</Dependency>
            <Dependency>libXxf86dga</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libquicktime</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/xawtv</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/xawtv</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/xawtv.desktop">xawtv.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-15</Date>
            <Version>3.103</Version>
            <Comment>Add Dependency.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.103</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-09</Date>
            <Version>3.103</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
      </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>xawtv</Name>
        <Summary xml:lang="tr">TV uygulaması</Summary>
        <Description xml:lang="tr">xawtv Xvideo, v4l2, bktr gibi birçok arayüzü destekleyen bir TV uygulamasıdır. xawtv ayrıca video kayıt yeteneği ve birkaç yararlı konsol aracına sahiptir.</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

def setup():
    shelltools.export("AUTOPOINT", "/bin/true")
    autotools.autoreconf("-vfi")
    autotools.configure("--disable-static \
                         --enable-nls \
                         --with-x \
                         --enable-v4l \
                         --enable-dvb \
                         --with-doxygen")

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
diff -Naur zvbi-0.2.31/src/Makefile.am zvbi-0.2.31.oden/src/Makefile.am
--- zvbi-0.2.31/src/Makefile.am	2008-02-19 01:35:14.000000000 +0100
+++ zvbi-0.2.31.oden/src/Makefile.am	2008-11-08 13:11:22.000000000 +0100
@@ -119,6 +119,8 @@
 	proxy-client.c \
 	proxy-msg.c

+libzvbi_chains_la_LIBADD = -ldl
+
 if MAINTAINER_MODE

 hammgen: hammgen.c
diff -Naur zvbi-0.2.31/src/Makefile.in zvbi-0.2.31.oden/src/Makefile.in
--- zvbi-0.2.31/src/Makefile.in	2008-07-25 08:20:51.000000000 +0200
+++ zvbi-0.2.31.oden/src/Makefile.in	2008-11-08 13:11:07.000000000 +0100
@@ -62,7 +62,7 @@
 	"$(DESTDIR)$(libzvbiincludedir)"
 libLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
-libzvbi_chains_la_LIBADD =
+libzvbi_chains_la_LIBADD = -ldl
 am_libzvbi_chains_la_OBJECTS = chains.lo io.lo misc.lo proxy-client.lo \
 	proxy-msg.lo
 libzvbi_chains_la_OBJECTS = $(am_libzvbi_chains_la_OBJECTS)


code:
Index: configure.in
===================================================================
--- configure.in
+++ configure.in	2009-05-27 10:33:24.000000000 +0200
@@ -6,6 +6,17 @@

 AM_INIT_AUTOMAKE([1.9 check-news dist-bzip2])
 AM_CONFIG_HEADER(config.h)
+
+dnl AM_ACLOCAL_INCLUDE(macrodir)
+AC_DEFUN([AM_ACLOCAL_INCLUDE],
+[
+    AM_CONDITIONAL(INSIDE_GNOME_COMMON, test x = y)
+
+    test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
+
+    for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done
+])
+
 AM_ACLOCAL_INCLUDE(m4)
 AM_MAINTAINER_MODE


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>zvbi</Name>
        <Homepage>http://zapping.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        VBI Decoding Library for Zapping
        <Description>Zapping is a TV viewer for the Gnome desktop. With Zapping and a TV card you can watch TV, take screenshots, and record video and audio. Zapping supports Closed Caption and Teletext subtitles.</Description>
        <Archive sha1sum="b0fc8d596c90d603e883e6b195318c6b276a3eb4" type="tarbz2">mirrors://sourceforge/zapping/zvbi-0.2.35.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">zvbi-0.2.31-linkage_fix.diff</Patch>

	    <Patch level="0">zvbi-0.2.7-fix-build.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>zvbi</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/zvbi</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>0.2.35</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.2.35</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-27</Date>
            <Version>0.2.35</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>zvbi</Name>
        Zapping uygulaması için VBI çözücü kütüphanesi
        <Description xml:lang="tr">Zapping Gnome masaüstü için bir televizyon göstericisidir. Zapping ve bir TV kartı ile TV seyredebilir, ekran resmi çekebilir ve video ve audio kaydedebilirsiniz. Zapping Kapalı Çekim (Closed Capture) ve Teletex altyazılarını desteklemektedir.</Description>
        <Description xml:lang="fr">Zapping est un lecteur TV pour le bureau Gnome. Avec Zapping et une carte TV vous pouvez, voir la télévision, faire des copies d'écran et effectuer des enregistrements audio et vidéo. Zapping gère les sous-titres et le télétexte.</Description>
        <Description xml:lang="es">Zapping es un visualizador de TV para el escritorio Gnome. Con Zapping y una tarjeta de TV puede mirar la tele, capturar pantallas, grabar video y audio. Zapping soporta subtitulos teletext y Closed Caption.</Description>
    </Source>

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


code:
<PISI>
    <Name>multimedia.video</Name>
</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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

WorkDir = "crystalhd"

def build():
    #libcrystalhd and crystalhd-firmware
    shelltools.cd('linux_lib/libcrystalhd')
    autotools.make('clean')
    autotools.make()

def install():
    pisitools.dodoc('COPYING')
    #libcrystalhd and crystalhd-firmware
    shelltools.cd('linux_lib/libcrystalhd')
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>crystalhd</Name>
        <Homepage>http://www.broadcom.com/support/crystal_hd/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Drivers for Broadcom's BCM70012 and BCM70015 Crystal HD</Summary>
        <Description>Drivers for Broadcom's BCM70012 and BCM70015 Crystal HD</Description>
        <Archive sha1sum="31616471614451730ba927471d7a2403dc333927" type="tarlzma">http://source.pisilinux.org/1.0/crystalhd.tar.xz</Archive>
    </Source>
    <Package>
        <Name>libcrystalhd</Name>
        <Files>
            <Path fileType="library">/usr/lib/libcrystalhd.so</Path>
            <Path fileType="library">/usr/lib/libcrystalhd.so.3</Path>
            <Path fileType="library">/usr/lib/libcrystalhd.so.3.6</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    <Package>
        <Name>libcrystalhd-devel</Name>
        <RuntimeDependencies>
            <Dependency version="current">libcrystalhd</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libcrystalhd/bc_dts_defs.h</Path>
            <Path fileType="header">/usr/include/libcrystalhd/bc_dts_types.h</Path>
            <Path fileType="header">/usr/include/libcrystalhd/libcrystalhd_if.h</Path>
            <Path fileType="header">/usr/include/libcrystalhd/libcrystalhd_version.h</Path>
        </Files>
    </Package>
    <Package>
        <Name>crystalhd-firmware</Name>
        <Files>
            <Path fileType="data">/lib/firmware</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-06</Date>
            <Version>20100703</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>20100703</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>20100703</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>crystalhd</Name>
        Broadcom BCM70012 ve BCM70015 için Crystal HD sürücüleri
        <Description xml:lang="tr">Broadcom BCM70012 ve BCM70015 için Crystal HD sürücüleri</Description>
    </Source>
    <Package>
        <Name>libcrystalhd</Name>
        Broadcom Crystal HD için kütüphane
    </Package>
    <Package>
        <Name>libcrystalhd-devel</Name>
        Broadcom Crystal HD için geliştirici dosyaları
    </Package>
    <Package>
        <Name>crystalhd-firmware</Name>
        Broadcom Crystal HD firmware dosyaları
    </Package>
</PISI>