[proaudio] [2739] media-sound/lash-original: eapi 5, autotools-utils, python-single-r1 , restrict mirror, do not build docs, fix configure arguments, add include patch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: [proaudio] [2739] media-sound/lash-original: eapi 5, autotools-utils, python-single-r1 , restrict mirror, do not build docs, fix configure arguments, add include patch
- From: subversion@xxxxxxxxxxxxx
- Date: Thu, 06 Jun 2013 21:53:37 +0200
Revision: 2739
Author: lilrc
Date: 2013-06-06 21:53:37 +0200 (Thu, 06 Jun 2013)
Log Message:
-----------
media-sound/lash-original: eapi 5, autotools-utils, python-single-r1, restrict mirror, do not build docs, fix configure arguments, add include patch
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/lash-original/ChangeLog
trunk/overlays/proaudio/media-sound/lash-original/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/lash-original/files/lash-original-0.6.0_rc2-include.patch
trunk/overlays/proaudio/media-sound/lash-original/lash-original-0.6.0_rc2-r1.ebuild
Modified: trunk/overlays/proaudio/media-sound/lash-original/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/lash-original/ChangeLog 2013-06-04 22:23:13 UTC (rev 2738)
+++ trunk/overlays/proaudio/media-sound/lash-original/ChangeLog 2013-06-06 19:53:37 UTC (rev 2739)
@@ -2,6 +2,19 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*lash-original-0.6.0_rc2-r1 (06 Jun 2013)
+
+ 06 Jun 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+ +lash-original-0.6.0_rc2-r1.ebuild,
+ +files/lash-original-0.6.0_rc2-include.patch:
+ Move to autotools-utils and python-single-r1 eclass.
+ Move to EAPI 5.
+ Restrict mirror.
+ Building of documentation fails even with previous patch applied. The
+ documentation is therefore hard disabled.
+ Fix faulty arguments to configure.
+ Add patch to compile properly with alsa disabled.
+
03 Feb 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
lash-original-0.6.0_rc2.ebuild:
keyword for ~ppc, depend on virtual/pkgconfig
Modified: trunk/overlays/proaudio/media-sound/lash-original/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/lash-original/Manifest 2013-06-04 22:23:13 UTC (rev 2738)
+++ trunk/overlays/proaudio/media-sound/lash-original/Manifest 2013-06-06 19:53:37 UTC (rev 2739)
@@ -1,5 +1,7 @@
AUX lash-0.6.0_rc2-texi2html.diff 2054 SHA256 40d76da366d8f82f3ff060d896fd3a682f7f443648313f309b6327cfe6dd0cee SHA512 07a5b0815a86805db2a18f3fa5caf454e3a45b9f45f71678605c6accfc40ce0e3299bf64e64dfcf4a72ee344fd3956e269560684eedfaf6ea6ef8994726587ce WHIRLPOOL 2c21beedfb0ebf07eefa7b75868e96a33d5a30fa8b40ac00d4348b74ebb871155550a5c9cfd73a3c0899fe9c8979c31b2eec7f996a9c3ae9691c80c094cdfb9a
+AUX lash-original-0.6.0_rc2-include.patch 504 SHA256 354c25e62bb491320836965f5d31691a688d95eaa3b30af5c834f606def603e4 SHA512 47f181484c7d17fe4a7b78dd50eecab0e6c9d9b5a3d65324e744d8afe3695679e0da559e349d2e741fa7c4a97d97322a45b16a345286176c7218fce804c9e0e6 WHIRLPOOL 46a204b4f118feb33f22729ac07a8cbbf45192e05f5b62a8ea21f6214af1d2c3a035b59d06ae0664a9742d4cd536086f3fac1f4b88f8542f8d8708fb4bfcea10
DIST lash-0.6.0~rc2.tar.bz2 431891 SHA256 3c1eb2bd88e1a0722dea5c24be4ede1d80848c963d41751973fae73c47dfe18b SHA512 704e24ccadccb469e820be5fb58dd4d953a8fc2903cd857a290267a87dda596639ec381d5cb7cdfcd715df7d98d6570e52731bddd17f8a3425edd8b699632401 WHIRLPOOL b6de62365af169e61a0d93a73366dca7d2be4aa759ddc3da16d02c0a0aba05c549e237a73b0ec3b7ac8ed258cf846d6cd699940cf73127cdec404107371523a3
+EBUILD lash-original-0.6.0_rc2-r1.ebuild 2138 SHA256 ffe54985f18fe6412f3f160086845ffb3cf743baf67e6c4c8ad1c388f8d4cd70 SHA512 1846fd7a93721a1073af0c4da087fa07e034e652a63c95d9e86cdf7ed5d11db31c8f28f9d7958528e5cbe69f1bce53d6a25923b05679f6af7c8e3a8509f686a2 WHIRLPOOL a27367d4309a45e9e73467e0ee785c05e53dba09b6e1ea43c3722c8348b44620f48694a3640a42736c359adac701a375b480ce26a1f5ce6426ed7e6c7f978066
EBUILD lash-original-0.6.0_rc2.ebuild 2255 SHA256 d46c262f5f0255becdc590d95d32d57881821149505a5659148220656c6836ef SHA512 61c30468254ee9f7709a38a63288f5fd1c0b8fb114c10da373ac14ddb60013cbd445662597fd1976af1d97d732f8d8ec4bd66a620b95d78fcb681ca0cf3d95cb WHIRLPOOL c8ad87861d4409744cbe7dddaad8f74f8c6ce49ea6c8584de800350d69c56de41c3eac00184b3347c47038b18625ef1fd095a442c3ef4e1787e3b67e48ca7abe
-MISC ChangeLog 1468 SHA256 02ffc42952f98376b5f8df864e5502cfc774af09154196e4a8abb9782e03a67d SHA512 5a018156eda5226c809c23c3e058daefd76194d401ed57984b453d0f456734fc0dfd22ba1b89ef15d4a1d318d6fe3521da9ef7dc37823c0b543ae4b10bba4a02 WHIRLPOOL e7be739c000664e980f7b84dd7422ac925c2a0aa190268adb069b1607cffc187f39cc193577adeaef98b4ccf75a9e7102df9f1be45f35f6bf6613d39876e4a7c
+MISC ChangeLog 1961 SHA256 d3807e19bf44d6f95be1e144bd7bf444adadd3a7b583e8e753cc756dc7f7e96e SHA512 1f8816eb9f177a20a0e4eaeb8fc0b3b580cbd4ac44df559875414d6fd4b7aff55bbec84a0fb91da8e318ef1254c7a44425e5668a28f5ac68d083b7aba881e1f4 WHIRLPOOL 028b85688fcfbd38e78440dcb527c837a7796753ff65c10523eccac6ef587fa0a6290411a522543e89b767429344600094f38b9c612caa355040ec4d5b7396d2
MISC metadata.xml 246 SHA256 f32f31abe9dcc1f9a5dc9b6a36996d773abd006d92c13c4df48f8d7d1061060f SHA512 327022589c637a14219eb603a62050fbb93b980f4693960c0ac4117b6b483d9f0d9fe1366d8e18227b34373a399aef339f49c16df8ca57b9ec870568a4d394f4 WHIRLPOOL e55381a9a9fd1d0efbe87da1c3aa302efdcf4734827f56273faeb55b17361c529518fcf16ac0946102e26165e8eedba81ab0cd07c7b08ce6bad001e944e43a0f
Added: trunk/overlays/proaudio/media-sound/lash-original/files/lash-original-0.6.0_rc2-include.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/lash-original/files/lash-original-0.6.0_rc2-include.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/lash-original/files/lash-original-0.6.0_rc2-include.patch 2013-06-06 19:53:37 UTC (rev 2739)
@@ -0,0 +1,14 @@
+# Author: Karl Lindén (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+# A patch to include uuid/uuid.h even when alsa is not built.
+
+diff -ur lash-0.6.0.594.orig/lashd/server.h lash-0.6.0.594/lashd/server.h
+--- lash-0.6.0.594.orig/lashd/server.h 2008-09-23 01:54:38.000000000 +0200
++++ lash-0.6.0.594/lashd/server.h 2013-06-06 11:36:31.270051682 +0200
+@@ -26,6 +26,7 @@
+ #include <stdbool.h>
+ #include <sys/types.h>
+ #include <dbus/dbus.h>
++#include <uuid/uuid.h>
+
+ #include "types.h"
+ #include "dbus/service.h"
Copied: trunk/overlays/proaudio/media-sound/lash-original/lash-original-0.6.0_rc2-r1.ebuild (from rev 2738, trunk/overlays/proaudio/media-sound/lash-original/lash-original-0.6.0_rc2.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-sound/lash-original/lash-original-0.6.0_rc2-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/lash-original/lash-original-0.6.0_rc2-r1.ebuild 2013-06-06 19:53:37 UTC (rev 2739)
@@ -0,0 +1,86 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools-utils eutils python-single-r1
+
+MY_PV="${PV/_/~}"
+MY_PN="${PN/-original/}"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="LASH Audio Session Handler"
+HOMEPAGE="http://www.nongnu.org/lash/"
+SRC_URI="http://download.savannah.gnu.org/releases/${MY_PN}/${MY_P}.tar.bz2"
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa debug gtk python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ media-sound/jack-audio-connection-kit
+ dev-libs/libxml2
+ gtk? ( >=x11-libs/gtk+-2.0 )
+ python? ( ${PYTHON_DEPS} )
+ || ( sys-libs/readline dev-libs/libedit )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ python? ( >=dev-lang/swig-1.3.31 )"
+
+S="${WORKDIR}/${MY_PN}-0.6.0.594"
+
+PATCHES=( "${FILESDIR}/${P}-include.patch" )
+
+src_configure() {
+
+ # Generation of docs does no longer work. Hard disable it.
+ export ac_cv_prog_lash_texi2html="no"
+
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_with alsa)
+ $(use_with gtk gtk2)
+ $(use_with python)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ python_fix_shebang "${ED}"
+}
+
+pkg_postinst(){
+ if [ ! $(grep -q ^lash /etc/services) ] || [ $(grep -q ^ladcca /etc/services) ] ; then
+ # cleanup trailing blank lines in /etc/service
+ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' /etc/services
+ # check for old ladcca entries and remove
+ if grep -q ^ladcca /etc/services; then
+ sed -i /ladcca/d /etc/services
+ fi
+ # add new lash entry
+ if ! grep -q ^lash /etc/services ; then
+ cat >>/etc/services<<-EOF
+
+lash 14541/tcp # LASH client/server protocol
+EOF
+ fi
+ fi
+}
+
+pkg_postrm(){
+ # cleanup /etc/services
+ if grep -q ^lash /etc/services; then
+ einfo "cleaning lash entries frome /etc/services"
+ sed -i /lash/d /etc/services
+ fi
+ # cleanup trailing blank lines in /etc/service
+ sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' /etc/services
+ einfo "if programs which use lash fails try:"
+ einfo "revdep-rebuild --library="liblash.so.*""
+}