Revision: 3092 Author: dominique Date: 2017-07-31 23:45:43 +0200 (Mon, 31 Jul 2017) Log Message: ----------- Ebuild from audio-overlay modified to satisfy the depens of proaudio
Modified Paths: -------------- trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST trunk/overlays/proaudio/00-PACKAGES-LIST Added Paths: ----------- trunk/overlays/proaudio/media-sound/ladish/ trunk/overlays/proaudio/media-sound/ladish/Manifest trunk/overlays/proaudio/media-sound/ladish/files/ trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-add-includes-for-getrlimit.patch trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-configure-libdir.patch trunk/overlays/proaudio/media-sound/ladish/files/ladish-configure-gladish.patch trunk/overlays/proaudio/media-sound/ladish/ladish-1.ebuild trunk/overlays/proaudio/media-sound/ladish/ladish-9999.ebuild trunk/overlays/proaudio/media-sound/ladish/metadata.xml
Modified: trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST =================================================================== --- trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST 2017-07-31 20:00:45 UTC (rev 3091) +++ trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST 2017-07-31 21:45:43 UTC (rev 3092) @@ -1666,6 +1666,14 @@ Homepage: http://www.notam02.no/arkiv/src +#------- media-sound/ladish -------- + ladish-1 arch: ~amd64 + ladish-9999 arch: ~amd64 + Description: LADI Session Handler - a session management + system for JACK applications + Homepage: https://github.com/LADI/ladish + + #------- media-sound/sweep -------- sweep-0.9.1 arch: alpha amd64 ppc sparc x86 sweep-0.9.1-r1 arch: alpha amd64 ppc sparc x86 Modified: trunk/overlays/proaudio/00-PACKAGES-LIST =================================================================== --- trunk/overlays/proaudio/00-PACKAGES-LIST 2017-07-31 20:00:45 UTC (rev 3091) +++ trunk/overlays/proaudio/00-PACKAGES-LIST 2017-07-31 21:45:43 UTC (rev 3092) @@ -43,6 +43,7 @@ media-sound/jace media-sound/zynaddsubfx media-sound/jack_capture +media-sound/ladish media-sound/sweep media-sound/setbfree media-sound/tutka Added: trunk/overlays/proaudio/media-sound/ladish/Manifest =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/Manifest (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/Manifest 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,7 @@ +AUX ladish-1-add-includes-for-getrlimit.patch 612 SHA256 9547b01763cdd9aa9d36bd0102f310d7e7cc5cd99edeeb09b0857999eb74e8e0 SHA512 82956d30e2a88a9b6b29f44409b5b52c9585f8403a418432c332700505edb5cada9135891908e0d529ac69357988fd04f285dd402886852b4386efd54b7332c0 WHIRLPOOL eb2a65703b4fccb10da32196ea7a68fedbb71c7b8a79c0356692853ba94372a50857d711ee44d821d656dc8f17a5df1f73e7b141853cd0b6f7657b43789f4af8 +AUX ladish-1-configure-libdir.patch 1114 SHA256 d147e53d774a58ca689aa76e34f89003b97c35c245461deb3715709231b9473b SHA512 964cd77a1cfb8630759b38f5d0d6ab725e2125bbb723b0c6168721c89e7262b53cc4f6e5a3845aea4ca56dace35a33f2e8f81b95cc5e51e0a9d63807bc019dce WHIRLPOOL 1d9515061d9b249ba62aa4aa86c68144546c5ba98fc3cbb6ba6076e87750f86c3d2243373395fa7c297cd76403edf17bff085752331ce259854839815fb2c291 +AUX ladish-configure-gladish.patch 1243 SHA256 4fe8a93c2b69565c6170983f4fa9d40b3f7482db8ddbfdd059d9bfc0c79cd9f4 SHA512 4221d2fa01d08538f0dfb785e8eb1b964f30a32b03397b09241cc9cec7bdea6b0b860c931ebdc292b1eb3b17c4dbb1d224e05a67c2009241d5dc9e29081df0ad WHIRLPOOL 1ebc0140325e2207c86a45ae7668bb45f7ad553168708e92fd5a78de22f6b8e994c3c6fd8318973c6faaced2a8daeb4c97edec52f7b41d082eaa2a004c6f2076 +DIST ladish-1.tar.gz 686288 SHA256 6bd9f46be900e4489bafe21a86838b4e985c2f6bf2aaa94cb0542f9a2158f053 SHA512 b01e24cd79c2711139c9d46c9bff4687049c3a735562a7f48a387103eec25c0222e935b90fb4eb2d3fc24629e417dab0c5aac215cbbca659ac49a2e802d1fd10 WHIRLPOOL e7a7885dd0a8d27e40882668ed51d0ddcabd8ba4949e10e3d7299d2aa1b9bc891501143e81b1b417761e7c1d30833320d63064947cad7167caacc61c39837875 +EBUILD ladish-1.ebuild 1703 SHA256 c06a0e39fbd8270da43651004961f6376e75a065396b0f566a682935f45bc74e SHA512 ca066187ddc3dcd19f8e9636064174a2cdd650022d2e52ee2b45a5b152978c607cc5f96522dd54d9db5d00ccf98222bcc6da854c3b44e8a227349674b80dbd1d WHIRLPOOL f652ad1ae7d12b5f869ce025008b8167c34ccadc1c8f8346c839f68c0847537104c9fa23eef5e68b5151626516c5f216cfcfbff64a993feb45d3cda436998349 +EBUILD ladish-9999.ebuild 1622 SHA256 56e7fa0108aa1a3c14d3bec68b92804742bfcba9cc4d367623bfb690c123870f SHA512 1d97682b8fb2166323ea323b3c93f850af7c91b03df09947ce31ff6c537464ded8d995c53579938833defc4829ea0d8970c55d3e1091e7b404b3f24109551f62 WHIRLPOOL e651dee1a28255ed139606e1e6aa9358ffc706e039ed1e5d2d3709f5583b8770a825eea0b4ae36b121243d370f720a257cd1e6304f4c2b69f1bff3c54daa5a58 +MISC metadata.xml 276 SHA256 0a38fd67ae8944ab96655e33fcc6a3485237bf89457c3c72f3b3342de4fe9bf1 SHA512 2055795479a728df97ff1a8f70b98b4205e963424198a6de09f482f424fd563192a365fd4857452221de7502823da35cafa673c1f80fffdcade05f9c6876fbc0 WHIRLPOOL 7475715b71c3ec74dc7e2ae4561c785d9b6a6e3f7cf7d47125448d298201b12499ad1ce40d4dfa6e8c1712f01658a165dc19c758daade1efd2a6b47044b1434a Added: trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-add-includes-for-getrlimit.patch =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-add-includes-for-getrlimit.patch (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-add-includes-for-getrlimit.patch 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,25 @@ +From a2a17cd39220e2013d3402b06a53f5a46492aa00 Mon Sep 17 00:00:00 2001 +From: Nedko Arnaudov <ne...@arnaudov.name> +Date: Sun, 7 Oct 2012 14:06:04 +0300 +Subject: [PATCH] add includes for getrlimit + +--- + daemon/loader.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/daemon/loader.c b/daemon/loader.c +index b9fe6f1c..37fb94fa 100644 +--- a/daemon/loader.c ++++ b/daemon/loader.c +@@ -34,6 +34,8 @@ + #include <fcntl.h> + #include <pty.h> /* forkpty() */ + #include <sys/wait.h> ++#include <sys/time.h> ++#include <sys/resource.h> + + #include "loader.h" + #include "../proxies/conf_proxy.h" +-- +2.13.0 + Added: trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-configure-libdir.patch =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-configure-libdir.patch (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/files/ladish-1-configure-libdir.patch 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,23 @@ +diff --git a/wscript b/wscript +index 333522e9..a7594716 100644 +--- a/wscript ++++ b/wscript +@@ -54,6 +54,7 @@ def options(opt): + opt.add_option('--distname', type='string', default=None, help="Name for the distribution tarball") + opt.add_option('--distsuffix', type='string', default="", help="String to append to the distribution tarball name") + opt.add_option('--tagdist', action='store_true', default=False, help='Create of git tag for distname') ++ opt.add_option('--libdir', type='string', default=None, help='Define lib dir') + if parallel_debug: + opt.load('parallel_debug') + +@@ -132,7 +133,10 @@ def configure(conf): + else: + conf.env['DBUS_SERVICES_DIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'share', 'dbus-1', 'services') + +- conf.env['LIBDIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'lib') ++ if Options.options.libdir: ++ conf.env['LIBDIR'] = Options.options.libdir ++ else: ++ conf.env['LIBDIR'] = os.path.join(os.path.normpath(conf.env['PREFIX']), 'lib') + + conf.env['BUILD_DOXYGEN_DOCS'] = Options.options.doxygen Added: trunk/overlays/proaudio/media-sound/ladish/files/ladish-configure-gladish.patch =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/files/ladish-configure-gladish.patch (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/files/ladish-configure-gladish.patch 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,22 @@ +diff --git a/wscript b/wscript +index a7594716..5f96cd30 100644 +--- a/wscript ++++ b/wscript +@@ -46,6 +46,7 @@ def options(opt): + opt.load('boost') + opt.load('python') + opt.add_option('--enable-pkg-config-dbus-service-dir', action='store_true', default=False, help='force D-Bus service install dir to be one returned by pkg-config') ++ opt.add_option('--enable-gladish', action='store_true', default=False, help='Build gladish') + opt.add_option('--enable-liblash', action='store_true', default=False, help='Build LASH compatibility library') + opt.add_option('--enable-pylash', action='store_true', default=False, help='Build python bindings for LASH compatibility library') + opt.add_option('--debug', action='store_true', default=False, dest='debug', help="Build debuggable binaries") +@@ -205,8 +206,7 @@ def configure(conf): + mandatory = False, + errmsg="not found, see http://boost.org/") + +- conf.env['BUILD_GLADISH'] = build_gui +- ++ conf.env['BUILD_GLADISH'] = Options.options.enable_gladish + conf.env['BUILD_LIBLASH'] = Options.options.enable_liblash + conf.env['BUILD_PYLASH'] = Options.options.enable_pylash + if conf.env['BUILD_PYLASH'] and not conf.env['BUILD_LIBLASH']: Added: trunk/overlays/proaudio/media-sound/ladish/ladish-1.ebuild =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/ladish-1.ebuild (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/ladish-1.ebuild 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,78 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit flag-o-matic python-single-r1 waf-utils + +DESCRIPTION="LADI Session Handler - a session management system for JACK applications" +HOMEPAGE="https://github.com/LADI/ladish" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/LADI/${PN}.git" + KEYWORDS="" +else + inherit vcs-snapshot + SRC_URI="https://github.com/LADI/ladish/archive/${P}.tar.gz" + KEYWORDS="~amd64" +fi +EGIT_SUBMODULES=() + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug doc gtk lash python" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + python? ( lash ) " + +RDEPEND="media-libs/alsa-lib + media-sound/jack-audio-connection-kit[dbus] + sys-apps/dbus + dev-libs/expat + gtk? ( + dev-libs/glib + dev-libs/dbus-glib + >=x11-libs/gtk+-2.20.0:2 + dev-cpp/gtkmm:2.4 + >=dev-cpp/libgnomecanvasmm-2.6.0 + x11-libs/flowcanvas + dev-libs/boost + ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" + +DOCS=( AUTHORS README NEWS ) + +PATCHES=( + "${FILESDIR}/${PN}-configure-gladish.patch" + "${FILESDIR}/${P}-configure-libdir.patch" + "${FILESDIR}/${P}-add-includes-for-getrlimit.patch" +) + +src_prepare() +{ + append-cxxflags '-std=c++11' + default +} + +src_configure() { + local -a mywafconfargs=( + --distnodeps + $(usex debug --debug '') + $(usex doc --doxygen '') + $(usex gtk '--enable-gladish' '') + $(usex lash '--enable-liblash' '') + $(usex python '--enable-pylash' '') + ) + waf-utils_src_configure "${mywafconfargs[@]}" +} + +src_install() { + use doc && HTML_DOCS="${S}/build/default/html/*" + waf-utils_src_install + python_fix_shebang "${ED}" +} Added: trunk/overlays/proaudio/media-sound/ladish/ladish-9999.ebuild =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/ladish-9999.ebuild (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/ladish-9999.ebuild 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit flag-o-matic python-single-r1 waf-utils + +DESCRIPTION="LADI Session Handler - a session management system for JACK applications" +HOMEPAGE="https://github.com/LADI/ladish" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/LADI/${PN}.git" + KEYWORDS="" +else + inherit vcs-snapshot + SRC_URI="https://github.com/LADI/ladish/archive/${P}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +EGIT_SUBMODULES=() + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug doc gtk lash python" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + python? ( lash ) " + +RDEPEND="media-libs/alsa-lib + media-sound/jack-audio-connection-kit[dbus] + sys-apps/dbus + dev-libs/expat + gtk? ( + dev-libs/glib + dev-libs/dbus-glib + >=x11-libs/gtk+-2.20.0:2 + dev-cpp/gtkmm:2.4 + >=dev-cpp/libgnomecanvasmm-2.6.0 + x11-libs/flowcanvas + dev-libs/boost + ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" + +DOCS=( AUTHORS README NEWS ) + +PATCHES=( + "${FILESDIR}/${PN}-configure-gladish.patch" +) + +src_prepare() +{ + append-cxxflags '-std=c++11' + default +} + +src_configure() { + local -a mywafconfargs=( + --distnodeps + $(usex debug --debug '') + $(usex doc --doxygen '') + $(usex gtk '--enable-gladish' '') + $(usex lash '--enable-liblash' '') + $(usex python '--enable-pylash' '') + ) + waf-utils_src_configure "${mywafconfargs[@]}" +} + +src_install() { + use doc && HTML_DOCS="${S}/build/default/html/*" + waf-utils_src_install + python_fix_shebang "${ED}" +} Added: trunk/overlays/proaudio/media-sound/ladish/metadata.xml =================================================================== --- trunk/overlays/proaudio/media-sound/ladish/metadata.xml (rev 0) +++ trunk/overlays/proaudio/media-sound/ladish/metadata.xml 2017-07-31 21:45:43 UTC (rev 3092) @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>simon.vanderveldt+audio-over...@gmail.com</email> + <name>Simon van der Veldt</name> + </maintainer> +</pkgmetadata>