diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-03 03:30:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-03 03:30:15 +0100 |
commit | eaef2dddc42323859c2525b466b380620534c051 (patch) | |
tree | 896c21252a915d64254052580cbe09065160d988 /media-sound/mixxx/mixxx-2.3.5-r1.ebuild | |
parent | abccc7eb204f4c89c47a45acfe0db1cc337585ff (diff) |
gentoo auto-resync : 03:06:2023 - 03:30:15
Diffstat (limited to 'media-sound/mixxx/mixxx-2.3.5-r1.ebuild')
-rw-r--r-- | media-sound/mixxx/mixxx-2.3.5-r1.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/media-sound/mixxx/mixxx-2.3.5-r1.ebuild b/media-sound/mixxx/mixxx-2.3.5-r1.ebuild index 4481a0c531b5..fba6b6470a4e 100644 --- a/media-sound/mixxx/mixxx-2.3.5-r1.ebuild +++ b/media-sound/mixxx/mixxx-2.3.5-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 inherit cmake xdg udev +MY_PV=$(ver_cut 1-2) DESCRIPTION="Advanced Digital DJ tool based on Qt" HOMEPAGE="https://mixxx.org/" if [[ ${PV} == *9999 ]] ; then @@ -99,12 +100,12 @@ PLOCALES=" mixxx_set_globals() { local lang - local MANUAL_URI_BASE="https://downloads.mixxx.org/manual/$(ver_cut 1-2)" + local MANUAL_URI_BASE="https://downloads.mixxx.org/manual/${MY_PV}" for lang in ${PLOCALES} ; do - SRC_URI+=" l10n_${lang}? ( ${MANUAL_URI_BASE}/${PN}-manual-$(ver_cut 1-2)-${lang/ja/ja-JP}.pdf )" + SRC_URI+=" l10n_${lang}? ( ${MANUAL_URI_BASE}/${PN}-manual-${MY_PV}-${lang/ja/ja-JP}.pdf )" IUSE+=" l10n_${lang/ en/ +en}" done - SRC_URI+=" ${MANUAL_URI_BASE}/${PN}-manual-$(ver_cut 1-2)-en.pdf" + SRC_URI+=" ${MANUAL_URI_BASE}/${PN}-manual-${MY_PV}-en.pdf" } mixxx_set_globals @@ -144,7 +145,7 @@ src_install() { local locale for locale in ${PLOCALES} ; do if use l10n_${locale} ; then - dodoc "${DISTDIR}"/${PN}-manual-$(ver_cut 1-2)-${locale/ja/ja-JP}.pdf + dodoc "${DISTDIR}"/${PN}-manual-${MY_PV}-${locale/ja/ja-JP}.pdf fi done } |