Re: [proaudio] media-libs/juce-1.53 : cannot download source

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Le Tue, 10 Dec 2013 09:38:45 +0000,
Xavier Miller <xavier.miller@xxxxxxxxx> a écrit :

> 
> Zlobin Nikita <nick87720z@xxxxxxxxx> a écrit :
> > Yet, what i did not try, exact versions are marked by tags in git,  
> > so simple replacing.
> >
> > Full git-2 doc is there:
> > http://devmanual.gentoo.org/eclass-reference/git-2.eclass/index.html
> >
> > inherit git-2
> > EGIT_REPO_URI="git://get.code.sf.net/p/juce/code"
> > EGIT_OPTIONS="--depth 1" # Recommended to get onlt requiested
> > commit without even history
> >
> > # And to specify commit or tag (i guess, this is way to use tags)
> > EGIT_COMMIT=tag_name # (tag_name is just an example tag name)
> 
> Hello Nikita,
> 
> An other solution is to get the release tarball from the tag:
> For example the version 3.0:
> SRC_URI="https://github.com/julianstorer/JUCE/archive/3.0.0.tar.gz
> -> juce-3.0.0.tar.gz"
> 
> ;)
> 
> I will change the ebuild version and SRC_URI and let see if it works.
> 
> 
> 
I have a working ebuild for version 1.53.
Then I will try version 3.0.0

I don't know if I still have commit rights, and now, the proxy doesn't
permit SVN access, so I attach the patch and patched ebuild.


Kind regards,
Xavier.
--- /var/lib/layman/pro-audio/media-libs/juce/juce-1.53.ebuild	2012-01-25 18:40:46.000000000 +0100
+++ juce-1.53.ebuild	2013-12-10 10:50:37.287669844 +0100
@@ -6,16 +6,15 @@
 
 inherit eutils multilib flag-o-matic
 
-MY_P="${P/-/_}"
+MY_P="JUCE-${PV/-/_}_release"
 MY_P="${MY_P/./_}"
 
 DESCRIPTION="JUCE is an all-encompassing C++
 class library for developing cross-platform applications."
-HOMEPAGE=" http://www.rawmaterialsoftware.com/juce";
-SRC_URI="mirror://sourceforge/juce/${MY_P}.zip "
-RESTRICT="mirror"
+HOMEPAGE=" http://www.juce.com";
+SRC_URI="https://github.com/julianstorer/JUCE/archive/1_53_release.tar.gz -> ${MY_P}.tar.gz"
 
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="GPL-2"
 SLOT="0"

Attachment: juce-1.53.ebuild
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/