Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mp3blaster/
Date: Thu, 25 May 2017 16:50:25
Message-Id: 1495731005.666256031a278f28ca7a32aa4c07645f4b6575cc.aballier@gentoo
1 commit: 666256031a278f28ca7a32aa4c07645f4b6575cc
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 25 16:49:44 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu May 25 16:50:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66625603
7
8 media-sound/mp3blaster: Bump to 3.2.6
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-sound/mp3blaster/Manifest | 1 +
13 media-sound/mp3blaster/mp3blaster-3.2.6.ebuild | 64 ++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/media-sound/mp3blaster/Manifest b/media-sound/mp3blaster/Manifest
17 index 08092964609..2af8e90fb18 100644
18 --- a/media-sound/mp3blaster/Manifest
19 +++ b/media-sound/mp3blaster/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mp3blaster-3.2.5.tar.gz 329407 SHA256 129115742c77362cc3508eb7782702cfb44af2463a5453e8d19ea68abccedc29 SHA512 53f623340b7a8e4be6cd973474fd5f23c623b6d1c667478dc0d4c7a1ef5758f4bbc09d9d0698d1539d8d1c3ef45301b447f3ed74f68586070a07a7f9fa8c353e WHIRLPOOL 96cdc3b6436dec282a5836c00e2151dd04f218175fdd2451fcfd45f70bced05dea0c8915cf1a817d24a9961fc8ab3d9c5b568a5ae67e23e2b1915604b2d7806e
22 +DIST mp3blaster-3.2.6.tar.gz 354019 SHA256 43d9f656367d16aaac163f93dc323e9843c3dd565401567edef3e1e72b9e1ee0 SHA512 eb977eb46b86449c6d433b1740aa08580e5b8f3d55d82d6f2623cd5fd103d73b7df127fb9ac650a21da61ad4948eb569a812e15d9adc9424d491fa625e198e0d WHIRLPOOL d617d9cf9dccd01cda71f31806ad9b5f4a02d94df29befb3d37408e9831c8883c8501050d453f242fe27066b6af47d0fb68242070217f781ca03cb19b3afbe2a
23 DIST mp3blaster_3.2.5-3.debian.tar.gz 11000 SHA256 e4d424aeccde6ccd219270f4e4f0bf8f70b97e13075447b6d6d069110ed092c9 SHA512 1d899c85c2a2e1326fac0f87c61ead82273a08c672aeab0929479d9aa10c6ae703bb63c1a6aec14c8f5b6a139089fa5228cf09db72ea5b114efb60a196bd4788 WHIRLPOOL 9c1c99d5a4f4e5060a9eae4e681f0df841d6932f34a12102a82d2e1f795d4db41fd3f15d6aa6a34d04d42259d73ba67f775b24a51df30779d4f4466ded40f69f
24
25 diff --git a/media-sound/mp3blaster/mp3blaster-3.2.6.ebuild b/media-sound/mp3blaster/mp3blaster-3.2.6.ebuild
26 new file mode 100644
27 index 00000000000..fcd21a9f975
28 --- /dev/null
29 +++ b/media-sound/mp3blaster/mp3blaster-3.2.6.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="Text console based program for playing audio files"
39 +HOMEPAGE="http://www.mp3blaster.org/ http://mp3blaster.sourceforge.net/ https://github.com/stragulus/mp3blaster"
40 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
45 +IUSE="lirc oss +sdl sid vorbis"
46 +
47 +RDEPEND="
48 + sys-libs/ncurses:0=
49 + lirc? ( app-misc/lirc )
50 + sdl? ( media-libs/libsdl )
51 + sid? ( media-libs/libsidplay:1 )
52 + vorbis? ( media-libs/libvorbis )"
53 +DEPEND="${RDEPEND}
54 + x11-misc/imake
55 + oss? ( virtual/os-headers )"
56 +
57 +REQUIRED_USE="|| ( oss sdl )"
58 +PATCHES=(
59 + "${FILESDIR}"/${PN}-3.2.5-fix-c++14.patch
60 + "${FILESDIR}"/${PN}-3.2.5-fix-build-system.patch
61 +)
62 +
63 +src_prepare() {
64 + default
65 + eautoreconf
66 +
67 + # file collision with media-sound/splay
68 + sed -i -e 's:splay.1:splay_mp3blaster.1:' Makefile.in || die
69 + mv -vf splay{,_mp3blaster}.1 || die
70 +}
71 +
72 +src_configure() {
73 + # libpth and newthreads support are both broken
74 + econf \
75 + --disable-newthreads \
76 + --without-pth \
77 + --without-nas \
78 + $(use_with lirc) \
79 + $(use_with vorbis oggvorbis) \
80 + $(use_with sid sidplay) \
81 + --without-esd \
82 + $(use_with sdl) \
83 + $(use_with oss)
84 +}
85 +
86 +src_install() {
87 + default
88 +
89 + # relocate everything except commands.txt because it's used by src/main.cc
90 + mv -vf "${ED%/}"/usr/share/{${PN}/{charmap,sample.*},doc/${PF}} || die
91 +
92 + # file collision with media-sound/splay
93 + mv -vf "${ED%/}"/usr/bin/splay{,_mp3blaster} || die
94 +}