music player daemon.

This commit is contained in:
4fury-c3440d8
2020-12-13 08:50:58 +00:00
parent d73bd33008
commit c3e440a411
22 changed files with 868 additions and 221 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
mesontools.configure("-Dtcp=true")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.rst")
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmpdclient</Name>
<Homepage>https://www.musicpd.org/libs/libmpdclient/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<PartOf>multimedia.plugin</PartOf>
<Summary>C library to implement a MPD client</Summary>
<Description>
A stable, documented, asynchronous API library for interfacing MPD in the C, C++ and Objective C languages.
</Description>
<Archive sha1sum="37c769a25d24b7c0172aa1256c520b1b7191351d" type="tarxz">
https://musicpd.org/download/libmpdclient/2/libmpdclient-2.19.tar.xz
</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmpdclient</Name>
<RuntimeDependencies>
<Dependency>vala</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libmpdclient-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libmpdclient</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>2.19</Version>
<Comment>First Beta release.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,22 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libmpdclient</Name>
<Summary xml:lang="tr">MPD için istemci geliştirme kitaplığı</Summary>
<Summary xml:lang="pl">Biblioteka kliencka MPD</Summary>
<Description xml:lang="tr">libmpdclient, MPD etkileşimi için C, C++ ve Object C dillerinde kullanılabilen istikrarlı, belgelendirilmiş, asenkron bir kitaplıktır.</Description>
<Description xml:lang="pl">Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).</Description>
</Source>
<Package>
<Name>libmpdclient-devel</Name>
<Summary xml:lang="tr">libmpdclient için geliştirme dosyaları</Summary>
<Summary xml:lang="pl">Pliki naglowkowe do libmpdclient</Summary>
</Package>
<Package>
<Name>libmpdclient-docs</Name>
<Summary xml:lang="tr">libmpdclient yardım ve API belgeleri</Summary>
</Package>
</PISI>
+8 -7
View File
@@ -2,21 +2,22 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
#shelltools.system("./bootstrap")
autotools.configure("--disable-static")
shelltools.system("./bootstrap")
autotools.configure("--disable-static")
def build():
autotools.make()
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO")
pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README", "TODO")
+90 -82
View File
@@ -1,87 +1,95 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>faac</Name>
<Homepage>https://github.com/knik0/faac</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>MPEG-4 audio codecs</Summary>
<Description>Free MPEG-4 audio codecs by AudioCoding.com.</Description>
<Archive sha1sum="35ed1059f34bd411c80e9a8745eddf16c112be69" type="targz">mirrors://sourceforge/faac/faac-1.29.9.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>libmp4v2-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">mp4v2-1.9.patch</Patch> -->
<!-- <Patch level="0">mp4v2-2.0.0.patch</Patch> -->
<!-- <Patch level="0">altivec.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>faac</Name>
<RuntimeDependencies>
<Dependency>libmp4v2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/faac</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Source>
<Name>faac</Name>
<Homepage>https://github.com/knik0/faac</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>MPEG-4 audio codecs</Summary>
<Description>Free MPEG-4 audio codecs by AudioCoding.com.</Description>
<Archive sha1sum="a07f7f5d700f9aa15fb70276c9ae2199c4cfc2cb" type="targz">
https://ftp.osuosl.org/pub/blfs/conglomeration/faac/faac-1_30.tar.gz
</Archive>
<BuildDependencies>
<Dependency>libmp4v2-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">missing.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>faac</Name>
<RuntimeDependencies>
<Dependency>libmp4v2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>faac-devel</Name>
<Summary>Development files for faac</Summary>
<RuntimeDependencies>
<Dependency release="current">faac</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<Package>
<Name>faac-devel</Name>
<Summary>Development files for faac.</Summary>
<RuntimeDependencies>
<Dependency release="current">faac</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-01-18</Date>
<Version>1.29.9.2</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-01</Date>
<Version>1.29.9.2</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-02-12</Date>
<Version>1.28</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>1.28</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-12-14</Date>
<Version>1.28</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
<History>
<Update release="6">
<Date>2020-12-13</Date>
<Version>1.30</Version>
<Comment>Ver. bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2020-01-18</Date>
<Version>1.29.9.2</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-01</Date>
<Version>1.29.9.2</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-02-12</Date>
<Version>1.28</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>1.28</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-12-14</Date>
<Version>1.28</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8 -8
View File
@@ -1,12 +1,12 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>faac</Name>
<Summary xml:lang="tr">Özgür MPEG-4 ses codecleri</Summary>
</Source>
<Source>
<Name>faac</Name>
<Summary xml:lang="tr">Özgür MPEG-4 ses codecleri</Summary>
</Source>
<Package>
<Name>faac-devel</Name>
<Summary xml:lang="tr">faac için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>faac-devel</Name>
<Summary xml:lang="tr">faac için geliştirme dosyaları</Summary>
</Package>
</PISI>
+7 -8
View File
@@ -4,21 +4,20 @@
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
#pisitools.dosed("libfaad/Makefile.am", "iquote ", "I")
autotools.autoreconf("-vfi")
autotools.configure("--without-xmms \
--disable-static")
shelltools.system("./bootstrap")
autotools.configure("--without-xmms --disable-static")
def build():
autotools.make()
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README*")
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
+98 -91
View File
@@ -1,97 +1,104 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>faad2</Name>
<Homepage>https://github.com/knik0/faad2</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>MPEG2 and MPEG4 AAC decoder</Summary>
<Description>FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.</Description>
<Archive sha1sum="0d49c516d4a83c39053a9bd214fddba72cbc34ad" type="targz">https://downloads.sourceforge.net/faac/faad2-2.8.8.tar.gz</Archive>
<BuildDependencies>
<!-- <Dependency>libmp4v2-devel</Dependency> -->
</BuildDependencies>
<Patches>
<!--
<Patch level="1">faad2-2.7-libmp4ff-shared-lib.patch</Patch>
<Patch level="1">faad2-2.7-man1_MANS.patch</Patch>
<Patch>faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch</Patch>
-->
</Patches>
</Source>
<Source>
<Name>faad2</Name>
<Homepage>https://github.com/knik0/faad2</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>Freeware Advanced Audio (AAC) Decoder including SBR decoding.</Summary>
<Description>FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder. FAAD2 includes code for SBR (HE AAC) decoding. FAAD2 is licensed under the GPL.</Description>
<Archive sha1sum="7f2666d3aa891cb923d97cec1d73365944338f79" type="targz">
https://ftp.osuosl.org/pub/blfs/conglomeration/faad2/faad2-2_10_0.tar.gz
</Archive>
<BuildDependencies>
<!-- <Dependency></Dependency> -->
</BuildDependencies>
<Patches>
<!-- <Patch>missing.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>faad2</Name>
<RuntimeDependencies>
<!-- <Dependency>libmp4v2</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/faad2</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>faad2</Name>
<RuntimeDependencies>
<!-- <Dependency></Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>faad2-devel</Name>
<Summary>Development files for faad2</Summary>
<RuntimeDependencies>
<Dependency release="current">faad2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<Package>
<Name>faad2-devel</Name>
<Summary>Development files for faad2.</Summary>
<RuntimeDependencies>
<Dependency release="current">faad2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2020-03-03</Date>
<Version>2.8.8</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2020-01-18</Date>
<Version>2.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-01</Date>
<Version>2.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-02-12</Date>
<Version>2.7</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.7</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>2.7</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
<History>
<Update release="7">
<Date>2020-12-13</Date>
<Version>2.10</Version>
<Comment>Ver. bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2020-03-03</Date>
<Version>2.8.8</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2020-01-18</Date>
<Version>2.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-08-01</Date>
<Version>2.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-02-12</Date>
<Version>2.7</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.7</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>2.7</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+9 -9
View File
@@ -1,13 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>faad2</Name>
<Summary xml:lang="tr">AAC yorumlayıcı</Summary>
<Description xml:lang="tr">FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür.</Description>
</Source>
<Source>
<Name>faad2</Name>
<Summary xml:lang="tr">AAC yorumlayıcı</Summary>
<Description xml:lang="tr">FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür.</Description>
</Source>
<Package>
<Name>faad2-devel</Name>
<Summary xml:lang="tr">faad2 için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>faad2-devel</Name>
<Summary xml:lang="tr">faad2 için geliştirme dosyaları</Summary>
</Package>
</PISI>
+105
View File
@@ -0,0 +1,105 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
# pisitools.dosed("doc/meson.build", "sphinx-build", "sphinx-build3")
pisitools.ldflags.add("-lbsd")
pisitools.cxxflags.add("-lbsd")
mesontools.configure("-Ddocumentation=enabled -Dfifo=false \
\
-Dtcp=true \
-Ddsd=true \
-Dcue=true \
-Dpipe=true \
-Dhttpd=true \
-Depoll=true \
-Ddaemon=true \
-Dinotify=true \
-Deventfd=true \
-Dsignalfd=true \
-Drecorder=true \
-Ddatabase=true \
-Dneighbor=true \
-Dwave_encoder=true \
-Dlocal_socket=true \
\
-Dao=enabled \
-Dgme=enabled \
-Dmad=enabled \
-Dmms=enabled \
-Dnfs=enabled \
-Dicu=enabled \
-Doss=enabled \
-Dfaad=enabled \
-Dflac=enabled \
-Dipv6=enabled \
-Dupnp=enabled \
-Dcurl=enabled \
-Dalsa=enabled \
-Dopus=enabled \
-Dlame=enabled \
-Djack=enabled \
-Dsoxr=enabled \
-Ddbus=enabled \
-Dpcre=enabled \
-Dyajl=enabled \
-Dzlib=enabled \
-Dzzip=enabled \
-Dqobuz=enabled \
-Dtidal=enabled \
-Diconv=enabled \
-Dshout=enabled \
-Dbzip2=enabled \
-Dshine=enabled \
-Dpulse=enabled \
-Dexpat=enabled \
-Dopenal=enabled \
-Dmpg123=enabled \
-Dvorbis=enabled \
-Dudisks=enabled \
-Dwebdav=enabled \
-Dmpcdec=enabled \
-Dffmpeg=enabled \
-Dmikmod=enabled \
-Did3tag=enabled \
-Dsqlite=enabled \
-Dmodplug=enabled \
-Dwavpack=enabled \
-Dtwolame=enabled \
-Diso9660=enabled \
-Dsndfile=enabled \
-Dsmbclient=enabled \
-Daudiofile=enabled \
-Dvorbisenc=enabled \
-Dfluidsynth=enabled \
-Dsoundcloud=enabled \
-Dchromaprint=enabled \
-Dlibmpdclient=enabled \
-Dlibsamplerate=enabled \
-Dcdio_paranoia=enabled \
-Dsolaris_output=enabled \
\
-Dzeroconf=auto \
\
-Dsndio=disabled \
-Dadplug=disabled \
-Dtremor=disabled \
-Dsidplay=disabled \
-Dsystemd=disabled \
-Dwildmidi=disabled")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.insinto("/etc", "doc/mpdconf.example", "mpd.conf")
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
for d in ["/var/lib/mpd", "/var/lib/mpd/.mpd", "/var/lib/mpd/.mpd/playlists", "/var/lib/mpd/.mpd/music"]:
if not os.path.exists(d):
os.mkdir(d)
# $ id nobody
# uid=250(mpd) gid=18(audio)
os.chown(d, 250, 18)
os.chmod(d, 0750)
os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/mpd.conf")
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
serviceType = "server"
serviceDesc = \
\
_({"en": "Music Player Daemon",
"tr": "Müzik Çalıcı Sunucusu"})
from comar.service import *
import re
import os
PIDFILE = "/run/mpd/mpd.pid"
@synchronized
def start():
startService(command="/usr/bin/mpd",
args="/etc/mpd.conf",
pidfile=PIDFILE,
donotify=True)
@synchronized
def stop():
stopService(PIDFILE,
donotify=True)
def status():
return isServiceRunning(PIDFILE)
@@ -0,0 +1 @@
d /run/mpd 0755 mpd audio
+167
View File
@@ -0,0 +1,167 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mpd</Name>
<Homepage>https://www.musicpd.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<PartOf>multimedia.stream</PartOf>
<Summary>Music Player Daemon.</Summary>
<Description>
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol.
</Description>
<Archive sha1sum="30bb8adcb6665fa3863f181f14a513209876297a" type="tarxz">
https://www.musicpd.org/download/mpd/0.22/mpd-0.22.3.tar.xz
</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>cmake</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>flac-devel</Dependency>
<Dependency>yajl-devel</Dependency>
<Dependency>lame-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>samba-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>avahi-devel</Dependency>
<Dependency>faad2-devel</Dependency>
<Dependency>libao-devel</Dependency>
<Dependency>shine-devel</Dependency>
<Dependency>libmms-devel</Dependency>
<Dependency>mpg123-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libgme-devel</Dependency>
<Dependency>libmad-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>libnfs-devel</Dependency>
<Dependency>libcdio-devel</Dependency>
<Dependency>libopus-devel</Dependency>
<Dependency>libsoxr-devel</Dependency>
<Dependency>libupnp-devel</Dependency>
<Dependency>twolame-devel</Dependency>
<Dependency>wavpack-devel</Dependency>
<Dependency>zziplib-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libshout-devel</Dependency>
<Dependency>liburing-devel</Dependency>
<Dependency>libmpcdec-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>audiofile-devel</Dependency>
<Dependency>libid3tag-devel</Dependency>
<Dependency>libmikmod-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>fluidsynth-devel</Dependency>
<Dependency>libmodplug-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>libmpdclient-devel</Dependency>
<Dependency>libsamplerate-devel</Dependency>
<Dependency>libchromaprint-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>libcdio-paranoia-devel</Dependency>
<Dependency>jack-audio-connection-kit-devel</Dependency>
<!-- for documentation build. -->
<Dependency>python3-six</Dependency>
<Dependency>python3-Babel</Dependency>
<Dependency>python3-sphinx</Dependency>
<Dependency>python3-certifi</Dependency>
<Dependency>python3-requests</Dependency>
<Dependency>python3-imagesize</Dependency>
<Dependency>python3-snowballstemmer</Dependency>
<Dependency>python3-sphinx-alabaster-theme</Dependency>
<Dependency>python3-sphinxcontrib-websupport</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>mpd</Name>
<RuntimeDependencies>
<Dependency>curl</Dependency>
<Dependency>flac</Dependency>
<Dependency>yajl</Dependency>
<Dependency>lame</Dependency>
<Dependency>zlib</Dependency>
<Dependency>dbus</Dependency>
<Dependency>boost</Dependency>
<Dependency>expat</Dependency>
<Dependency>samba</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>avahi</Dependency>
<Dependency>faad2</Dependency>
<Dependency>libao</Dependency>
<Dependency>shine</Dependency>
<Dependency>libmms</Dependency>
<Dependency>mpg123</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>openal</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libgme</Dependency>
<Dependency>libmad</Dependency>
<Dependency>libogg</Dependency>
<Dependency>libnfs</Dependency>
<Dependency>libcdio</Dependency>
<Dependency>libopus</Dependency>
<Dependency>libsoxr</Dependency>
<Dependency>libupnp</Dependency>
<Dependency>twolame</Dependency>
<Dependency>wavpack</Dependency>
<Dependency>zziplib</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>libshout</Dependency>
<Dependency>liburing</Dependency>
<Dependency>libmpcdec</Dependency>
<Dependency>libgcrypt</Dependency>
<Dependency>audiofile</Dependency>
<Dependency>libid3tag</Dependency>
<Dependency>libmikmod</Dependency>
<Dependency>libvorbis</Dependency>
<Dependency>avahi-libs</Dependency>
<Dependency>fluidsynth</Dependency>
<Dependency>libmodplug</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>libmpdclient</Dependency>
<Dependency>libsamplerate</Dependency>
<Dependency>libchromaprint</Dependency>
<Dependency>pulseaudio-libs</Dependency>
<Dependency>libcdio-paranoia</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<!-- <Path fileType="data">/usr/lib/tmpfiles.d/</Path> -->
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
<AdditionalFiles>
<!-- <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/mpd.conf">tmpfiles.conf</AdditionalFile> -->
</AdditionalFiles>
<Provides>
<!--
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
-->
</Provides>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>0.22.3</Version>
<Comment>First Beta release.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mpd</Name>
<Summary xml:lang="tr">Müzik Çalıcı Sunucusu (MPD)</Summary>
<Description xml:lang="tr">MPD çoğu müzik dosyasını (MP3, Ogg Vorbis, FLAC, AAC, Mod vs.) çalar ve ağda yayınlar.</Description>
</Source>
</PISI>
+4 -9
View File
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
@@ -10,21 +10,16 @@ from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static \
--without-docdir")
#FIXME: documentation is temporarily disabled since update release 7.
#--with-documentation=/usr/share/doc/%s" % get.srcNAME())
autotools.configure("--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
#def check():
#autotools.make("check")
def check():
autotools.make("-k check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#pisitools.remove("/usr/share/doc/libupnp/IXML_Programming_Guide.pdf")
#pisitools.remove("/usr/share/doc/libupnp/UPnP_Programming_Guide.pdf")
+15 -7
View File
@@ -1,24 +1,25 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libupnp</Name>
<Homepage>http://pupnp.sourceforge.net/</Homepage>
<Homepage>https://github.com/pupnp/pupnp</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Portable UPnP library</Summary>
<Summary>Portable UPnP library.</Summary>
<Description>The Universal Plug and Play (UPnP) SDK for Linux provides support for building UPnP-compliant control points, devices, and bridges on Linux.</Description>
<Archive sha1sum="6adb96f864bb030263b8b57b2ab4610eeddb37b5" type="tarbz2">https://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%201.6.25/libupnp-1.6.25.tar.bz2</Archive>
<Archive sha1sum="b14cff9ddd7cfe7f0e4bf552387122a31770f51f" type="tarbz2">
mirrors://sourceforge/pupnp/libupnp-1.14.0.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>kernel-headers</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">pthread-flag.patch</Patch> -->
<!-- <Patch>CVE-2016-6255.patch</Patch> -->
<!-- <Patch level="1">CVE-2020-13848.patch</Patch> -->
</Patches>
</Source>
@@ -32,7 +33,7 @@
<Package>
<Name>libupnp-devel</Name>
<Summary>Development files for libupnp</Summary>
<Summary>Development files for libupnp.</Summary>
<RuntimeDependencies>
<Dependency release="current">libupnp</Dependency>
</RuntimeDependencies>
@@ -43,6 +44,13 @@
</Package>
<History>
<Update release="5">
<Date>2020-12-13</Date>
<Version>1.14.0</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="4">
<Date>2018-08-07</Date>
<Version>1.6.25</Version>
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_DOCUMENTATION=ON \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_UTILS=ON -L \
"
def setup():
shelltools.system("./bootstrap")
cmaketools.configure(j)
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
for t in ["utils/nfs-cat", "utils/nfs-cp", "utils/nfs-ls"]:
pisitools.dobin(t)
pisitools.dodoc("COPYING", "README")
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnfs</Name>
<Homepage>https://github.com/sahlberg/libnfs</Homepage>
<Packager>
<Name>Mogyorósi Petra</Name>
<Email>squeakymouse@protonmail.com</Email>
</Packager>
<License>LGPLv2.1</License>
<License>GPLv3</License>
<License>BSDv2</License>
<PartOf>network.connection</PartOf>
<IsA>library</IsA>
<Summary>NFS client library</Summary>
<Description>LIBNFS is a client library for accessing NFS shares over a network.</Description>
<Archive sha1sum="004de9e12cf726d7d5fe09b7aa47d14c3703e70f" type="targz">
https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>libxslt</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libnfs</Name>
<Summary>NFS client library</Summary>
<RuntimeDependencies>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/libnfs.so</Path>
<Path fileType="library">/usr/lib/libnfs.so.11.0.0</Path>
<Path fileType="library">/usr/lib/libnfs.so.2.0.0</Path>
<Path fileType="man">/usr/share/man/*</Path>
<Path fileType="doc">/usr/share/doc/*</Path>
</Files>
</Package>
<Package>
<Name>libnfs-devel</Name>
<Summary>Development files for libnfs</Summary>
<RuntimeDependencies>
<Dependency>libnfs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/*</Path>
<Path fileType="config">/usr/lib/pkgconfig/*</Path>
<Path fileType="config">/usr/lib/cmake/*</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2020-12-13</Date>
<Version>4.0.0</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="1">
<Date>2018-07-03</Date>
<Version>3.0.0</Version>
<Comment>Latest revision from GitHub</Comment>
<Name>Mogyorósi Petra</Name>
<Email>squeakymouse@protonmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,10 @@
<PISI>
<Source>
<Name>libnfs</Name>
<Description xml:lang="hu">A libnfs egy NFS-kezelő könyvtár, ami háromféle módon tud hozzáférést nyújtani az NFS-szolgáltatásokhoz</Description>
</Source>
<Package>
<Name>libnfs-devel</Name>
<Summary xml:lang="hu">A libnfs fejlécei</Summary>
</Package>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, pisitools, get
def setup():
autotools.rawConfigure("--mandir=/usr/share/man")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README")
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>liburing</Name>
<Homepage>https://git.kernel.dk/cgit/liburing/</Homepage>
<Packager>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Packager>
<License>GPL</License>
<License>LGPL</License>
<License>MIT</License>
<IsA>library</IsA>
<PartOf>programming.library</PartOf>
<Summary>This is the io_uring library, liburing.</Summary>
<Description>liburing provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that don't need (or want) to deal with the full kernel side implementation.</Description>
<Archive sha1sum="5b30af49cd8620dd6c5b339fec26b3d2d9c843e7" type="tarbz2">
https://git.kernel.dk/cgit/liburing/snapshot/liburing-0.7.tar.bz2
</Archive>
<BuildDependencies>
<!-- <Dependency>glibc</Dependency> -->
</BuildDependencies>
</Source>
<Package>
<Name>liburing</Name>
<Conflicts>
<!-- <Package></Package> -->
</Conflicts>
<RuntimeDependencies>
<!-- <Dependency>glibc</Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
<AdditionalFiles>
<!-- <AdditionalFile owner="" permission="" target=""></AdditionalFile> -->
</AdditionalFiles>
<Provides>
<!-- <COMAR script=""></COMAR> -->
</Provides>
</Package>
<Package>
<Name>liburing-devel</Name>
<RuntimeDependencies>
<Dependency release="current">liburing</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>0.7</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>