Diff mpd-0.24.15 with a mpd-0.24.16
| /usr/portage/media-sound/mpd/mpd-0.24.16.ebuild 2026-10-23 20:01:05.321827880 +0300 | ||
|---|---|---|
| 150 | 150 | |
| 151 | 151 |
PATCHES=( |
| 152 | 152 |
# PR merged |
| 153 |
"${FILESDIR}"/${P}-fix_libcxx23.patch
|
|
| 153 |
"${FILESDIR}"/${P}-link_smbclient.patch
|
|
| 154 | 154 |
) |
| 155 | 155 | |
| 156 | 156 |
python_check_deps() {
|
| ... | ... | |
| 330 | 330 |
newinitd "${FILESDIR}/${PN}-0.24.15.init" "${PN}"
|
| 331 | 331 |
newconfd "${FILESDIR}/${PN}-0.24.15.confd" "${PN}"
|
| 332 | 332 | |
| 333 |
exeinto /etc/user/init.d |
|
| 334 |
newexe "${FILESDIR}/${PN}-0.24.16.user.init" "${PN}"
|
|
| 335 |
exeinto /etc/user/conf.d |
|
| 336 |
newexe "${FILESDIR}/${PN}-0.24.16.user.confd" "${PN}"
|
|
| 337 | ||
| 333 | 338 |
# set memlock limit for io-uring |
| 334 | 339 |
# see https://mpd.readthedocs.io/en/latest/user.html#startup |
| 335 | 340 |
if use io-uring; then |
| 336 | 341 |
sed -e '/#rc_ulimit="${rc_ulimit} -l/s/^#//' \
|
| 337 |
-i "${ED}/etc/conf.d/mpd" || die
|
|
| 342 |
-i "${ED}/etc/conf.d/mpd" "${ED}/etc/user/conf.d/mpd" || die
|
|
| 338 | 343 |
fi |
| 339 | 344 | |
| 340 | 345 |
keepdir /var/lib/mpd |