diff options
author | Matt Turner <mattst88@gentoo.org> | 2017-09-16 12:34:10 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2017-09-16 12:34:10 -0700 |
commit | d386f9d533a37699f55f9e67d951fb3ef56a859e (patch) | |
tree | 43a195970ae8e4f38a6fc8d79c1aba66560c6269 /media-libs/libepoxy | |
parent | media-libs/mesa: Update to use newly renamed OMX flag (diff) | |
download | gentoo-d386f9d533a37699f55f9e67d951fb3ef56a859e.tar.gz gentoo-d386f9d533a37699f55f9e67d951fb3ef56a859e.tar.bz2 gentoo-d386f9d533a37699f55f9e67d951fb3ef56a859e.zip |
media-libs/libepoxy: Switch to using the meson build system
Diffstat (limited to 'media-libs/libepoxy')
-rw-r--r-- | media-libs/libepoxy/libepoxy-9999.ebuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 5b6d700758f3..633cc77c96a2 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -11,7 +11,7 @@ fi PYTHON_COMPAT=( python{2_7,3_4,3_5} ) PYTHON_REQ_USE='xml(+)' -inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1 +inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you" HOMEPAGE="https://github.com/anholt/libepoxy" @@ -37,13 +37,21 @@ src_unpack() { [[ $PV = 9999* ]] && git-r3_src_unpack } -src_prepare() { - default - eautoreconf +multilib_src_configure() { + local emesonargs=( + -Denable-glx=$(usex X) + ) + meson_src_configure } -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - $(use_enable X glx) +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install } |