commit:     3b7d88e3e129b34900fbb9f67695487a605115ce
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 20:50:42 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 20:50:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7d88e3

media-gfx/fotowall: migrate to github

Package-Manager: portage-2.3.2

 media-gfx/fotowall/Manifest               | 2 +-
 media-gfx/fotowall/fotowall-0.9-r2.ebuild | 9 ++-------
 media-gfx/fotowall/metadata.xml           | 2 +-
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/media-gfx/fotowall/Manifest b/media-gfx/fotowall/Manifest
index 923dc1e..3d1d507 100644
--- a/media-gfx/fotowall/Manifest
+++ b/media-gfx/fotowall/Manifest
@@ -1 +1 @@
-DIST Fotowall-0.9.tar.bz2 640175 SHA256 
e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d SHA512 
63d6beb113caa6b3c12bb33b1f779608f00bb046c757a02b2694ccdd505cce18d7a6f0138baca79240d156235a30b97740e6d6a4f8745b8b21491e96b7312889
 WHIRLPOOL 
dd513ec3c728cb29aa897271bd6655309be199b2514b0ceda379a7eb461358f1158d921d96e90fea752bdb05da8d4692cf21f7283c9391c88c69fe070fff72eb
+DIST fotowall-0.9.tar.gz 1476812 SHA256 
1c2dfc22e4421a5268b9e330aca9db15982a13f66e23f6082d39ac1bb83fd621 SHA512 
84e57b220839322c88f5096f3f0846ebc1684cf7f61d32208fa5e37743a53d8bb02eaad17617f43b6badf29fac111a3816bad448f988f7d24aa293668af5a079
 WHIRLPOOL 
db828abd1239b1bbd3b35d3595bb0bd9c91869e8fc00f1af0d9efc62240196055f3ba0c042dc26872885ec4f594d263ee52b0c81e574fd6dfb520ace03b5e6e1

diff --git a/media-gfx/fotowall/fotowall-0.9-r2.ebuild 
b/media-gfx/fotowall/fotowall-0.9-r2.ebuild
index 6ca0264..2dcf28d 100644
--- a/media-gfx/fotowall/fotowall-0.9-r2.ebuild
+++ b/media-gfx/fotowall/fotowall-0.9-r2.ebuild
@@ -6,11 +6,9 @@ EAPI=6
 
 inherit qmake-utils
 
-MY_P="${P/f/F}"
-
 DESCRIPTION="Qt4 tool for creating wallpapers"
 HOMEPAGE="http://www.enricoros.com/opensource/fotowall/";
-SRC_URI="https://fotowall.googlecode.com/files/${MY_P}.tar.bz2";
+SRC_URI="https://github.com/enricoros/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -27,8 +25,6 @@ DEPEND="${RDEPEND}
        webcam? ( media-libs/libv4l )
 "
 
-S="${WORKDIR}/${MY_P}"
-
 src_prepare() {
        default
 
@@ -36,7 +32,7 @@ src_prepare() {
                3rdparty/videocapture/VideoDevice.h || die
 
        if ! use opengl; then
-               sed -i "/QT += opengl/d" "${PN}.pro" || die "sed failed"
+               sed -i "/QT += opengl/d" ${PN}.pro || die
        fi
 }
 
@@ -50,6 +46,5 @@ src_configure() {
 
 src_install() {
        emake INSTALL_ROOT="${D}" install
-
        dodoc README.markdown
 }

diff --git a/media-gfx/fotowall/metadata.xml b/media-gfx/fotowall/metadata.xml
index 44f4b1a..407bb66 100644
--- a/media-gfx/fotowall/metadata.xml
+++ b/media-gfx/fotowall/metadata.xml
@@ -9,6 +9,6 @@
                <flag name="webcam">Enable webcam support</flag>
        </use>
        <upstream>
-               <remote-id type="google-code">fotowall</remote-id>
+               <remote-id type="github">enricoros/fotowall</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to