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 605BE139694 for ; Fri, 5 May 2017 16:56:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF99FE0CF9; Fri, 5 May 2017 16:56:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D801E0C87 for ; Fri, 5 May 2017 16:56:01 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 17AAF3415B7; Fri, 5 May 2017 16:55:58 +0000 (UTC) Message-ID: <1494003341.2028.6.camel@gentoo.org> Subject: Re: [gentoo-dev] meson.eclass third draft From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Fri, 05 May 2017 18:55:41 +0200 In-Reply-To: <20170505153543.GA2377@linux1> References: <20170505153543.GA2377@linux1> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-tGEAi/1WsR7/+hr2fqNo" X-Mailer: Evolution 3.22.6 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 Mime-Version: 1.0 X-Archives-Salt: 1d282a99-0d8f-487b-9887-ff45a04697c5 X-Archives-Hash: 73512f96325922ec2f922f54f70d2b9f --=-tGEAi/1WsR7/+hr2fqNo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On pi=C4=85, 2017-05-05 at 10:35 -0500, William Hubbs wrote: > # Copyright 2017 Gentoo Foundation Aren't we supposed to use the full range of years here? > # Distributed under the terms of the GNU General Public License v2 >=20 > # @ECLASS: meson.eclass > # @MAINTAINER: > # William Hubbs > # @BLURB: common ebuild functions for meson-based packages > # @DESCRIPTION: > # > # @EXAMPLE: > # Typical ebuild using meson.eclass: > # > # @CODE > # EAPI=3D6 > # > # inherit meson > # > # ... > # > # src_configure() { > # local emesonargs=3D( > # -Dqt4=3D$(usex qt4 true false) > # -Dthreads=3D$(usex threads true false) > # -Dtiff=3D$(usex tiff true false) > # ) > # meson_src_configure > # } > # > # ... > # > # @CODE >=20 > case ${EAPI:-0} in > 6) ;; > *) die "EAPI=3D${EAPI} is not supported" ;; > esac >=20 > EXPORT_FUNCTIONS src_configure src_compile src_test src_install >=20 > if [[ -z ${_MESON_ECLASS} ]]; then > _MESON_ECLASS=3D1 >=20 > inherit ninja-utils Extra tab on front of the line. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-tGEAi/1WsR7/+hr2fqNo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEXr8g+Zb7PCLMb8pAur8dX/jIEQoFAlkMro1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVF QkYyMEY5OTZGQjNDMjJDQzZGQ0E0MEJBQkYxRDVGRjhDODExMEEACgkQur8dX/jI EQrbCA/9GpEmVkAF0q0C50+hQSP+1HrRLy5hSnwv9Mq42vhsFuaGF+AhJpRCE6QB usWeSJ2tEFgInieAaK+HmBsARDsVx1VHwU7lmcnl5iAJE7BaXQdu+kIeYIh9nVuH Gsompe0MMsAmuNvKigU0VBXYLf2VKmM/wLCE9zzin80sxoupBZ5K7LLzexyo8x7K JdVpYnUi7brb4Hd4eh5j2x4KgAuqo6q842vbWFJ4hUB8EqgiCKJkpmPYYg1OsdTk A/Bwc8kRZec0fuLkZ/W6DWcBG646PncZHgUKQ+3HQ9z5EWpShPg70ZI/NQD7NT9U p9GkHduW02yq2WBUMZ6yaaQ0/o11MBDikkjV2OlJbZsRCp+DX01PmSEXYUOaMHic HiShs/4K9U2WZkkNhXohadWiHC11ewNrHoAbVzMDhj+gQ6LanOLMoCRJdgjdsk6c I4IYnI7i2KK9YQG7LADpHT8QIzLV7eUPDwcU/QmmPV0krIiFbS+hzcQcJR3o7iwl 0gy+5/5sgdr1qClDNnKh9vXSsbRE6DM6+AtxP8g97Ql1E4Kda8M2e91icHLYba4i k95LaOMXqYY2ZitflwBKxSrNDF0tWpfp4xLZyHhqJ6DJ0U4rlQvBbgvRv8dAHzU0 5IjnS5CaoEFEFSJfCDRrEMhE9N9U6eNKVow8LA10eXZ7DD1RvjY= =+Grq -----END PGP SIGNATURE----- --=-tGEAi/1WsR7/+hr2fqNo--