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 --- app-emulation/fuse/Manifest | 2 +- app-emulation/fuse/fuse-1.6.0-r1.ebuild | 122 ++++++++++++++++++++++++++++++++ app-emulation/fuse/fuse-1.6.0.ebuild | 122 -------------------------------- 3 files changed, 123 insertions(+), 123 deletions(-) create mode 100644 app-emulation/fuse/fuse-1.6.0-r1.ebuild delete mode 100644 app-emulation/fuse/fuse-1.6.0.ebuild (limited to 'app-emulation/fuse') diff --git a/app-emulation/fuse/Manifest b/app-emulation/fuse/Manifest index 703d0bc8b621..10aa8c3c60fb 100644 --- a/app-emulation/fuse/Manifest +++ b/app-emulation/fuse/Manifest @@ -1,4 +1,4 @@ AUX remove-local-prefix.patch 745 BLAKE2B 752dc9df4ad9b33a84493e4939d9c30687a730ecc628301a4bbc16f46410d73c8f7b64376788721f04c06404685ef300c2dc423c1843258748c377c6d61232a4 SHA512 25771be029e61654398bb1c36b1c31bc44f136e7e369c72faa3869f94807558c0d1b324ac803d79a898410fd14661d02a8286cda19dc25c79ebca6c387b817a3 DIST fuse-1.6.0.tar.gz 1686171 BLAKE2B d1e6b166f2f649f408349b16a5eb40dd414750ed7a805eb6505b6c81be6ed7bcaa4e6f0b14057645172add1b1a77881f90b64767390fe1a64a486168f452d29d SHA512 5096b24b5b3d812942a7ad401b886b6a99f5493686912cb4aff18ede65404ae97a9bcafa6337aaed4378382f2a170918797d7d4570bb809476be5aa9fc625b8b -EBUILD fuse-1.6.0.ebuild 2993 BLAKE2B 45d6db99da7dd375119fb6a71560ea97756bb201146fad0c6cbfe07cfed22760c13e41f5eebf8286ebf1ec6440942e651efe52c08e800dd6fa3a84a1659129a1 SHA512 fecc3a578416d724de5e98711f4ad2faf2e7556f45907aad4254d2ae3ec6ec70dfd80e3f9f3c03346653edfc0016d147e1534240aa62fc3eb23802bf529277f3 +EBUILD fuse-1.6.0-r1.ebuild 2990 BLAKE2B 97119d01c2e841f41364d361b3071a26077b4ebb3da35cd787457a7419354b42f1ef3f30817c41bb03ebacdbd95d36105418ba218f8ae11ac1d4ebece27a8003 SHA512 4b1833272da42abe730d49fb646c9e9294f0be135f1fd50997564f38d2025fa204aaf2a552aa092549320628d6012ae672b7ff9ec3a1a47e5365210b80fb6959 MISC metadata.xml 729 BLAKE2B 74907081c17e7514caac9f51086626e8d3c6a235fad364efab2947858f0859c40a59d080c01f14b51a808b4bb1822372bfdc5a77b1470ec2228c8db0b5f351b0 SHA512 fcfd5eef1bc59b4140412f6503e24e8b522b843429a91d8fbe77c4721b3f49b0da690a2ea39e672f6f9e1d87604feb8904fb50652cdb62fe94fd81c5d669c519 diff --git a/app-emulation/fuse/fuse-1.6.0-r1.ebuild b/app-emulation/fuse/fuse-1.6.0-r1.ebuild new file mode 100644 index 000000000000..1d80c3a9662f --- /dev/null +++ b/app-emulation/fuse/fuse-1.6.0-r1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic xdg + +DESCRIPTION="Free Unix Spectrum Emulator by Philip Kendall" +HOMEPAGE="http://fuse-emulator.sourceforge.net" +SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="alsa ao backend-X backend-fbcon +backend-gtk3 backend-sdl backend-svga gpm joystick memlimit png pulseaudio +xml +zlib" + +# TODO: +# - allow using sdl audio driver without using for the UI +# - allow using sdl joystick support with gtk3 or X UI in place of libjsw +# - when using sdl for one of the above but not the UI, allow using sdl2 instead + +# At most one audio driver and at most one UI back-end can be enabled at a time +REQUIRED_USE="?? ( alsa ao backend-sdl pulseaudio ) + ?? ( backend-X backend-fbcon backend-gtk3 backend-sdl backend-svga ) + png? ( zlib )" + +RDEPEND=" + >=app-emulation/libspectrum-1.5.0[zlib?] + dev-libs/glib:2 + alsa? ( media-libs/alsa-lib ) + ao? ( media-libs/libao ) + backend-X? ( x11-libs/libX11 x11-libs/libXext ) + backend-gtk3? ( x11-libs/gtk+:3 ) + backend-sdl? ( media-libs/libsdl[joystick,sound] ) + backend-svga? ( media-libs/svgalib ) + gpm? ( backend-fbcon? ( sys-libs/gpm ) ) + joystick? ( !backend-sdl? ( media-libs/libjsw ) ) + png? ( media-libs/libpng:0= ) + pulseaudio? ( media-libs/libpulse ) + xml? ( dev-libs/libxml2:2 ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + backend-fbcon? ( virtual/linux-sources )" +BDEPEND="dev-lang/perl + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog README THANKS ) + +PATCHES=( + "${FILESDIR}"/remove-local-prefix.patch +) + +_fuse_audio_driver() { + if use alsa; then + echo "alsa" + elif use ao; then + echo "libao" + elif use backend-sdl; then + echo "sdl" + elif use pulseaudio; then + echo "pulseaudio" + else + echo "null" + fi +} + +src_prepare() { + default + xdg_environment_reset + eautoreconf + + # Bug #854522 + filter-lto +} + +src_configure() { + local myconf=( + --enable-desktop-integration + --without-win32 + --with-audio-driver="$(_fuse_audio_driver)" + $(use_with gpm) + $(use_with joystick) + $(use_enable memlimit smallmem) + $(use_with png) + $(use_with xml libxml2) + $(use_with zlib) + ) + + # The pure-X UI hasn't got its own configure argument, instead it is + # what is used under Linux if all other back-ends have been disabled + # - and all except the Gtk+ one are off by default. + if use backend-X; then + myconf+=("--without-gtk") + elif use backend-fbcon; then + myconf+=("--with-fb") + elif use backend-gtk3; then + myconf+=("--with-gtk") + elif use backend-sdl; then + myconf+=("--with-sdl") + elif use backend-svga; then + myconf+=("--with-svgalib") + else + myconf+=("--with-null-ui") + fi + + if use joystick; then + myconf+=( $(use_enable backend-sdl ui-joystick) ) + fi + + econf "${myconf[@]}" +} + +src_test() { + emake test +} + +pkg_postinst() { + xdg_pkg_postinst + if use pulseaudio; then + ewarn "The PulseAudio driver in ${PN} is experimental" + fi +} diff --git a/app-emulation/fuse/fuse-1.6.0.ebuild b/app-emulation/fuse/fuse-1.6.0.ebuild deleted file mode 100644 index b7f0f065d660..000000000000 --- a/app-emulation/fuse/fuse-1.6.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic xdg - -DESCRIPTION="Free Unix Spectrum Emulator by Philip Kendall" -HOMEPAGE="http://fuse-emulator.sourceforge.net" -SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~riscv ~x86" -IUSE="alsa ao backend-X backend-fbcon +backend-gtk3 backend-sdl backend-svga gpm joystick memlimit png pulseaudio +xml +zlib" - -# TODO: -# - allow using sdl audio driver without using for the UI -# - allow using sdl joystick support with gtk3 or X UI in place of libjsw -# - when using sdl for one of the above but not the UI, allow using sdl2 instead - -# At most one audio driver and at most one UI back-end can be enabled at a time -REQUIRED_USE="?? ( alsa ao backend-sdl pulseaudio ) - ?? ( backend-X backend-fbcon backend-gtk3 backend-sdl backend-svga ) - png? ( zlib )" - -RDEPEND=" - >=app-emulation/libspectrum-1.5.0[zlib?] - dev-libs/glib:2 - alsa? ( media-libs/alsa-lib ) - ao? ( media-libs/libao ) - backend-X? ( x11-libs/libX11 x11-libs/libXext ) - backend-gtk3? ( x11-libs/gtk+:3 ) - backend-sdl? ( media-libs/libsdl[joystick,sound] ) - backend-svga? ( media-libs/svgalib ) - gpm? ( backend-fbcon? ( sys-libs/gpm ) ) - joystick? ( !backend-sdl? ( media-libs/libjsw ) ) - png? ( media-libs/libpng:0= ) - pulseaudio? ( media-sound/pulseaudio ) - xml? ( dev-libs/libxml2:2 ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND} - backend-fbcon? ( virtual/linux-sources )" -BDEPEND="dev-lang/perl - virtual/pkgconfig" - -DOCS=( AUTHORS ChangeLog README THANKS ) - -PATCHES=( - "${FILESDIR}"/remove-local-prefix.patch -) - -_fuse_audio_driver() { - if use alsa; then - echo "alsa" - elif use ao; then - echo "libao" - elif use backend-sdl; then - echo "sdl" - elif use pulseaudio; then - echo "pulseaudio" - else - echo "null" - fi -} - -src_prepare() { - default - xdg_environment_reset - eautoreconf - - # Bug #854522 - filter-lto -} - -src_configure() { - local myconf=( - --enable-desktop-integration - --without-win32 - --with-audio-driver="$(_fuse_audio_driver)" - $(use_with gpm) - $(use_with joystick) - $(use_enable memlimit smallmem) - $(use_with png) - $(use_with xml libxml2) - $(use_with zlib) - ) - - # The pure-X UI hasn't got its own configure argument, instead it is - # what is used under Linux if all other back-ends have been disabled - # - and all except the Gtk+ one are off by default. - if use backend-X; then - myconf+=("--without-gtk") - elif use backend-fbcon; then - myconf+=("--with-fb") - elif use backend-gtk3; then - myconf+=("--with-gtk") - elif use backend-sdl; then - myconf+=("--with-sdl") - elif use backend-svga; then - myconf+=("--with-svgalib") - else - myconf+=("--with-null-ui") - fi - - if use joystick; then - myconf+=( $(use_enable backend-sdl ui-joystick) ) - fi - - econf "${myconf[@]}" -} - -src_test() { - emake test -} - -pkg_postinst() { - xdg_pkg_postinst - if use pulseaudio; then - ewarn "The PulseAudio driver in ${PN} is experimental" - fi -} -- cgit v1.2.3