From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 800EB138D03 for ; Tue, 30 Jun 2015 21:37:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD3FEE0653; Tue, 30 Jun 2015 21:37:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 136F8E088A for ; Tue, 30 Jun 2015 21:37:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B32334072E for ; Tue, 30 Jun 2015 21:37:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 842E274A for ; Tue, 30 Jun 2015 21:37:13 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1435700175.2ad838e68bc250cfb1740d7cf27d9fd7fc94776f.sping@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: media-sound/dermixd/, media-sound/dermixd/files/ X-VCS-Repository: proj/betagarden X-VCS-Files: media-sound/dermixd/dermixd-1.6.2.ebuild media-sound/dermixd/files/dermixd-1.6.2-compile.patch X-VCS-Directories: media-sound/dermixd/ media-sound/dermixd/files/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 2ad838e68bc250cfb1740d7cf27d9fd7fc94776f X-VCS-Branch: master Date: Tue, 30 Jun 2015 21:37:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3cd68eb2-fe24-4e26-94e8-ebd147bb5893 X-Archives-Hash: 44e4cd35c5b3d9d7b31b6eda30a96a5e commit: 2ad838e68bc250cfb1740d7cf27d9fd7fc94776f Author: Sebastian Pipping pipping org> AuthorDate: Tue Jun 30 21:25:11 2015 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Jun 30 21:36:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=2ad838e6 media-sound/dermixd: 1.6.2 media-sound/dermixd/dermixd-1.6.2.ebuild | 47 ++++++++ .../dermixd/files/dermixd-1.6.2-compile.patch | 121 +++++++++++++++++++++ 2 files changed, 168 insertions(+) diff --git a/media-sound/dermixd/dermixd-1.6.2.ebuild b/media-sound/dermixd/dermixd-1.6.2.ebuild new file mode 100644 index 0000000..09142d7 --- /dev/null +++ b/media-sound/dermixd/dermixd-1.6.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils + +DESCRIPTION="Multi-stream music player daemon" +HOMEPAGE="http://thomas.orgis.org/dermixd/i.shtml" +SRC_URI="http://thomas.orgis.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-lang/perl + media-libs/alsa-lib + media-libs/libsndfile + media-libs/libvorbis + media-sound/mpg123 + sys-devel/gcc[cxx] + " +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-compile.patch +} + +src_compile() { + emake SNDFILE=yes VORBISFILE=yes gnu-alsa || die +} + +src_install() { + # Library + insinto /usr/lib/${PN} + doins frontend/Param.pm + doins -r frontend/DerMixD + + # Commands + newbin frontend/simple_player ${PN}-simple-player + newbin frontend/shuffle ${PN}-shuffle + dobin frontend/${PN}-control + dobin ${PN} +} diff --git a/media-sound/dermixd/files/dermixd-1.6.2-compile.patch b/media-sound/dermixd/files/dermixd-1.6.2-compile.patch new file mode 100644 index 0000000..76344aa --- /dev/null +++ b/media-sound/dermixd/files/dermixd-1.6.2-compile.patch @@ -0,0 +1,121 @@ +From f26141183f24c9cea162352cf7aaa982e27b4978 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Tue, 30 Jun 2015 22:58:10 +0200 +Subject: [PATCH] Add missing libc includes + +--- + audio_fifo.cxx | 1 + + in_vorbisfile.cxx | 3 +++ + input.cxx | 3 +++ + mixer.cxx | 1 + + mixer_data.cxx | 2 ++ + mixer_tools.cxx | 2 ++ + param.cxx | 1 + + tstring.cxx | 1 + + 8 files changed, 14 insertions(+) + +diff --git a/audio_fifo.cxx b/audio_fifo.cxx +index 8a59757..984b287 100644 +--- a/audio_fifo.cxx ++++ b/audio_fifo.cxx +@@ -40,6 +40,7 @@ + #include "audio_fifo.hxx" + #include "param.hxx" + #include "secsleep.hxx" ++#include // memcpy + #include + + void* fifo_reader(void* p) +diff --git a/in_vorbisfile.cxx b/in_vorbisfile.cxx +index 376d116..362cda0 100644 +--- a/in_vorbisfile.cxx ++++ b/in_vorbisfile.cxx +@@ -13,6 +13,9 @@ + #define ME "vorbisfile_input" + #define MEF "vorbis_file" + ++#include // vsnprintf ++#include // memset ++ + // Hm, actually we talk about vorbus, ogg is generic... but it is the common file name ending. + // Dammit, I should code real file type detection... using libmagic... test access. + const string vorbisfile_input::t = "ogg"; +diff --git a/input.cxx b/input.cxx +index 37355a1..97f7356 100644 +--- a/input.cxx ++++ b/input.cxx +@@ -25,6 +25,9 @@ + #ifdef IN_SNDFILE + #include "in_sndfile.hxx" + #endif ++ ++#include // strcasecmp ++ + input_device* new_input_device(string type, input_data& data) + { + if(strcasecmp(type.c_str(), mpg123_input::t.c_str()) == 0) return new mpg123_input(&data); +diff --git a/mixer.cxx b/mixer.cxx +index 7164fa5..2f739bb 100644 +--- a/mixer.cxx ++++ b/mixer.cxx +@@ -10,6 +10,7 @@ + + #include + #include ++#include // memmove + + #include "audio_buffer.hxx" + #include "audio_functions.hxx" +diff --git a/mixer_data.cxx b/mixer_data.cxx +index 3da6e00..29588e6 100644 +--- a/mixer_data.cxx ++++ b/mixer_data.cxx +@@ -22,6 +22,8 @@ + #include "mixer_tools.hxx" + #include "communicator_actions.hxx" + ++#include // strcasecmp ++ + //#define DEBUG_SCRIPT + //#define DEBUG_MIXER2 + //#define DEBUG_RESET +diff --git a/mixer_tools.cxx b/mixer_tools.cxx +index c9f5365..73bc3bc 100644 +--- a/mixer_tools.cxx ++++ b/mixer_tools.cxx +@@ -19,6 +19,8 @@ + #include "mixer_data.hxx" + #include "mixer_tools.hxx" + ++#include // strcasecmp ++ + //#define DEBUG_TOOLS + + string stringstatus(signed char status) +diff --git a/param.cxx b/param.cxx +index c3eff1f..d19882c 100644 +--- a/param.cxx ++++ b/param.cxx +@@ -8,6 +8,7 @@ + //not depending on dermixd's common header, this stuff can easily tranfserred to other projects or into an independent library + #include + #include ++#include // strcasecmp + #include + #include + using namespace std; +diff --git a/tstring.cxx b/tstring.cxx +index 04e91f2..3a6d3cb 100644 +--- a/tstring.cxx ++++ b/tstring.cxx +@@ -5,6 +5,7 @@ + (c)2008 Thomas Orgis, licensed under GPLv2 + */ + #include "tstring.hxx" ++#include // vsnprintf + using namespace std; + + // Chunks for increasing the sprintf buffer. +-- +2.4.0 +