From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 274A6138350 for ; Sat, 15 Feb 2020 12:21:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20DD8E09B5; Sat, 15 Feb 2020 12:19:07 +0000 (UTC) Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD84AE09AE for ; Sat, 15 Feb 2020 12:19:06 +0000 (UTC) Received: by mail-pj1-x1044.google.com with SMTP id e9so5223359pjr.4 for ; Sat, 15 Feb 2020 04:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K6GKTDi8DeJMGOhjO+NcLsuQo4/+DeXqvv5Ip2nR6Vo=; b=s77nRqxESvDK8L+rozRblIccggQ70axLN2Rt1VLonyruf+K5sDVgC1QeJhCBz2k58i RbKyql+jYgyoqgvc3ZdyZu8au4QOq7pZA7dznmWIPMXCQWlGmoZ/DwnTk5cXbKwB9HgH yg7OomgLX6DMuTbGEX2sVZFJowNLeqLS06k4KYZixfS0NV7/hQIL1ajAWqS4SaJpwdT6 U69JvgMnzKN0uAmI5K6+XirxA76JUJWoaO4Kb2vIMnF39zgIkCsTuxfRyiWg6TRkJQyi n1Ile1iPoTnnKick4a8R6B4nyF2mzlbMZeB0oytXcd5JqUahZQipJO7ZpqwP4ekcG8dS SeMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=K6GKTDi8DeJMGOhjO+NcLsuQo4/+DeXqvv5Ip2nR6Vo=; b=KbTgCj3LAd1h3uyONM/ItU5+yKuxfFgi/Id5B4OHLcsLQ0Z5m/kLiRC0mweiDRJ/xe 6FYf33ZfV4gBpaocB2W1YG9VtcidkaUKTW1zGwseeKlPqZDyoJz0ytMAtfp3k6jKEsoc shO6fsJ0+/ZyUUNDemph+YX5qEsSj2Ff2e1R7R87jhpfrybaWpU8on6rPj+uoZYicHIY huHXov8tgak1tnHcd9mDk3+wFgMO8lt7knwTDFrpZrLaQiGBjaPHKNfBbgTxqPsO/rAB ogNak7YYTxnSEPbnc5nqyB9NWKInSiKCduzStcAsdLDIL/FaBT9cUPw2J6FESnAMz9Rw oOTw== X-Gm-Message-State: APjAAAWtZFUcGY980Bl0BVIvb3ceXN4P7r/pA1Lh9E9Ksaa6waTj/jEf 2gWdJXFMFPBApG4yI5EnprKxLaInYiI= X-Google-Smtp-Source: APXvYqym+2a+Hobw3sB41kkTBg43ffDJzQXUWHXVq+TEGrLeCIUfCg/Fj68gQmjV5xPxRmXwRJ9pRw== X-Received: by 2002:a17:90a:d80b:: with SMTP id a11mr9428570pjv.142.1581769145185; Sat, 15 Feb 2020 04:19:05 -0800 (PST) Received: from localhost ([240d:1a:2cc:8e00:9ae8:15b8:5709:4ef]) by smtp.gmail.com with ESMTPSA id 11sm10626927pfz.25.2020.02.15.04.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Feb 2020 04:19:04 -0800 (PST) Sender: Naohiro Aota From: Naohiro Aota To: gentoo-dev@lists.gentoo.org Cc: ruby@gentoo.org, Naohiro Aota Subject: [gentoo-dev] [PATCH 9/9] ruby-ng-gnome2.eclass: add support for 3.4.x Date: Sat, 15 Feb 2020 21:18:33 +0900 Message-Id: <20200215121833.3631177-9-naota@gentoo.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200215121833.3631177-1-naota@gentoo.org> References: <20200215121833.3631177-1-naota@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 9a226008-daa1-49d8-b318-6031189b4e55 X-Archives-Hash: 9c20fd93e6d5bca103e6c6464cee165e Update SRC_URI since the primary release site is moved to github. Signed-off-by: Naohiro Aota --- eclass/ruby-ng-gnome2.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index 4220dc9f2092..fa5530d36629 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -41,11 +41,17 @@ DEPEND="virtual/pkgconfig" ruby_add_bdepend " dev-ruby/pkg-config test? ( >=dev-ruby/test-unit-2 )" -RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" HOMEPAGE="https://ruby-gnome2.osdn.jp/" LICENSE="LGPL-2.1+" SLOT="0" +if version_is_at_least "3.4.0"; then + SRC_URI="https://github.com/ruby-gnome/ruby-gnome/archive/${PV}.tar.gz -> ruby-gnome2-${PV}.tar.gz" + RUBY_S=ruby-gnome-${PV}/${RUBY_FAKEGEM_NAME} +else + SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" + RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} +fi ruby-ng-gnome2_all_ruby_prepare() { # Avoid compilation of dependencies during test. -- 2.25.0