app-emulation/wine: Fix SRC_URI for >=2.1, thanks to wraeth
authorNP-Hardass <NP-Hardass@gentoo.org>
Mon, 13 Mar 2017 04:51:43 +0000 (00:51 -0400)
committerNP-Hardass <NP-Hardass@gentoo.org>
Mon, 13 Mar 2017 04:52:02 +0000 (00:52 -0400)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-emulation/wine/wine-2.1.ebuild
app-emulation/wine/wine-2.2.ebuild
app-emulation/wine/wine-9999.ebuild

index 261ba4f70639c84471df124c38519a1731f8d2ac..c853f2956816a33c5732b53447d5613592fcf4c5 100644 (file)
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz"
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz"
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 
index 261ba4f70639c84471df124c38519a1731f8d2ac..c853f2956816a33c5732b53447d5613592fcf4c5 100644 (file)
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz"
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz"
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 
index 261ba4f70639c84471df124c38519a1731f8d2ac..c853f2956816a33c5732b53447d5613592fcf4c5 100644 (file)
@@ -15,8 +15,8 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
-       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.xz"
+       MAJOR_V=$(get_version_component_range 1)
+       SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz"
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi