Diff lmms-1.2.2 with a lmms-1.2.2-r1
/usr/portage/media-sound/lmms/lmms-1.2.2-r1.ebuild 2023-10-09 14:52:31.784368408 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
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 |
# The order is important here! Both, cmake and xdg define src_prepare. |
|
7 |
# We need the one from cmake |
|
8 |
inherit xdg cmake |
|
6 |
inherit cmake |
|
9 | 7 | |
10 | 8 |
DESCRIPTION="Cross-platform music production software" |
11 | 9 |
HOMEPAGE="https://lmms.io" |
... | ... | |
13 | 11 |
EGIT_REPO_URI="https://github.com/LMMS/lmms.git" |
14 | 12 |
inherit git-r3 |
15 | 13 |
else |
16 |
SRC_URI="https://github.com/LMMS/lmms/releases/download/v${PV/_/-}/${PN}_${PV/_/-}.tar.xz -> ${P}.tar.xz" |
|
17 |
KEYWORDS="amd64 x86" |
|
14 |
SRC_URI="https://github.com/LMMS/lmms/releases/download/v${PV/_/-}/${PN}_${PV/_/-}.tar.xz" |
|
15 |
KEYWORDS="~amd64 ~x86" |
|
18 | 16 |
S="${WORKDIR}/${P/_/-}" |
19 | 17 |
fi |
20 | 18 | |
... | ... | |
43 | 41 |
media-libs/libvorbis |
44 | 42 |
) |
45 | 43 |
portaudio? ( >=media-libs/portaudio-19_pre ) |
46 |
pulseaudio? ( media-sound/pulseaudio ) |
|
44 |
pulseaudio? ( media-libs/libpulse ) |
|
47 | 45 |
sdl? ( |
48 | 46 |
media-libs/libsdl |
49 | 47 |
>=media-libs/sdl-sound-1.0.1 |
... | ... | |
72 | 70 | |
73 | 71 |
PATCHES=( |
74 | 72 |
"${FILESDIR}/${PN}-1.2.2-no_compress_man.patch" #733284 |
73 |
"${FILESDIR}/${PN}-1.2.2-plugin-path.patch" #907285 |
|
75 | 74 |
) |
76 | 75 | |
77 | 76 |
src_configure() { |
78 |
local mycmakeargs+=( |
|
77 |
local mycmakeargs=( |
|
79 | 78 |
-DUSE_WERROR=FALSE |
80 | 79 |
-DWANT_CAPS=FALSE |
81 | 80 |
-DWANT_TAP=FALSE |
... | ... | |
96 | 95 |
-DWANT_VST=$(usex vst) |
97 | 96 |
-DWANT_SF2=$(usex fluidsynth) |
98 | 97 |
) |
99 |
cmake_src_configure |
|
100 |
} |
|
101 | ||
102 |
pkg_preinst() { |
|
103 |
xdg_pkg_preinst |
|
104 |
} |
|
105 | 98 | |
106 |
pkg_postinst() { |
|
107 |
xdg_pkg_postinst |
|
108 |
} |
|
109 | ||
110 |
pkg_postrm() { |
|
111 |
xdg_pkg_postrm |
|
99 |
cmake_src_configure |
|
112 | 100 |
} |