mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
musikcube: update to 3.0.2.
This commit is contained in:
parent
d002efe03f
commit
5070a8cde6
2 changed files with 29 additions and 3 deletions
26
srcpkgs/musikcube/patches/musl.patch
Normal file
26
srcpkgs/musikcube/patches/musl.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
--- a/src/musikcube/app/model/DirectoryAdapter.cpp
|
||||||
|
+++ b/src/musikcube/app/model/DirectoryAdapter.cpp
|
||||||
|
@@ -127,19 +127,23 @@ static void buildDirectoryList(
|
||||||
|
}
|
||||||
|
catch (...) {
|
||||||
|
/* may throw trying to open the directory */
|
||||||
|
}
|
||||||
|
|
||||||
|
+#ifdef __GLIBC__
|
||||||
|
try {
|
||||||
|
std::sort(
|
||||||
|
target.begin(),
|
||||||
|
target.end(),
|
||||||
|
std::locale(setlocale(LC_ALL, nullptr)));
|
||||||
|
}
|
||||||
|
catch (...) {
|
||||||
|
std::sort(target.begin(), target.end());
|
||||||
|
}
|
||||||
|
+#else
|
||||||
|
+ std::sort(target.begin(), target.end());
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
static std::string pathToString(fs::path path) {
|
||||||
|
return musik::core::NormalizeDir(path.u8string());
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'musikcube'
|
# Template file for 'musikcube'
|
||||||
pkgname=musikcube
|
pkgname=musikcube
|
||||||
version=3.0.0
|
version=3.0.2
|
||||||
revision=3
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
make_cmd=make
|
make_cmd=make
|
||||||
configure_args="-DNO_NCURSESW=1"
|
configure_args="-DNO_NCURSESW=1"
|
||||||
|
@ -17,7 +17,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://musikcube.com/"
|
homepage="https://musikcube.com/"
|
||||||
changelog="https://raw.githubusercontent.com/clangen/musikcube/master/CHANGELOG.txt"
|
changelog="https://raw.githubusercontent.com/clangen/musikcube/master/CHANGELOG.txt"
|
||||||
distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz"
|
distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz"
|
||||||
checksum=b857980c214f86f17cc288eda4562b51683cd42a843a4a4d8d8e60169cf87345
|
checksum=65f82db36d635bdbfd99f67d1d68c9e1aedf8e38efa627f303cf7971c306d063
|
||||||
build_options="elogind"
|
build_options="elogind"
|
||||||
desc_option_elogind="Support MPRIS interface via elogind"
|
desc_option_elogind="Support MPRIS interface via elogind"
|
||||||
build_options_default="elogind"
|
build_options_default="elogind"
|
||||||
|
|
Loading…
Add table
Reference in a new issue