This commit is contained in:
Poyraz76
2015-08-20 17:12:15 +03:00
parent 424c761565
commit 566aef2b42
6 changed files with 186 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
WorkDir = "lash-0.6.0.594"
def setup():
shelltools.export("CFLAGS", "%s -D_GNU_SOURCE -ldl -ldm -lm -lreadline" % get.CFLAGS())
#fix unused direct deps.
autotools.autoreconf("-fi")
autotools.configure("--disable-static --disable-serv-inst")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "")
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.chmod("%s/usr/lib/%s/site-packages/lash.py" % (get.installDIR(), get.curPYTHON()), 0644)
for s in ("16", "24", "48", "96"):
pisitools.dodir("/usr/share/icons/hicolor/%sx%s/apps" % (s, s))
pisitools.domove("usr/share/lash/icons/lash_%spx.png" % s, "/usr/share/icons/hicolor/%sx%s/apps" % (s, s), "lash.png")
pisitools.domove("usr/share/lash/icons/lash.svg", "/usr/share/icons/hicolor/scalable/apps")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README*", "TODO")
@@ -0,0 +1,14 @@
--- docs/Makefile.am.orig 2006-10-05 10:28:28.000000000 +0200
+++ docs/Makefile.am 2012-07-03 09:59:46.000000000 +0200
@@ -18,9 +18,9 @@
mkdir -lash-manual-html-split; \
fi
cd lash-manual-html-one-page && \
- texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
+ texi2html ../$(top_srcdir)/docs/lash-manual.texi
cd lash-manual-html-split && \
- texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+ texi2html --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
touch html-manual-stamp
CLEANFILES = html-manual-stamp lash-manual.cps
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=LASH Panel
GenericName=LASH Control Panel
GenericName[tr]=LASH Kontrol Paneli
Comment=LASH Control Panel
Comment[tr]=LASH Kontrol Paneli
Categories=Application;AudioVideo;
Icon=lash.png
Exec=/usr/bin/lash_panel
Terminal=false
Type=Application
@@ -0,0 +1,14 @@
--- docs/Makefile.in.orig 2008-11-09 22:45:28.000000000 +0100
+++ docs/Makefile.in 2011-07-23 17:12:26.000000000 +0200
@@ -527,9 +527,9 @@
@HAVE_TEXI2HTML_TRUE@ mkdir -lash-manual-html-split; \
@HAVE_TEXI2HTML_TRUE@ fi
@HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-one-page && \
-@HAVE_TEXI2HTML_TRUE@ texi2html --number ../$(top_srcdir)/docs/lash-manual.texi
+@HAVE_TEXI2HTML_TRUE@ texi2html --number-footnotes --number-sections ../$(top_srcdir)/docs/lash-manual.texi
@HAVE_TEXI2HTML_TRUE@ cd lash-manual-html-split && \
-@HAVE_TEXI2HTML_TRUE@ texi2html --number --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
+@HAVE_TEXI2HTML_TRUE@ texi2html --number-footnotes --number-sections --split=chapter ../$(top_srcdir)/docs/lash-manual.texi
@HAVE_TEXI2HTML_TRUE@ touch html-manual-stamp
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
+93
View File
@@ -0,0 +1,93 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lash</Name>
<Homepage>http://savannah.nongnu.org/projects/lash</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<Icon>lash</Icon>
<IsA>library</IsA>
<IsA>app:gui</IsA>
<Summary>LASH Audio Session Handler</Summary>
<Description>LASH is a session management system for JACK and ALSA audio applications on GNU/Linux. It allows you to save and restore audio sessions consisting of multiple interconneced applications, restoring program state (i.e. loaded patches) and the connections between them.</Description>
<Archive sha1sum="b683424683c41c082ebcf58ed38cd2f34f9ed5e5" type="tarbz2">http://download.savannah.gnu.org/releases/lash/lash-0.6.0~rc2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>jack-audio-connection-kit-devel</Dependency>
<Dependency>dmapi-devel</Dependency>
<Dependency>texi2html</Dependency>
</BuildDependencies>
<Patches>
<Patch level="0">makefile.patch</Patch>
<Patch level="0">docs-Makefile.patch</Patch>
</Patches>
</Source>
<Package>
<Name>lash</Name>
<RuntimeDependencies>
<Dependency>alsa-lib</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
<Dependency>dmapi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/lash-panel.desktop" permission="0644" owner="root">lash-panel.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>lash-devel</Name>
<Summary>Development files for lash</Summary>
<RuntimeDependencies>
<Dependency release="current">lash</Dependency>
<Dependency>alsa-lib-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-26</Date>
<Version>0.6.0_rc2</Version>
<Comment>Rebuild</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="3">
<Date>2014-02-25</Date>
<Version>0.6.0_rc2</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-29</Date>
<Version>0.6.0_rc2</Version>
<Comment>missing dep,update</Comment>
<Name>Erdinç gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-29</Date>
<Version>0.6.0_rc2</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>osman.erkan@yandex.xom</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>lash</Name>
<Summary xml:lang="tr">LASH Ses Oturum Yöneticisi</Summary>
<Description xml:lang="tr">LASH GNU/Linux'taki JACK ve ALSA ses uygulamaları için bir ses oturumu yönetim sistemidir. Bir çok birbirine bağlı uygulamanın ses oturumunu kaydedip, geri yüklemenize, program durumunu (örneğin yüklenmiş yamalar) ve aralarındaki bağlantıları geri yüklemenize olanak tanır.</Description>
</Source>
<Package>
<Name>lash-devel</Name>
<Summary xml:lang="tr">lash için geliştirme dosyaları</Summary>
</Package>
</PISI>