From b8a68ff14101189bc5330d9afa620b8c45212032 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Jun 2023 20:18:01 +0100 Subject: gentoo auto-resync : 11:06:2023 - 20:18:01 --- dev-libs/Manifest.gz | Bin 97831 -> 97845 bytes dev-libs/efl/Manifest | 2 +- dev-libs/efl/efl-1.26.3-r1.ebuild | 316 ---------------------------------- dev-libs/efl/efl-1.26.3-r2.ebuild | 316 ++++++++++++++++++++++++++++++++++ dev-libs/libgusb/Manifest | 2 + dev-libs/libgusb/libgusb-0.4.6.ebuild | 72 ++++++++ 6 files changed, 391 insertions(+), 317 deletions(-) delete mode 100644 dev-libs/efl/efl-1.26.3-r1.ebuild create mode 100644 dev-libs/efl/efl-1.26.3-r2.ebuild create mode 100644 dev-libs/libgusb/libgusb-0.4.6.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index faf3ca22e5aa..d1bda6f88b08 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest index 223932c5b4ee..4954a7d13d71 100644 --- a/dev-libs/efl/Manifest +++ b/dev-libs/efl/Manifest @@ -1,4 +1,4 @@ AUX efl-1.26.3-libressl.patch 8420 BLAKE2B 637269f26888dd46f2f8faca3e63d3ccf69376f231c7f1b2423a7a1e2293eeeae569dfcb6d98dae77fe4005a74fea60c991ab622c79260f616b6e86442284cbd SHA512 10257eedd85b520b956f7e064bf596d6c31cbb7d6200c7396498b7a3d087a4b4f366a54bff06cfe5aacf8454163e2e5c803b82ed5cdaad01b3d5912773ee4e6c DIST efl-1.26.3.tar.xz 168540684 BLAKE2B aeb0215b9cdce9ca10550c698df4985ff9557c3c400c3a300887148d04a8900f04c7200473e5fce1d3021378be1e664e9364d171ec09c4fc488b4ec758722ea5 SHA512 9801ee8bc963786962d87af56d532d3f019bc18a91924d2ef84934dcd0ae30452d858db93c33964f2bff9af2f3c8feb9927f7281ead4a8993ed622cd0cf2c514 -EBUILD efl-1.26.3-r1.ebuild 8389 BLAKE2B 8af266631a1ba0b0fbdf1435e4e03f67cd8f0c55963984e20b07a46c568e14f461955ffd8653c9bc2bc69ba500aaf066b63e7af6954b7fdff05f287a6b4606fd SHA512 cedd8de585bbf423756b7d8a96df95a4629d152e3cf06e403aecfe30e35bd2bbe5c0e379bdfc79ec486c561c82a715cdc82868ba084e1aa7d2742b43fe31dcfc +EBUILD efl-1.26.3-r2.ebuild 8386 BLAKE2B fd70fb6e351de074abdf1824afda03a862b191077ffaafe8b7c4b7651ec77b686ddee4be72da611129bb1306d800218060d871f6176367358a4b86bf5c4d07a5 SHA512 5eeb4c7ad3ebc2b9f207f71286e93f2693bbefbd0d11180af0273f71569a71f12eee38075a10627530d8b99bb85ad37c836e555ce701486b3ef22328fbcac1dc MISC metadata.xml 1889 BLAKE2B 00d61cd4f80a59696ca2a0b2547d5ac39f93312e35271b6f94ce7aed168d3aa042a05378b1bb2d3874dcab9c166ed5ae53a1c955fadc6b588dc40deec07ccdab SHA512 b852affad80c80834e80da06d33e3c3e42aba404cb5b628bee06f23977d3956225bf38e9897e24d31325cc10efebcd448d4c50ad9d4e8a154e23400a545e2e9f diff --git a/dev-libs/efl/efl-1.26.3-r1.ebuild b/dev-libs/efl/efl-1.26.3-r1.ebuild deleted file mode 100644 index fb26d694f9b3..000000000000 --- a/dev-libs/efl/efl-1.26.3-r1.ebuild +++ /dev/null @@ -1,316 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DOCS_BUILDER="doxygen" -DOCS_DEPEND="dev-texlive/texlive-fontutils" -DOCS_DIR="${S}/doc" - -LUA_REQ_USE="deprecated(+)" -LUA_COMPAT=( lua5-{1,2} luajit ) - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit docs lua-single meson python-any-r1 xdg - -DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" -HOMEPAGE="https://www.enlightenment.org" -SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" - -LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv x86" -IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon - +fontconfig fribidi gif gnutls glib +gstreamer harfbuzz heif hyphen ibus ico - jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim - sdl +sound +svg +system-lz4 systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf - xim xpm xpresent zeroconf" - -REQUIRED_USE="${LUA_REQUIRED_USE} - ?? ( elogind systemd ) - ?? ( fbcon tslib ) - drm? ( wayland ) - examples? ( eet svg ) - ibus? ( glib ) - opengl? ( X ) - pulseaudio? ( sound ) - xim? ( X ) - xpresent? ( X )" - -# Requires everything to be enabled unconditionally. -RESTRICT="test" - -RDEPEND="${LUA_DEPS} - !x11-themes/e-flat-theme - dev-libs/libinput:= - net-misc/curl - media-libs/giflib:= - media-libs/libjpeg-turbo:= - media-libs/libpng:= - sys-apps/dbus - sys-libs/zlib - X? ( - !opengl? ( media-libs/mesa[egl(+),gles2] ) - media-libs/freetype - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libxkbcommon - wayland? ( x11-libs/libxkbcommon[X] ) - ) - avif? ( media-libs/libavif:= ) - connman? ( net-misc/connman ) - drm? ( - dev-libs/libinput:= - dev-libs/wayland - media-libs/mesa[gbm(+)] - x11-libs/libdrm - x11-libs/libxkbcommon - ) - elogind? ( - sys-auth/elogind - virtual/libudev:= - ) - fontconfig? ( media-libs/fontconfig ) - fribidi? ( dev-libs/fribidi ) - glib? ( dev-libs/glib:2 ) - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:0= ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - ) - harfbuzz? ( media-libs/harfbuzz:= ) - heif? ( media-libs/libheif:= ) - hyphen? ( dev-libs/hyphen ) - ibus? ( app-i18n/ibus ) - jpeg2k? ( media-libs/openjpeg:= ) - json? ( >=media-libs/rlottie-0.0.1_pre20200424:= ) - mono? ( dev-lang/mono ) - opengl? ( virtual/opengl ) - pdf? ( app-text/poppler:=[cxx] ) - physics? ( sci-physics/bullet:= ) - postscript? ( app-text/libspectre ) - pulseaudio? ( media-sound/pulseaudio ) - raw? ( media-libs/libraw:= ) - scim? ( app-i18n/scim ) - sdl? ( media-libs/libsdl2 ) - sound? ( media-libs/libsndfile ) - svg? ( gnome-base/librsvg:2 ) - system-lz4? ( app-arch/lz4:= ) - systemd? ( sys-apps/systemd:= ) - tiff? ( media-libs/tiff:= ) - tslib? ( x11-libs/tslib:= ) - unwind? ( sys-libs/libunwind:= ) - v4l? ( media-libs/libv4l ) - vnc? ( net-libs/libvncserver ) - wayland? ( - dev-libs/wayland - media-libs/mesa[gles2,wayland] - x11-libs/libxkbcommon - ) - webp? ( media-libs/libwebp:= ) - xpm? ( x11-libs/libXpm ) - xpresent? ( x11-libs/libXpresent ) - zeroconf? ( net-dns/avahi )" -DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto ) - wayland? ( dev-libs/wayland-protocols )" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - wayland? ( dev-util/wayland-scanner )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.26.3-libressl.patch #903001 -) - -pkg_setup() { - # Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so. - QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.${PV} - /usr/$(get_libdir)/libefreet_mime.so.${PV}" - - python-any-r1_pkg_setup -} - -src_prepare() { - default - - # Remove automagic unwind configure option, #743154 - if ! use unwind; then - 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 - - # Fix python shebangs for python-exec[-native-symlinks], #764086 - local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) - python_fix_shebang -q ${shebangs[*]} -} - -src_configure() { - local emesonargs=( - --buildtype=plain - - -D buffer=false - -D build-tests=false - -D cocoa=false - -D drm-deprecated=false - -D g-mainloop=false - -D mono-beta=false - -D dotnet=false - -D pixman=false - -D wl-deprecated=false - -D dotnet-stylecop-severity=Warning - - -D edje-sound-and-video=true - -D eeze=true - -D input=true - -D install-eo-files=true - -D libmount=true - -D native-arch-optimization=true - -D xinput2=true - -D xinput22=true - - $(meson_use X x11) - $(meson_use debug debug-threads) - $(meson_use drm) - $(meson_use examples build-examples) - $(meson_use fbcon fb) - $(meson_use fontconfig) - $(meson_use fribidi) - $(meson_use glib) - $(meson_use gstreamer) - $(meson_use harfbuzz) - $(meson_use hyphen) - $(meson_use lua_single_target_luajit elua) - $(meson_use nls) - $(meson_use physics) - $(meson_use pulseaudio) - $(meson_use sdl) - $(meson_use sound audio) - $(meson_use tslib) - $(meson_use v4l v4l2) - $(meson_use vnc vnc-server) - $(meson_use wayland wl) - $(meson_use xpresent) - $(meson_use zeroconf avahi) - - $(meson_use !system-lz4 embedded-lz4) - ) - - if use elogind || use systemd; then - emesonargs+=( -D systemd=true ) - else - emesonargs+=( -D systemd=false ) - fi - - if use wayland; then - emesonargs+=( -D opengl=es-egl ) - elif ! use wayland && use opengl; then - emesonargs+=( -D opengl=full ) - elif ! use wayland && use X && ! use opengl; then - emesonargs+=( -D opengl=es-egl ) - else - emesonargs+=( -D opengl=none ) - fi - - if use gnutls; then - emesonargs+=( -D crypto=gnutls ) - else - emesonargs+=( -D crypto=openssl ) - fi - - if use connman; then - emesonargs+=( -D network-backend=connman ) - else - emesonargs+=( -D network-backend=none ) - fi - - local disabledEvasLoaders="" - ! use avif && disabledEvasLoaders="avif," - ! use bmp && disabledEvasLoaders+="bmp,wbmp," - ! use dds && disabledEvasLoaders+="dds," - ! use eet && disabledEvasLoaders+="eet," - ! use gstreamer && disabledEvasLoaders+="gst," - ! use heif && disabledEvasLoaders+="heif," - ! use ico && disabledEvasLoaders+="ico," - ! use jpeg2k && disabledEvasLoaders+="jp2k," - ! use json && disabledEvasLoaders+="json," - ! use pdf && disabledEvasLoaders+="pdf," - ! use pmaps && disabledEvasLoaders+="pmaps," - ! use postscript && disabledEvasLoaders+="ps," - ! use psd && disabledEvasLoaders+="psd," - ! use raw && disabledEvasLoaders+="raw," - ! use svg && disabledEvasLoaders+="rsvg,svg," - ! use tga && disabledEvasLoaders+="tga," - ! use tgv && disabledEvasLoaders+="tgv," - ! use tiff && disabledEvasLoaders+="tiff," - ! use webp && disabledEvasLoaders+="webp," - ! use xcf && disabledEvasLoaders+="xcf," - ! use xpm && disabledEvasLoaders+="xpm," - [[ ! -z "$disabledEvasLoaders" ]] && disabledEvasLoaders=${disabledEvasLoaders::-1} - emesonargs+=( -D evas-loaders-disabler="${disabledEvasLoaders}" ) - - local disabledImfLoaders="" - ! use ibus && disabledImfLoaders+="ibus," - ! use scim && disabledImfLoaders+="scim," - ! use xim && disabledImfLoaders+="xim," - [[ ! -z "$disabledImfLoaders" ]] && disabledImfLoaders=${disabledImfLoaders::-1} - emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" ) - - local bindingsList="cxx," - 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_single_target_luajit; then - luaChoice+="luajit" - else - luaChoice+="lua" - fi - emesonargs+=( -D lua-interpreter="${luaChoice}" ) - - # Not all arm CPU's have neon instruction set, #722552 - if use arm && ! use cpu_flags_arm_neon; then - emesonargs+=( -D native-arch-optimization=false ) - fi - - meson_src_configure -} - -src_compile() { - docs_compile - meson_src_compile -} - -src_install() { - meson_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples/ - dodoc -r "${BUILD_DIR}"/src/examples/ - fi -} diff --git a/dev-libs/efl/efl-1.26.3-r2.ebuild b/dev-libs/efl/efl-1.26.3-r2.ebuild new file mode 100644 index 000000000000..9a9647559cb5 --- /dev/null +++ b/dev-libs/efl/efl-1.26.3-r2.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOCS_BUILDER="doxygen" +DOCS_DEPEND="dev-texlive/texlive-fontutils" +DOCS_DIR="${S}/doc" + +LUA_REQ_USE="deprecated(+)" +LUA_COMPAT=( lua5-{1,2} luajit ) + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit docs lua-single meson python-any-r1 xdg + +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" +HOMEPAGE="https://www.enlightenment.org" +SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv x86" +IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon + +fontconfig fribidi gif gnutls glib +gstreamer harfbuzz heif hyphen ibus ico + jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim + sdl +sound +svg +system-lz4 systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf + xim xpm xpresent zeroconf" + +REQUIRED_USE="${LUA_REQUIRED_USE} + ?? ( elogind systemd ) + ?? ( fbcon tslib ) + drm? ( wayland ) + examples? ( eet svg ) + ibus? ( glib ) + opengl? ( X ) + pulseaudio? ( sound ) + xim? ( X ) + xpresent? ( X )" + +# Requires everything to be enabled unconditionally. +RESTRICT="test" + +RDEPEND="${LUA_DEPS} + !x11-themes/e-flat-theme + dev-libs/libinput:= + net-misc/curl + media-libs/giflib:= + media-libs/libjpeg-turbo:= + media-libs/libpng:= + sys-apps/dbus + sys-libs/zlib + X? ( + !opengl? ( media-libs/mesa[egl(+),gles2] ) + media-libs/freetype + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxkbcommon + wayland? ( x11-libs/libxkbcommon[X] ) + ) + avif? ( media-libs/libavif:= ) + connman? ( net-misc/connman ) + drm? ( + dev-libs/libinput:= + dev-libs/wayland + media-libs/mesa[gbm(+)] + x11-libs/libdrm + x11-libs/libxkbcommon + ) + elogind? ( + sys-auth/elogind + virtual/libudev:= + ) + fontconfig? ( media-libs/fontconfig ) + fribidi? ( dev-libs/fribidi ) + glib? ( dev-libs/glib:2 ) + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( dev-libs/openssl:0= ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + harfbuzz? ( media-libs/harfbuzz:= ) + heif? ( media-libs/libheif:= ) + hyphen? ( dev-libs/hyphen ) + ibus? ( app-i18n/ibus ) + jpeg2k? ( media-libs/openjpeg:= ) + json? ( >=media-libs/rlottie-0.0.1_pre20200424:= ) + mono? ( dev-lang/mono ) + opengl? ( virtual/opengl ) + pdf? ( app-text/poppler:=[cxx] ) + physics? ( sci-physics/bullet:= ) + postscript? ( app-text/libspectre ) + pulseaudio? ( media-libs/libpulse ) + raw? ( media-libs/libraw:= ) + scim? ( app-i18n/scim ) + sdl? ( media-libs/libsdl2 ) + sound? ( media-libs/libsndfile ) + svg? ( gnome-base/librsvg:2 ) + system-lz4? ( app-arch/lz4:= ) + systemd? ( sys-apps/systemd:= ) + tiff? ( media-libs/tiff:= ) + tslib? ( x11-libs/tslib:= ) + unwind? ( sys-libs/libunwind:= ) + v4l? ( media-libs/libv4l ) + vnc? ( net-libs/libvncserver ) + wayland? ( + dev-libs/wayland + media-libs/mesa[gles2,wayland] + x11-libs/libxkbcommon + ) + webp? ( media-libs/libwebp:= ) + xpm? ( x11-libs/libXpm ) + xpresent? ( x11-libs/libXpresent ) + zeroconf? ( net-dns/avahi )" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto ) + wayland? ( dev-libs/wayland-protocols )" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + wayland? ( dev-util/wayland-scanner )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.26.3-libressl.patch #903001 +) + +pkg_setup() { + # Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so. + QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.${PV} + /usr/$(get_libdir)/libefreet_mime.so.${PV}" + + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Remove automagic unwind configure option, #743154 + if ! use unwind; then + 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 + + # Fix python shebangs for python-exec[-native-symlinks], #764086 + local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) + python_fix_shebang -q ${shebangs[*]} +} + +src_configure() { + local emesonargs=( + --buildtype=plain + + -D buffer=false + -D build-tests=false + -D cocoa=false + -D drm-deprecated=false + -D g-mainloop=false + -D mono-beta=false + -D dotnet=false + -D pixman=false + -D wl-deprecated=false + -D dotnet-stylecop-severity=Warning + + -D edje-sound-and-video=true + -D eeze=true + -D input=true + -D install-eo-files=true + -D libmount=true + -D native-arch-optimization=true + -D xinput2=true + -D xinput22=true + + $(meson_use X x11) + $(meson_use debug debug-threads) + $(meson_use drm) + $(meson_use examples build-examples) + $(meson_use fbcon fb) + $(meson_use fontconfig) + $(meson_use fribidi) + $(meson_use glib) + $(meson_use gstreamer) + $(meson_use harfbuzz) + $(meson_use hyphen) + $(meson_use lua_single_target_luajit elua) + $(meson_use nls) + $(meson_use physics) + $(meson_use pulseaudio) + $(meson_use sdl) + $(meson_use sound audio) + $(meson_use tslib) + $(meson_use v4l v4l2) + $(meson_use vnc vnc-server) + $(meson_use wayland wl) + $(meson_use xpresent) + $(meson_use zeroconf avahi) + + $(meson_use !system-lz4 embedded-lz4) + ) + + if use elogind || use systemd; then + emesonargs+=( -D systemd=true ) + else + emesonargs+=( -D systemd=false ) + fi + + if use wayland; then + emesonargs+=( -D opengl=es-egl ) + elif ! use wayland && use opengl; then + emesonargs+=( -D opengl=full ) + elif ! use wayland && use X && ! use opengl; then + emesonargs+=( -D opengl=es-egl ) + else + emesonargs+=( -D opengl=none ) + fi + + if use gnutls; then + emesonargs+=( -D crypto=gnutls ) + else + emesonargs+=( -D crypto=openssl ) + fi + + if use connman; then + emesonargs+=( -D network-backend=connman ) + else + emesonargs+=( -D network-backend=none ) + fi + + local disabledEvasLoaders="" + ! use avif && disabledEvasLoaders="avif," + ! use bmp && disabledEvasLoaders+="bmp,wbmp," + ! use dds && disabledEvasLoaders+="dds," + ! use eet && disabledEvasLoaders+="eet," + ! use gstreamer && disabledEvasLoaders+="gst," + ! use heif && disabledEvasLoaders+="heif," + ! use ico && disabledEvasLoaders+="ico," + ! use jpeg2k && disabledEvasLoaders+="jp2k," + ! use json && disabledEvasLoaders+="json," + ! use pdf && disabledEvasLoaders+="pdf," + ! use pmaps && disabledEvasLoaders+="pmaps," + ! use postscript && disabledEvasLoaders+="ps," + ! use psd && disabledEvasLoaders+="psd," + ! use raw && disabledEvasLoaders+="raw," + ! use svg && disabledEvasLoaders+="rsvg,svg," + ! use tga && disabledEvasLoaders+="tga," + ! use tgv && disabledEvasLoaders+="tgv," + ! use tiff && disabledEvasLoaders+="tiff," + ! use webp && disabledEvasLoaders+="webp," + ! use xcf && disabledEvasLoaders+="xcf," + ! use xpm && disabledEvasLoaders+="xpm," + [[ ! -z "$disabledEvasLoaders" ]] && disabledEvasLoaders=${disabledEvasLoaders::-1} + emesonargs+=( -D evas-loaders-disabler="${disabledEvasLoaders}" ) + + local disabledImfLoaders="" + ! use ibus && disabledImfLoaders+="ibus," + ! use scim && disabledImfLoaders+="scim," + ! use xim && disabledImfLoaders+="xim," + [[ ! -z "$disabledImfLoaders" ]] && disabledImfLoaders=${disabledImfLoaders::-1} + emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" ) + + local bindingsList="cxx," + 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_single_target_luajit; then + luaChoice+="luajit" + else + luaChoice+="lua" + fi + emesonargs+=( -D lua-interpreter="${luaChoice}" ) + + # Not all arm CPU's have neon instruction set, #722552 + if use arm && ! use cpu_flags_arm_neon; then + emesonargs+=( -D native-arch-optimization=false ) + fi + + meson_src_configure +} + +src_compile() { + docs_compile + meson_src_compile +} + +src_install() { + meson_src_install + + if use examples; then + docompress -x /usr/share/doc/${PF}/examples/ + dodoc -r "${BUILD_DIR}"/src/examples/ + fi +} diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index e2ceaec4f462..a221fb79a66f 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1,3 +1,5 @@ DIST libgusb-0.4.5.tar.xz 50384 BLAKE2B 3844d0ec189292e4fed4520d818d095255ddaafa9052ec083a5df3171fa36a8261802526483228412fd69f073444ba422cd16c9d07d5f38770cb14a3ffcd23c6 SHA512 8b91ebfd7b6e07f1ab104f78c638bd28875e3ba1e47360307be16af9b2e4fb598e9911f50181590b5e08608a14557d15bc5dfaa6804a6056b6ee6669b2f6f81e +DIST libgusb-0.4.6.tar.xz 50660 BLAKE2B 4a2d0f502609f487ca84d970a157cb35c5fc1676a074a868ecb269f2028c39d2ad581a156054987095eb869d7edd7572921b188005262dce12ae3b83271f14dc SHA512 586650f1694cdac50d08f53b117686c38a1be19468ebbf56baa7fc13482f07e0f67c854807b827b6410b094409e117e46afd8cf2706f1390076ad34978b871c1 EBUILD libgusb-0.4.5.ebuild 1751 BLAKE2B f49456e1399bf293963cc70fed0dbbb752f863e0e2a0ada3ca6abac248ec29fade79a93c319209056d3bed733d2f7e5ddbb0be4ca4a7f9da49389a110804b5be SHA512 af4baa9c26f819c60bb4a98cf5ebd0844d2ad9896b6de35223971da4db7f3da372931723b86c5073d396fb3576afb5e9ff1aa99a760f4401c6c225f85e3e05f2 +EBUILD libgusb-0.4.6.ebuild 1759 BLAKE2B 66dbd068b925a1df0ea5897289bb3b4c54393fb39274dadc4bde145d6ab8ac26b24aae7b1e2c62461cebe10c43de2cc78bb2b55f41398611e773d84e3bb8ec8e SHA512 07ae73c496c674ecfd8198fe67f83474a7e07df365e6f8d1a511862a0be7ac81f5a4ff3cce693f549b8a8efcfe49d10925114ecb884a114b6a1ee36f703f00f3 MISC metadata.xml 344 BLAKE2B bd362d7e89ba2d88c2f220ab47593b4ae25bc4ca486bdafda16448407213d7558d7ea807c489e5aafbb8ec83a40e8e339c8ba20d3bfc3957da33a7e7711c6898 SHA512 93166c6dd4d764901c87fc567ab1c67add1c654b7ea1f3326e7144d5c14789bdee2a1e37874f8b6158136e03363372bf1d972f49f96095b0e3e568af89c4af34 diff --git a/dev-libs/libgusb/libgusb-0.4.6.ebuild b/dev-libs/libgusb/libgusb-0.4.6.ebuild new file mode 100644 index 000000000000..6dd274c99bd4 --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.4.6.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit meson-multilib python-any-r1 vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://github.com/hughsie/libgusb/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="gtk-doc +introspection test +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + >=dev-libs/json-glib-1.1.1[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + sys-apps/hwdata +" +DEPEND="${RDEPEND} + test? ( >=dev-util/umockdev-0.17.7[${MULTILIB_USEDEP}] )" +BDEPEND=" + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + gtk-doc? ( dev-util/gi-docgen ) + vala? ( $(vala_depend) ) + virtual/pkgconfig +" + +python_check_deps() { + python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + use vala && vala_setup +} + +multilib_src_configure() { + local emesonargs=( + -Ddefault_library=shared + $(meson_use test tests) + $(meson_native_use_bool vala vapi) + -Dusb_ids="${EPREFIX}"/usr/share/hwdata/usb.ids + $(meson_native_use_bool gtk-doc docs) + $(meson_native_use_bool introspection) + $(meson_feature test umockdev) + + ) + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/ || die + mv "${ED}"/usr/share/{doc,gtk-doc}/libgusb || die + fi +} -- cgit v1.2.3