From nobody Sun Sep 01 14:38:46 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WxZJR0zzrz5VJlj; Sun, 01 Sep 2024 14:38:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxZJQ5zwZz4WTN; Sun, 1 Sep 2024 14:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725201526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UwOwoVOWjn4AcS7Lmk5zoEKNtcD759twG8ZFgSfu9Q8=; b=rsAtjWwhWJocnXih6Gzs+RflvUh4IiYF+A4xpO+lcSyVpwQb7y3yggzPy+Vl9FrG/Q/3r0 wLfWEkuCkedqqp3JvhF9NT5s2utaA6tdyS5u++OJgpe0i/ldBttHCKBGk7lljEo1/zfxia rVM5vGn1nSGeD0xVgA4j34e3gp+J8E4t2zkyqxygnINRjIkTdxH1OUtQy9Zmn6Dar8WuTT rwFn8IftDP3oISsgeMSM6LH8yScP7B8rCCgrSM6avwYoA09SnoajxaK4a3SzD7zdtJd/4k IMXSD8OnB4X4MpiqWh/MukJCFeL9hWWRB3G+O0UFPCwcQNDNTKFLCJDhQF56oQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725201526; a=rsa-sha256; cv=none; b=WKVG9zdbBmMCJussiGKRnKvvMoiv4hIyOAJnW3O3AFAsN0G01Xs0PBAMt30QYyM5S+AGaz ILiWVW8lEUvglG99rmgAgjEpHr81bdmLpKXU1V6vf8o+ysrnWgXyRk3h3dpjsrf8/r2Apk N89ci1m2Lpf/xgUwwikQIMHI/dax+VQkum6vyH4XXauG3F6dfPHF2fCCQQMdou0qOg+0Sz +JhPQuHagrJYj2MtwqcakrsGlU6YkUXh4U3gkBUIb6+xnXs1gQ63mos9pdK2b+6kCcWZs/ NH2iD6/1kDyw+Pafjl0lmDoilITMWN1666ExdswmI6uRRjI2lhSrxaRZ5avilA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725201526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UwOwoVOWjn4AcS7Lmk5zoEKNtcD759twG8ZFgSfu9Q8=; b=jouILz0KuRcKHeVaTSstPmhSOeRdWJBmvhhLHEWinoIT/GtwGeBh6feHGV7LCv12Io/l2A 6rtHQgXqHG1yfdSw4JjdS/rMYnGDIj97iYh7yIs5UNBXanXISWHenpG+deUVwgziL0ejTI FDEWQR3V8DTIqFxVxb5YMhH6ZUKb7f4EV0UrATLEryYzxQFSOZwgCym7m5HtuQsd4XFwlo AuAz5DnLokkjgRKEd/FHoyYE/VS9IRrJta/FowLEHSQiMGz+FH09MpXflZdc9nCMABpV3a z48VI1vO3lIUMsG9TDAZIyXXaKZMGxvo0eO/eJz3WKVIbMVSHnileCeGp0eQFQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WxZJQ5X1vzYGS; Sun, 1 Sep 2024 14:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 481Eck8C051681; Sun, 1 Sep 2024 14:38:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 481Eckj7051678; Sun, 1 Sep 2024 14:38:46 GMT (envelope-from git) Date: Sun, 1 Sep 2024 14:38:46 GMT Message-Id: <202409011438.481Eckj7051678@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 565b03e41b62 - main - audio/fooyin: New port: foobar2000 inspired audio player List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 565b03e41b62597899a99084c636f698b6b79219 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=565b03e41b62597899a99084c636f698b6b79219 commit 565b03e41b62597899a99084c636f698b6b79219 Author: Daniel Engberg AuthorDate: 2024-09-01 14:37:12 +0000 Commit: Daniel Engberg CommitDate: 2024-09-01 14:38:06 +0000 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. --- audio/Makefile | 1 + audio/fooyin/Makefile | 37 +++++++++++++++++++ audio/fooyin/distinfo | 3 ++ audio/fooyin/files/patch-cmake_FooyinInstall.cmake | 20 +++++++++++ .../files/patch-src_plugins_gme_CMakeLists.txt | 13 +++++++ audio/fooyin/pkg-descr | 5 +++ audio/fooyin/pkg-plist | 41 ++++++++++++++++++++++ 7 files changed, 120 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 0ec7475a25bd..c43db890132e 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -190,6 +190,7 @@ SUBDIR += fogpad-lv2 SUBDIR += fomp-lv2 SUBDIR += foo-yc20 + SUBDIR += fooyin SUBDIR += fossmixer SUBDIR += freac SUBDIR += freealut diff --git a/audio/fooyin/Makefile b/audio/fooyin/Makefile new file mode 100644 index 000000000000..a67795d4001f --- /dev/null +++ b/audio/fooyin/Makefile @@ -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 diff --git a/audio/fooyin/distinfo b/audio/fooyin/distinfo new file mode 100644 index 000000000000..c8758f82ab7e --- /dev/null +++ b/audio/fooyin/distinfo @@ -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 diff --git a/audio/fooyin/files/patch-cmake_FooyinInstall.cmake b/audio/fooyin/files/patch-cmake_FooyinInstall.cmake new file mode 100644 index 000000000000..55780dcc5543 --- /dev/null +++ b/audio/fooyin/files/patch-cmake_FooyinInstall.cmake @@ -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 diff --git a/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt b/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt new file mode 100644 index 000000000000..74b4c96801de --- /dev/null +++ b/audio/fooyin/files/patch-src_plugins_gme_CMakeLists.txt @@ -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 diff --git a/audio/fooyin/pkg-descr b/audio/fooyin/pkg-descr new file mode 100644 index 000000000000..10aeab8403ea --- /dev/null +++ b/audio/fooyin/pkg-descr @@ -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. diff --git a/audio/fooyin/pkg-plist b/audio/fooyin/pkg-plist new file mode 100644 index 000000000000..e148cdd9a4a2 --- /dev/null +++ b/audio/fooyin/pkg-plist @@ -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