On pią, 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 > > # @ECLASS: meson.eclass > # @MAINTAINER: > # William Hubbs <willi...@gentoo.org> > # @BLURB: common ebuild functions for meson-based packages > # @DESCRIPTION: > # > # @EXAMPLE: > # Typical ebuild using meson.eclass: > # > # @CODE > # EAPI=6 > # > # inherit meson > # > # ... > # > # src_configure() { > # local emesonargs=( > # -Dqt4=$(usex qt4 true false) > # -Dthreads=$(usex threads true false) > # -Dtiff=$(usex tiff true false) > # ) > # meson_src_configure > # } > # > # ... > # > # @CODE > > case ${EAPI:-0} in > 6) ;; > *) die "EAPI=${EAPI} is not supported" ;; > esac > > EXPORT_FUNCTIONS src_configure src_compile src_test src_install > > if [[ -z ${_MESON_ECLASS} ]]; then > _MESON_ECLASS=1 > > inherit ninja-utils Extra tab on front of the line. -- Best regards, Michał Górny
signature.asc
Description: This is a digitally signed message part