Diff unixcw-3.6.0-r1 with a unixcw-3.6.0-r2
/usr/portage/media-radio/unixcw/unixcw-3.6.0-r2.ebuild 2023-10-09 14:52:31.760368407 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools flag-o-matic |
7 | 7 | |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-2+" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 ppc x86" |
|
14 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
|
15 | 15 |
IUSE="alsa ncurses pulseaudio suid test qt5" |
16 | 16 |
RESTRICT="!test? ( test )" |
17 | 17 | |
... | ... | |
21 | 21 |
dev-qt/qtwidgets:5 ) |
22 | 22 |
alsa? ( media-libs/alsa-lib ) |
23 | 23 |
pulseaudio? ( media-libs/libpulse )" |
24 |
DEPEND="${RDEPEND} |
|
25 |
virtual/pkgconfig |
|
24 |
DEPEND="${RDEPEND}" |
|
25 |
BDEPEND="virtual/pkgconfig |
|
26 | 26 |
sys-devel/libtool" |
27 | 27 | |
28 | 28 |
src_prepare() { |
... | ... | |
37 | 37 |
} |
38 | 38 | |
39 | 39 |
src_configure() { |
40 |
econf --libdir=/usr/$(get_libdir) \ |
|
40 |
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
|
41 | 41 |
$(use_enable pulseaudio ) \ |
42 | 42 |
$(use_enable alsa ) \ |
43 | 43 |
$(use_enable ncurses cwcp ) \ |
... | ... | |
46 | 46 |
} |
47 | 47 | |
48 | 48 |
src_install() { |
49 |
emake DESTDIR="${D}" install |
|
50 |
find "${D}" -name '*.la' -type f -delete || die |
|
51 |
dodoc ChangeLog NEWS README |
|
49 |
default |
|
50 | ||
52 | 51 |
if ! use suid ; then |
53 | 52 |
fperms 711 /usr/bin/cw |
54 | 53 |
if use ncurses ; then |
... | ... | |
58 | 57 |
fperms 711 /usr/bin/xcwcp |
59 | 58 |
fi |
60 | 59 |
fi |
60 | ||
61 |
find "${D}" -name '*.la' -type f -delete || die |
|
61 | 62 |
} |
62 | 63 | |
63 | 64 |
pkg_postinst() { |