1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

audio/fooyin: New port: foobar2000 inspired audio player

A customisable music player inspired by foobar2000. It offers a growing
list of widgets to manage and play your local music collection. It's
extensible using a plugin system and many widgets make use of FooScript
to offer an even deeper level of control. A layout editing mode enables
the entire user interface to be customised, starting from a blank slate
or a preset layout.
This commit is contained in:
Daniel Engberg 2024-09-01 16:37:12 +02:00
parent 3d482f736e
commit 565b03e41b
7 changed files with 120 additions and 0 deletions

View File

@ -190,6 +190,7 @@
SUBDIR += fogpad-lv2
SUBDIR += fomp-lv2
SUBDIR += foo-yc20
SUBDIR += fooyin
SUBDIR += fossmixer
SUBDIR += freac
SUBDIR += freealut

37
audio/fooyin/Makefile Normal file
View File

@ -0,0 +1,37 @@
PORTNAME= fooyin
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.2
CATEGORIES= audio multimedia
MAINTAINER= diizzy@FreeBSD.org
COMMENT= foobar2000 inspired audio player
WWW= https://github.com/fooyin/fooyin
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libgme.so:audio/libgme \
libicui18n.so:devel/icu \
libkdsingleapplication-qt6.so:devel/kdsingleapplication \
libtag.so:audio/taglib
USES= cmake compiler:c++20-lang desktop-file-utils gl libarchive \
pkgconfig qt:6 sdl
USE_GL= opengl
USE_QT= base svg tools:build
USE_SDL= sdl2
USE_GITHUB= yes
CMAKE_OFF= BUILD_ALSA \
BUILD_CCACHE \
BUILD_LIBVGM \
CMAKE_CXX_EXTENSIONS
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_ALSA \
CMAKE_DISABLE_FIND_PACKAGE_LibVgm \
CMAKE_DISABLE_FIND_PACKAGE_OpenMpt \
CMAKE_DISABLE_FIND_PACKAGE_PipeWire \
CMAKE_DISABLE_FIND_PACKAGE_SndFile
.include <bsd.port.mk>

3
audio/fooyin/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1725140610
SHA256 (fooyin-fooyin-v0.6.2_GH0.tar.gz) = ea1e128820becb70c9c2b1c648cd6c9c8816818709284cfebbdf99cce232af4f
SIZE (fooyin-fooyin-v0.6.2_GH0.tar.gz) = 4598582

View File

@ -0,0 +1,20 @@
--- 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

View File

@ -0,0 +1,13 @@
--- src/plugins/gme/CMakeLists.txt.orig 2024-08-27 22:28:57 UTC
+++ src/plugins/gme/CMakeLists.txt
@@ -22,6 +22,10 @@ target_include_directories(
gmeinput
PRIVATE ${LIBGME_INCLUDE_DIRS}
)
+target_link_directories(
+ gmeinput
+ PRIVATE ${LIBGME_LIBRARY_DIRS}
+)
fooyin_append_mimes(
audio/x-ay

5
audio/fooyin/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
A customisable music player inspired by foobar2000. It offers a growing list
of widgets to manage and play your local music collection. It's extensible
using a plugin system and many widgets make use of FooScript to offer an even
deeper level of control. A layout editing mode enables the entire user
interface to be customised, starting from a blank slate or a preset layout.

41
audio/fooyin/pkg-plist Normal file
View File

@ -0,0 +1,41 @@
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_fileops.so
lib/fooyin/plugins/fyplugin_filters.so
lib/fooyin/plugins/fyplugin_gmeinput.so
lib/fooyin/plugins/fyplugin_libarchive.so
lib/fooyin/plugins/fyplugin_mpris.so
lib/fooyin/plugins/fyplugin_rawaudio.so
lib/fooyin/plugins/fyplugin_sdl.so
lib/fooyin/plugins/fyplugin_tageditor.so
lib/fooyin/plugins/fyplugin_wavebar.so
share/applications/org.fooyin.fooyin.desktop
%%DATADIR%%/translations/fooyin_af.qm
%%DATADIR%%/translations/fooyin_de.qm
%%DATADIR%%/translations/fooyin_en_US.qm
%%DATADIR%%/translations/fooyin_es.qm
%%DATADIR%%/translations/fooyin_fr.qm
%%DATADIR%%/translations/fooyin_id.qm
%%DATADIR%%/translations/fooyin_ie.qm
%%DATADIR%%/translations/fooyin_it.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_zh_CN.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