From 566aef2b42e3115c7ac97d2273cca76c44ad83f1 Mon Sep 17 00:00:00 2001 From: Poyraz76 Date: Thu, 20 Aug 2015 17:12:15 +0300 Subject: [PATCH] lash --- multimedia/sound/lash/actions.py | 41 ++++++++ .../sound/lash/files/docs-Makefile.patch | 14 +++ .../sound/lash/files/lash-panel.desktop | 11 +++ multimedia/sound/lash/files/makefile.patch | 14 +++ multimedia/sound/lash/pspec.xml | 93 +++++++++++++++++++ multimedia/sound/lash/translations.xml | 13 +++ 6 files changed, 186 insertions(+) create mode 100644 multimedia/sound/lash/actions.py create mode 100644 multimedia/sound/lash/files/docs-Makefile.patch create mode 100644 multimedia/sound/lash/files/lash-panel.desktop create mode 100644 multimedia/sound/lash/files/makefile.patch create mode 100644 multimedia/sound/lash/pspec.xml create mode 100644 multimedia/sound/lash/translations.xml diff --git a/multimedia/sound/lash/actions.py b/multimedia/sound/lash/actions.py new file mode 100644 index 0000000000..8091858b6c --- /dev/null +++ b/multimedia/sound/lash/actions.py @@ -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") diff --git a/multimedia/sound/lash/files/docs-Makefile.patch b/multimedia/sound/lash/files/docs-Makefile.patch new file mode 100644 index 0000000000..071026eab6 --- /dev/null +++ b/multimedia/sound/lash/files/docs-Makefile.patch @@ -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 \ No newline at end of file diff --git a/multimedia/sound/lash/files/lash-panel.desktop b/multimedia/sound/lash/files/lash-panel.desktop new file mode 100644 index 0000000000..22a97bb7c1 --- /dev/null +++ b/multimedia/sound/lash/files/lash-panel.desktop @@ -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 diff --git a/multimedia/sound/lash/files/makefile.patch b/multimedia/sound/lash/files/makefile.patch new file mode 100644 index 0000000000..34f413811c --- /dev/null +++ b/multimedia/sound/lash/files/makefile.patch @@ -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. \ No newline at end of file diff --git a/multimedia/sound/lash/pspec.xml b/multimedia/sound/lash/pspec.xml new file mode 100644 index 0000000000..5c5b6d256c --- /dev/null +++ b/multimedia/sound/lash/pspec.xml @@ -0,0 +1,93 @@ + + + + + lash + http://savannah.nongnu.org/projects/lash + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + lash + library + app:gui + LASH Audio Session Handler + 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. + http://download.savannah.gnu.org/releases/lash/lash-0.6.0~rc2.tar.bz2 + + alsa-lib-devel + gtk2-devel + jack-audio-connection-kit-devel + dmapi-devel + texi2html + + + makefile.patch + docs-Makefile.patch + + + + + lash + + alsa-lib + gtk2 + jack-audio-connection-kit + dmapi + + + /usr/bin + /usr/lib + /usr/share/doc + /usr/share + + + lash-panel.desktop + + + + + lash-devel + Development files for lash + + lash + alsa-lib-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-26 + 0.6.0_rc2 + Rebuild + Kamil Atlı + suvarice@gmail.com + + + 2014-02-25 + 0.6.0_rc2 + Rebuild Unused + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-08-29 + 0.6.0_rc2 + missing dep,update + Erdinç gültekin + erdincgultekin@pisilinux.org + + + 2012-12-29 + 0.6.0_rc2 + First release + PisiLinux Community + osman.erkan@yandex.xom + + + diff --git a/multimedia/sound/lash/translations.xml b/multimedia/sound/lash/translations.xml new file mode 100644 index 0000000000..1f8d3da4a3 --- /dev/null +++ b/multimedia/sound/lash/translations.xml @@ -0,0 +1,13 @@ + + + + lash + LASH Ses Oturum Yöneticisi + 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. + + + + lash-devel + lash için geliştirme dosyaları + +