diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-libs/efl/efl-1.25.1-r10.ebuild | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-libs/efl/efl-1.25.1-r10.ebuild')
-rw-r--r-- | dev-libs/efl/efl-1.25.1-r10.ebuild | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/dev-libs/efl/efl-1.25.1-r10.ebuild b/dev-libs/efl/efl-1.25.1-r10.ebuild index 778024e9b3f1..d6f621178a8a 100644 --- a/dev-libs/efl/efl-1.25.1-r10.ebuild +++ b/dev-libs/efl/efl-1.25.1-r10.ebuild @@ -5,7 +5,10 @@ EAPI=7 LUA_COMPAT=( lua5-{1..3} luajit ) -inherit lua-single meson xdg-utils +DOCS_BUILDER="doxygen" +DOCS_DIR="${S}/doc" + +inherit docs lua-single meson xdg-utils DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" HOMEPAGE="https://www.enlightenment.org" @@ -14,7 +17,7 @@ SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" -IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug doc drm +eet efl-one elogind examples fbcon +IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon +fontconfig fribidi gif gles2-only gnutls glib +gstreamer harfbuzz hyphen ibus ico libressl jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim sdl +sound +ssl +svg +system-lz4 systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf @@ -125,7 +128,6 @@ RDEPEND="${LUA_DEPS} zeroconf? ( net-dns/avahi )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig - doc? ( app-doc/doxygen ) nls? ( sys-devel/gettext )" pkg_setup() { @@ -142,6 +144,17 @@ src_prepare() { sed -i "/config_h.set('HAVE_UNWIND/,/eina_ext_deps += unwind/d" src/lib/eina/meson.build || die "Failed to remove libunwind dep" fi + + # Fixup Doxyfile + pushd "${DOCS_DIR}" || die + cp Doxyfile.in Doxyfile || die + sed -i \ + -e "s/@PACKAGE_VERSION@/${PV}/g" \ + -e "s/@top_builddir@/../g" \ + -e "s/@top_srcdir@/../g" \ + -e "s/@srcdir@/./g" \ + Doxyfile || die + popd || die } src_configure() { @@ -177,7 +190,7 @@ src_configure() { $(meson_use gstreamer) $(meson_use harfbuzz) $(meson_use hyphen) - $(meson_use lua_targets_luajit elua) + $(meson_use lua_single_target_luajit elua) $(meson_use nls) $(meson_use physics) $(meson_use pulseaudio) @@ -251,13 +264,13 @@ src_configure() { emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" ) local bindingsList="cxx," - use lua_targets_luajit && bindingsList+="lua," + use lua_single_target_luajit && bindingsList+="lua," use mono && bindingsList+="mono," [[ ! -z "$bindingsList" ]] && bindingsList=${bindingsList::-1} emesonargs+=( -D bindings="${bindingsList}" ) local luaChoice="" - if use lua_targets_luajit; then + if use lua_single_target_luajit; then luaChoice+="luajit" else luaChoice+="lua" @@ -273,16 +286,11 @@ src_configure() { } src_compile() { + docs_compile meson_src_compile - - if use doc; then - cd doc/ || die "Failed to switch into doc/ dir." - doxygen . || die "Doxygen failed to run." - fi } src_install() { - use doc && local HTML_DOCS=( "${S}"/doc/html/. ) meson_src_install if use examples; then |