1 |
commit: 1a0a1691f6f70cad55b538de0a7f947da297f822 |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 16 17:12:39 2016 +0000 |
4 |
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 19:06:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0a1691 |
7 |
|
8 |
media-sound/pms: revbump to 0.42-r2 |
9 |
|
10 |
EAPI bump to 6 |
11 |
|
12 |
fixed bug #526530 (build with ncurses[tinfo]) |
13 |
|
14 |
fixed bug #351996 (a buffer overflow) |
15 |
|
16 |
updated HOMEPAGE, SRC_URI and the year in the header |
17 |
|
18 |
media-sound/pms/Manifest | 1 + |
19 |
media-sound/pms/pms-0.42-r2.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 53 insertions(+) |
21 |
|
22 |
diff --git a/media-sound/pms/Manifest b/media-sound/pms/Manifest |
23 |
index 0517e1b..7cbc494 100644 |
24 |
--- a/media-sound/pms/Manifest |
25 |
+++ b/media-sound/pms/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST pms-0.42.tar.bz2 196053 SHA256 96bf942b08cba10ee891a63eeccad307fd082ef3bd20be879f189e1959e775a6 SHA512 34fea13f524154455d9a44eb5c885ae3a555adc5e495234c0e720c7351b0e9169226cede08b65eb8236d6b0f35eaeae4968baa374dfd4f53c6cc164cb669ab0a WHIRLPOOL 45a0bb0322541cad6dffb14bb28c1156ce85be7ced57cc7a8dcc12d6b3f298d811f564b522d0110eeceb9fe697bf402541384d611b94fb211bda2181e68b1d1f |
28 |
+DIST pms-0.42.tar.gz 676147 SHA256 e0b57fb02edee153fcec43adcf88df2f15b36ceed446f01645cd770195c8eedc SHA512 2cfda707f17415b2e8207a0c9add83b652247c42680e478029a2c42dc0bc7987e1cb1dce844163446a783a046a43260e3d5d0e1a1a35a02b69b2c2c0d2fadfcf WHIRLPOOL 6bd5cfd38fe7b37be12c045c40cbcbebbb3af39f998a9e1210152c7f247366e5257bf2a919f83a76a181655ff7a0522e410c7d518db677db524a5a34b7feda8c |
29 |
|
30 |
diff --git a/media-sound/pms/pms-0.42-r2.ebuild b/media-sound/pms/pms-0.42-r2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000..d1f9729 |
33 |
--- /dev/null |
34 |
+++ b/media-sound/pms/pms-0.42-r2.ebuild |
35 |
@@ -0,0 +1,52 @@ |
36 |
+# Copyright 1999-2016 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Id$ |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+inherit eutils autotools flag-o-matic |
43 |
+ |
44 |
+DESCRIPTION="Practical Music Search: an open source ncurses client for mpd, written in C++" |
45 |
+HOMEPAGE="https://ambientsound.github.io/pms/" |
46 |
+SRC_URI="https://github.com/ambientsound/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="regex" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ sys-libs/ncurses:= |
55 |
+ dev-libs/glib:2 |
56 |
+ regex? ( dev-libs/boost:= ) |
57 |
+" |
58 |
+DEPEND=" |
59 |
+ virtual/pkgconfig |
60 |
+ ${RDEPEND} |
61 |
+" |
62 |
+ |
63 |
+DOCS=( AUTHORS README TODO ) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ # bug #424717 |
67 |
+ sed -i -e "s:^CXXFLAGS +=:AM_CXXFLAGS =:g" Makefile.am || die 'sed on Makefile.am failed' |
68 |
+ |
69 |
+ # Compatibility with automake 1.14 |
70 |
+ sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror/subdir-objects/' configure.ac || die 'sed on configure.ac failed' |
71 |
+ |
72 |
+ # bug #351995 |
73 |
+ sed -i -e '394s/BUFFER/ERRORSTR/' src/libmpdclient.c || die 'sed on libmpdclient.c failed' |
74 |
+ |
75 |
+ eapply_user |
76 |
+ |
77 |
+ eautoreconf |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ # fixes build with ncurses[tinfo], bug #526530 |
82 |
+ append-cflags $(pkg-config --cflags ncursesw) |
83 |
+ append-libs $(pkg-config --libs ncursesw) |
84 |
+ |
85 |
+ econf \ |
86 |
+ $(use_enable regex) |
87 |
+} |