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"
[[ $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
}