Lines 1-11
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2021 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
# The order is important here! Both, cmake and xdg define src_prepare. |
6 |
# The order is important here! Both, cmake and xdg define src_prepare. |
7 |
# We need the one from cmake |
7 |
# We need the one from cmake |
8 |
inherit xdg cmake |
8 |
inherit bash-completion-r1 cmake xdg |
9 |
|
9 |
|
10 |
DESCRIPTION="Cross-platform music production software" |
10 |
DESCRIPTION="Cross-platform music production software" |
11 |
HOMEPAGE="https://lmms.io" |
11 |
HOMEPAGE="https://lmms.io" |
Lines 68-73
Link Here
|
68 |
|
68 |
|
69 |
DOCS=( README.md doc/AUTHORS ) |
69 |
DOCS=( README.md doc/AUTHORS ) |
70 |
|
70 |
|
|
|
71 |
src_prepare() { |
72 |
cmake_src_prepare |
73 |
sed -i 's/^/#/' cmake/modules/BashCompletion.cmake || die |
74 |
} |
75 |
|
71 |
src_configure() { |
76 |
src_configure() { |
72 |
local mycmakeargs+=( |
77 |
local mycmakeargs+=( |
73 |
-DUSE_WERROR=FALSE |
78 |
-DUSE_WERROR=FALSE |
Lines 93-106
Link Here
|
93 |
cmake_src_configure |
98 |
cmake_src_configure |
94 |
} |
99 |
} |
95 |
|
100 |
|
96 |
pkg_preinst() { |
101 |
src_install() { |
97 |
xdg_pkg_preinst |
102 |
cmake_src_install |
98 |
} |
|
|
99 |
|
100 |
pkg_postinst() { |
101 |
xdg_pkg_postinst |
102 |
} |
103 |
|
103 |
|
104 |
pkg_postrm() { |
104 |
dobashcomp doc/bash-completion/lmms |
105 |
xdg_pkg_postrm |
|
|
106 |
} |
105 |
} |