1 |
On 10/10/2015 12:52 PM, Markos Chandras wrote: |
2 |
> commit: 7afe3acf2ff141d2940f2e02b6e232331d93f68e |
3 |
> Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
4 |
> AuthorDate: Sat Oct 10 10:51:13 2015 +0000 |
5 |
> Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
6 |
> CommitDate: Sat Oct 10 10:51:37 2015 +0000 |
7 |
> URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7afe3acf |
8 |
> |
9 |
> media-sound/qmmp: Version bumps for Qt4 and Qt4 releases |
10 |
> |
11 |
> Drop ppc from qmmp-1.0.0(Qt5) because they don't have |
12 |
> Qt5 keywords |
13 |
> |
14 |
|
15 |
[...] |
16 |
|
17 |
> diff --git a/media-sound/qmmp/qmmp-0.9.2.ebuild b/media-sound/qmmp/qmmp-0.9.2.ebuild |
18 |
> new file mode 100644 |
19 |
> index 0000000..5f82a4d |
20 |
> --- /dev/null |
21 |
> +++ b/media-sound/qmmp/qmmp-0.9.2.ebuild |
22 |
|
23 |
[...] |
24 |
|
25 |
> + |
26 |
> +src_prepare() { |
27 |
> + if has_version dev-libs/libcdio-paranoia; then |
28 |
> + sed -i \ |
29 |
> + -e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' \ |
30 |
> + src/plugins/Input/cdaudio/decoder_cdaudio.cpp || die |
31 |
> + fi |
32 |
|
33 |
This looks really weird. A conditional sed on what package is installed |
34 |
on the users system? Can you elaborate? |
35 |
|
36 |
> + |
37 |
> + cmake-utils_src_prepare |
38 |
> +} |
39 |
> + |
40 |
> +src_configure() { |
41 |
> + mycmakeargs=( |
42 |
|
43 |
It doesn't hurt to make this a local variable. |
44 |
|
45 |
> + $(cmake-utils_use_use alsa) |
46 |
> + $(cmake-utils_use_use aac) |
47 |
> + $(cmake-utils_use_use alsa) |
48 |
|
49 |
[...] |