public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/2] meson.eclass: pass --wrap-mode nodownload to meson
@ 2017-06-02 15:54 Mike Gilbert
  2017-06-02 15:55 ` [gentoo-dev] [PATCH 2/2] meson.eclass: add myself to maintainers Mike Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Gilbert @ 2017-06-02 15:54 UTC (permalink / raw
  To: gentoo-dev; +Cc: williamh

Downloading sources in src_configure is a bad idea.

Ref: http://mesonbuild.com/FAQ.html#does-wrap-download-sources-behind-my-back
---
 eclass/meson.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index ad260eb65b09..bb60a16aad50 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -48,7 +48,7 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install
 if [[ -z ${_MESON_ECLASS} ]]; then
 _MESON_ECLASS=1
 
-DEPEND=">=dev-util/meson-0.39.1
+DEPEND=">=dev-util/meson-0.40.0
 	>=dev-util/ninja-1.7.2"
 
 # @ECLASS-VARIABLE: BUILD_DIR
@@ -126,6 +126,7 @@ meson_src_configure() {
 		--localstatedir "${EPREFIX}/var/lib"
 		--prefix "${EPREFIX}/usr"
 		--sysconfdir "${EPREFIX}/etc"
+		--wrap-mode nodownload
 		)
 
 	# Both meson(1) and _meson_create_cross_file need these
-- 
2.13.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-dev] [PATCH 2/2] meson.eclass: add myself to maintainers
  2017-06-02 15:54 [gentoo-dev] [PATCH 1/2] meson.eclass: pass --wrap-mode nodownload to meson Mike Gilbert
@ 2017-06-02 15:55 ` Mike Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert @ 2017-06-02 15:55 UTC (permalink / raw
  To: gentoo-dev; +Cc: williamh

---
 eclass/meson.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index bb60a16aad50..25e19dff48e3 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -4,6 +4,7 @@
 # @ECLASS: meson.eclass
 # @MAINTAINER:
 # William Hubbs <williamh@gentoo.org>
+# Mike Gilbert <floppym@gentoo.org>
 # @BLURB: common ebuild functions for meson-based packages
 # @DESCRIPTION:
 # This eclass contains the default phase functions for packages which
-- 
2.13.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-02 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-02 15:54 [gentoo-dev] [PATCH 1/2] meson.eclass: pass --wrap-mode nodownload to meson Mike Gilbert
2017-06-02 15:55 ` [gentoo-dev] [PATCH 2/2] meson.eclass: add myself to maintainers Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox