diff --git a/audio/fooyin/Makefile b/audio/fooyin/Makefile index 074f69cc2f73..cf6a4d0c7cc4 100644 --- a/audio/fooyin/Makefile +++ b/audio/fooyin/Makefile @@ -1,44 +1,46 @@ PORTNAME= fooyin DISTVERSIONPREFIX= v -DISTVERSION= 0.9.2 -PORTREVISION= 1 +DISTVERSION= 0.10.1 CATEGORIES= audio multimedia PATCH_SITES= https://github.com/fooyin/fooyin/commit/ -PATCHFILES+= 7b171c0da2b9289468696424fe51f76e1c365bb5.patch:-p1 # Fix build with Qt 6.10 +PATCHFILES= 4ac26409f891154e47ac8e7509bcbaa8c4f6828b.patch:-p1 MAINTAINER= diizzy@FreeBSD.org COMMENT= foobar2000 inspired audio player WWW= https://github.com/fooyin/fooyin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= armv7 i386 powerpc NOT_FOR_ARCHS_REASON= Fails to build on 32-bit platforms with various errors LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libgme.so:audio/libgme \ libicui18n.so:devel/icu \ libkdsingleapplication-qt6.so:devel/kdsingleapplication \ - libtag.so:audio/taglib \ - libvgm-player.so:audio/libvgm + libQCoro6Core.so:devel/qcoro \ + libtag.so:audio/taglib -USES= cmake compiler:c++20-lang desktop-file-utils gl libarchive \ +USES= cmake compiler:c++23-lang desktop-file-utils gl libarchive \ pkgconfig qt:6 sdl USE_GL= opengl USE_QT= base sqldriver-sqlite svg tools:build USE_SDL= sdl2 USE_GITHUB= yes +CXXFLAGS+= -fexperimental-library + CMAKE_OFF= BUILD_ALSA \ BUILD_CCACHE \ CMAKE_CXX_EXTENSIONS CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_ALSA \ CMAKE_DISABLE_FIND_PACKAGE_Ebur128 \ CMAKE_DISABLE_FIND_PACKAGE_OpenMpt \ CMAKE_DISABLE_FIND_PACKAGE_PipeWire \ - CMAKE_DISABLE_FIND_PACKAGE_SndFile + CMAKE_DISABLE_FIND_PACKAGE_SndFile \ + CMAKE_DISABLE_FIND_PACKAGE_SoXR .include diff --git a/audio/fooyin/distinfo b/audio/fooyin/distinfo index d0246562293a..26158852bda3 100644 --- a/audio/fooyin/distinfo +++ b/audio/fooyin/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1764486077 -SHA256 (fooyin-fooyin-v0.9.2_GH0.tar.gz) = a3b0e880047790d169223983d4f9a26a2196499275d57321b15e9578dd716a94 -SIZE (fooyin-fooyin-v0.9.2_GH0.tar.gz) = 2103435 -SHA256 (7b171c0da2b9289468696424fe51f76e1c365bb5.patch) = e918664497346bb4908ecd63f40c111821518e1cf264febdf446453c02ca5f99 -SIZE (7b171c0da2b9289468696424fe51f76e1c365bb5.patch) = 719 +TIMESTAMP = 1774694336 +SHA256 (fooyin-fooyin-v0.10.1_GH0.tar.gz) = 32f3ff627612cd2d2d3ed8cb3d8a128f05079bdf5aa906b5c8bb5941707bd833 +SIZE (fooyin-fooyin-v0.10.1_GH0.tar.gz) = 2994344 +SHA256 (4ac26409f891154e47ac8e7509bcbaa8c4f6828b.patch) = 5908ff353e79c93ab669643d4c9e90441b1fb850a7982ed954aa6599221141b2 +SIZE (4ac26409f891154e47ac8e7509bcbaa8c4f6828b.patch) = 37493 diff --git a/audio/fooyin/files/patch-cmake_FooyinInstall.cmake b/audio/fooyin/files/patch-cmake_FooyinInstall.cmake deleted file mode 100644 index 55780dcc5543..000000000000 --- a/audio/fooyin/files/patch-cmake_FooyinInstall.cmake +++ /dev/null @@ -1,20 +0,0 @@ ---- cmake/FooyinInstall.cmake.orig 2024-08-29 19:43:57 UTC -+++ cmake/FooyinInstall.cmake -@@ -2,7 +2,7 @@ set(LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" - - set(README_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md") - set(LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") -- -+#[[ - install( - FILES ${LICENSE_FILE} - DESTINATION ${DOC_INSTALL_DIR} -@@ -16,7 +16,7 @@ install( - RENAME README - COMPONENT fooyin - ) -- -+]] - install(FILES "${CMAKE_BINARY_DIR}/dist/linux/org.fooyin.fooyin.desktop" - DESTINATION ${XDG_APPS_INSTALL_DIR} - COMPONENT fooyin diff --git a/audio/fooyin/files/patch-src_utils_starrating.cpp b/audio/fooyin/files/patch-src_utils_starrating.cpp deleted file mode 100644 index d6bba85b0a9f..000000000000 --- a/audio/fooyin/files/patch-src_utils_starrating.cpp +++ /dev/null @@ -1,16 +0,0 @@ -Fix build with Qt 6.10.1. The QString::arg() method no longer accepts -implicit conversions. [1] - -[1] https://doc.qt.io/qt-6/qstring.html#arg-2 - ---- src/utils/starrating.cpp.orig 2025-09-21 21:11:29 UTC -+++ src/utils/starrating.cpp -@@ -104,7 +104,7 @@ void StarRating::paint(QPainter* painter, const QRect& - .arg(m_maxCount) - .arg(mode == EditMode::Editable ? 1 : 0) - .arg(rect.width()) -- .arg(alignment); -+ .arg(alignment.toInt()); - - QPixmap pixmap; - if(!QPixmapCache::find(cacheKey, &pixmap)) { diff --git a/audio/fooyin/pkg-plist b/audio/fooyin/pkg-plist index 76fe9f3f9432..abd9470c7186 100644 --- a/audio/fooyin/pkg-plist +++ b/audio/fooyin/pkg-plist @@ -1,56 +1,58 @@ bin/fooyin lib/fooyin/libfooyin_core.so.0.0.0 lib/fooyin/libfooyin_gui.so.0.0.0 lib/fooyin/libfooyin_utils.so.0.0.0 +lib/fooyin/plugins/fyplugin_discord.so +lib/fooyin/plugins/fyplugin_equaliser.so lib/fooyin/plugins/fyplugin_fileops.so lib/fooyin/plugins/fyplugin_filters.so lib/fooyin/plugins/fyplugin_gmeinput.so lib/fooyin/plugins/fyplugin_libarchive.so lib/fooyin/plugins/fyplugin_lyrics.so lib/fooyin/plugins/fyplugin_mpris.so lib/fooyin/plugins/fyplugin_rawaudio.so lib/fooyin/plugins/fyplugin_rgscanner.so lib/fooyin/plugins/fyplugin_scrobbler.so lib/fooyin/plugins/fyplugin_sdl.so lib/fooyin/plugins/fyplugin_tageditor.so -lib/fooyin/plugins/fyplugin_vgminput.so lib/fooyin/plugins/fyplugin_vumeter.so lib/fooyin/plugins/fyplugin_wavebar.so share/applications/org.fooyin.fooyin.desktop %%DATADIR%%/translations/fooyin_af.qm %%DATADIR%%/translations/fooyin_ca.qm +%%DATADIR%%/translations/fooyin_cs.qm %%DATADIR%%/translations/fooyin_de.qm %%DATADIR%%/translations/fooyin_en.qm %%DATADIR%%/translations/fooyin_en_GB.qm %%DATADIR%%/translations/fooyin_en_US.qm %%DATADIR%%/translations/fooyin_es.qm %%DATADIR%%/translations/fooyin_fi.qm %%DATADIR%%/translations/fooyin_fr.qm %%DATADIR%%/translations/fooyin_id.qm %%DATADIR%%/translations/fooyin_ie.qm %%DATADIR%%/translations/fooyin_it.qm %%DATADIR%%/translations/fooyin_ja.qm %%DATADIR%%/translations/fooyin_lt.qm %%DATADIR%%/translations/fooyin_nb_NO.qm %%DATADIR%%/translations/fooyin_nl.qm %%DATADIR%%/translations/fooyin_pl.qm %%DATADIR%%/translations/fooyin_pt.qm %%DATADIR%%/translations/fooyin_pt_BR.qm %%DATADIR%%/translations/fooyin_ru.qm %%DATADIR%%/translations/fooyin_sk.qm %%DATADIR%%/translations/fooyin_sv.qm %%DATADIR%%/translations/fooyin_th.qm %%DATADIR%%/translations/fooyin_tr.qm %%DATADIR%%/translations/fooyin_uk.qm %%DATADIR%%/translations/fooyin_zh_CN.qm %%DATADIR%%/translations/fooyin_zh_Hant.qm share/icons/hicolor/128x128/apps/org.fooyin.fooyin.png share/icons/hicolor/16x16/apps/org.fooyin.fooyin.png share/icons/hicolor/22x22/apps/org.fooyin.fooyin.png share/icons/hicolor/256x256/apps/org.fooyin.fooyin.png share/icons/hicolor/32x32/apps/org.fooyin.fooyin.png share/icons/hicolor/48x48/apps/org.fooyin.fooyin.png share/icons/hicolor/512x512/apps/org.fooyin.fooyin.png share/icons/hicolor/64x64/apps/org.fooyin.fooyin.png share/icons/hicolor/scalable/apps/org.fooyin.fooyin.svg share/metainfo/org.fooyin.fooyin.metainfo.xml