public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/squeezeslave/files/, media-sound/squeezeslave/
@ 2016-04-26 22:27 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-04-26 22:27 UTC (permalink / raw
  To: gentoo-commits

commit:     fc6703075bd4add69298df8569d5a27c7118f85c
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 22:19:15 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 22:26:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc670307

edia-sound/squeezeslave: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846

Package-Manager: portage-2.2.26

 .../squeezeslave/files/squeezeslave.initd-r1       |  4 +-
 .../squeezeslave/squeezeslave-1.1_p365-r1.ebuild   | 52 +++++++++++++++++++++
 .../squeezeslave/squeezeslave-1.1_p381-r1.ebuild   | 53 ++++++++++++++++++++++
 3 files changed, 107 insertions(+), 2 deletions(-)

diff --git a/media-sound/squeezeslave/files/squeezeslave.initd-r1 b/media-sound/squeezeslave/files/squeezeslave.initd-r1
index 1d764fb..368e02e 100644
--- a/media-sound/squeezeslave/files/squeezeslave.initd-r1
+++ b/media-sound/squeezeslave/files/squeezeslave.initd-r1
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild
new file mode 100644
index 0000000..ed461d0
--- /dev/null
+++ b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight streaming audio player for Logitech Media Server"
+HOMEPAGE="https://squeezeslave.googlecode.com"
+SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac +alsa display tremor wma zones"
+
+RDEPEND="media-libs/libmad
+	media-libs/flac
+	tremor? ( media-libs/tremor )
+	!tremor? ( media-libs/libvorbis )
+	media-libs/libogg
+	media-libs/portaudio[alsa?]
+	aac? ( virtual/ffmpeg )
+	wma? ( virtual/ffmpeg )
+	display? ( app-misc/lirc )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+	virtual/pkgconfig"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-1.1_p350-tremor-headers.patch
+}
+
+src_compile() {
+	tc-export CC AR RANLIB
+
+	local myconf
+	for i in aac display tremor wma zones ; do
+		use $i && myconf+=" $i=1"
+	done
+
+	emake ${myconf}
+}
+
+src_install() {
+	dobin bin/${PN}
+	dodoc ChangeLog TODO
+
+	newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+	newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+}

diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild
new file mode 100644
index 0000000..9008ec2
--- /dev/null
+++ b/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A lightweight streaming audio player for Logitech Media Server"
+HOMEPAGE="https://squeezeslave.googlecode.com"
+SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac +alsa display tremor wma zones"
+
+RDEPEND="media-libs/libmad
+	media-libs/flac
+	tremor? ( media-libs/tremor )
+	!tremor? ( media-libs/libvorbis )
+	media-libs/libogg
+	media-libs/portaudio[alsa?]
+	aac? ( virtual/ffmpeg )
+	wma? ( virtual/ffmpeg )
+	display? ( app-misc/lirc )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+	virtual/pkgconfig"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-1.1_p350-tremor-headers.patch
+	epatch "${FILESDIR}"/${PN}-1.1_p381-ffmpeg2.patch
+}
+
+src_compile() {
+	tc-export CC AR RANLIB
+
+	local myconf
+	for i in aac display tremor wma zones ; do
+		use $i && myconf+=" $i=1"
+	done
+
+	emake ${myconf}
+}
+
+src_install() {
+	dobin bin/${PN}
+	dodoc ChangeLog TODO
+
+	newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+	newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-26 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 22:27 [gentoo-commits] repo/gentoo:master commit in: media-sound/squeezeslave/files/, media-sound/squeezeslave/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox