Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsaplayer/
Date: Mon, 01 Jan 2018 18:59:14
Message-Id: 1514833139.748599346a9bc94369d5051846081988c1081fc4.fordfrog@gentoo
1 commit: 748599346a9bc94369d5051846081988c1081fc4
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 18:58:13 2018 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 18:58:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74859934
7
8 media-sound/alsaplayer: switched from media-sound/jack-audio-connection-kit to virtual/jack
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../alsaplayer/alsaplayer-0.99.81-r1.ebuild | 83 ++++++++++++++++++++++
13 1 file changed, 83 insertions(+)
14
15 diff --git a/media-sound/alsaplayer/alsaplayer-0.99.81-r1.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.81-r1.ebuild
16 new file mode 100644
17 index 00000000000..f1d448e8b1d
18 --- /dev/null
19 +++ b/media-sound/alsaplayer/alsaplayer-0.99.81-r1.ebuild
20 @@ -0,0 +1,83 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit autotools desktop
27 +
28 +DESCRIPTION="A heavily multi-threaded pluggable audio player"
29 +HOMEPAGE="http://www.alsaplayer.org/"
30 +SRC_URI="http://www.alsaplayer.org/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
35 +IUSE="+alsa audiofile doc flac gtk id3tag jack mad mikmod nas nls ogg opengl oss vorbis xosd"
36 +
37 +RDEPEND="
38 + media-libs/libsndfile:=
39 + sys-libs/zlib:=
40 + alsa? ( media-libs/alsa-lib )
41 + audiofile? ( media-libs/audiofile )
42 + flac? ( media-libs/flac )
43 + gtk? ( >=x11-libs/gtk+-2.10:2 )
44 + id3tag? ( media-libs/libid3tag )
45 + jack? ( virtual/jack )
46 + mad? ( media-libs/libmad )
47 + mikmod? ( media-libs/libmikmod:0 )
48 + nas? ( media-libs/nas )
49 + ogg? ( media-libs/libogg )
50 + opengl? ( virtual/opengl )
51 + vorbis? ( media-libs/libvorbis )
52 + xosd? ( x11-libs/xosd )"
53 +DEPEND="${RDEPEND}
54 + virtual/pkgconfig
55 + doc? ( app-doc/doxygen )
56 + nls? ( sys-devel/gettext )
57 + oss? ( virtual/os-headers )"
58 +REQUIRED_USE="|| ( alsa jack nas oss )"
59 +
60 +src_prepare() {
61 + default
62 +
63 + sed -i \
64 + -e 's:AM_CFLAGS = $(AM_CXXFLAGS)::' \
65 + output/jack/Makefile.am || die
66 +
67 + sed -i \
68 + -e 's:-O2 -funroll-loops -finline-functions -ffast-math::' \
69 + configure.ac || die
70 +
71 + eautoreconf
72 +}
73 +
74 +src_configure() {
75 + export ac_cv_prog_HAVE_DOXYGEN=$(usex doc true false)
76 + export ac_cv_lib_xosd_xosd_create=$(usex xosd)
77 +
78 + econf \
79 + --disable-esd \
80 + $(use_enable nls) \
81 + $(use_enable opengl) \
82 + $(use_enable mikmod) \
83 + $(use_enable vorbis oggvorbis) \
84 + $(use_enable audiofile) \
85 + $(use_enable flac) \
86 + $(use_enable mad) \
87 + $(use_enable id3tag) \
88 + $(use_enable gtk systray) \
89 + $(use_enable jack) \
90 + $(use_enable alsa) \
91 + $(use_enable oss) \
92 + $(use_enable gtk gtk2) \
93 + $(use_enable nas)
94 +}
95 +
96 +src_install() {
97 + default
98 + dodoc docs/*.txt
99 +
100 + newicon interface/gtk2/pixmaps/logo.xpm ${PN}.xpm
101 +
102 + find "${D}" -name '*.la' -delete || die
103 +}