Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 473662 Details for
Bug 619178
meson.eclass - several eclass improvements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
meson.patch
meson.patch (text/plain), 2.47 KB, created by
Coacher
on 2017-05-21 12:06:43 UTC
(
hide
)
Description:
meson.patch
Filename:
MIME Type:
Creator:
Coacher
Created:
2017-05-21 12:06:43 UTC
Size:
2.47 KB
patch
obsolete
>diff --git a/eclass/meson.eclass b/eclass/meson.eclass >index 9a006057e9..dc6f270119 100644 >--- a/eclass/meson.eclass >+++ b/eclass/meson.eclass >@@ -45,19 +45,16 @@ _MESON_ECLASS=1 > # FIXME: We will need to inherit toolchain-funcs as well to support crossdev. > inherit ninja-utils > >-DEPEND=">=dev-util/meson-0.39.1 >- >=dev-util/ninja-1.7.2" >+DEPEND=">=dev-util/meson-0.39.1" > > # @ECLASS-VARIABLE: BUILD_DIR >-# @DEFAULT_UNSET > # @DESCRIPTION: > # Build directory, location where all generated files should be placed. > # If this isn't set, it defaults to ${WORKDIR}/${P}-build. > > # @ECLASS-VARIABLE: EMESON_SOURCE >-# @DEFAULT_UNSET > # @DESCRIPTION: >-# The location of the source files for the project;this is the source >+# The location of the source files for the project; this is the source > # directory to pass to meson. > # If this isn't set, it defaults to ${S} > >@@ -67,17 +64,17 @@ DEPEND=">=dev-util/meson-0.39.1 > # Optional meson arguments as Bash array; this should be defined before > # calling meson_src_configure. > >-# create a cross file for meson >+# Create a cross file for meson > # fixme: This function should write a cross file as described at the > # following url. >-# http://mesonbuild.com/Cross-compilation.html >+# http://mesonbuild.com/Cross-compilation.html > # _meson_create_cross_file() { > # touch "${T}"/meson.crossfile > # } > > # @FUNCTION: meson_src_configure > # @DESCRIPTION: >-# this is the meson_src_configure function >+# This is the meson_src_configure function > meson_src_configure() { > debug-print-function ${FUNCNAME} "$@" > >@@ -86,7 +83,7 @@ meson_src_configure() { > --buildtype plain > --libdir "$(get_libdir)" > --localstatedir "${EPREFIX}/var/lib" >- --prefix "${EPREFIX}"/usr >+ --prefix "${EPREFIX}/usr" > --sysconfdir "${EPREFIX}/etc" > ) > >@@ -114,25 +111,26 @@ meson_src_configure() { > meson_src_compile() { > debug-print-function ${FUNCNAME} "$@" > >- eninja -v -C "${BUILD_DIR}" >+ eninja -C "${BUILD_DIR}" > } > > # @FUNCTION: meson_src_test > # @DESCRIPTION: >-# this is the meson_src_test function. >+# This is the meson_src_test function. > meson_src_test() { > debug-print-function ${FUNCNAME} "$@" > >- eninja -v -C "${BUILD_DIR}" test >+ eninja -C "${BUILD_DIR}" test > } > > # @FUNCTION: meson_src_install > # @DESCRIPTION: >-# this is the meson_src_install function. >+# This is the meson_src_install function. > meson_src_install() { > debug-print-function ${FUNCNAME} "$@" > >- DESTDIR="${D}" eninja -v -C "${BUILD_DIR}" install >+ DESTDIR="${D}" eninja -C "${BUILD_DIR}" install >+ einstalldocs > } > > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 619178
:
473662
|
473664
|
473666
|
473670