mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Sayonara is a small, clear, and fast audio player for Unix-like systems,
written in C++ on Qt 5.x framework and using GStreamer as audio backend. WWW: http://www.sayonara-player.com/
This commit is contained in:
parent
95e0f4e0f2
commit
1d72e2bc8f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427438
7 changed files with 157 additions and 0 deletions
|
@ -701,6 +701,7 @@
|
||||||
SUBDIR += rubygem-ruby-ogginfo
|
SUBDIR += rubygem-ruby-ogginfo
|
||||||
SUBDIR += rubygem-ruby-shout
|
SUBDIR += rubygem-ruby-shout
|
||||||
SUBDIR += s3mod
|
SUBDIR += s3mod
|
||||||
|
SUBDIR += sayonara
|
||||||
SUBDIR += sbagen
|
SUBDIR += sbagen
|
||||||
SUBDIR += schism
|
SUBDIR += schism
|
||||||
SUBDIR += scrobbler
|
SUBDIR += scrobbler
|
||||||
|
|
32
audio/sayonara/Makefile
Normal file
32
audio/sayonara/Makefile
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= sayonara
|
||||||
|
PORTVERSION= 0.9.2
|
||||||
|
CATEGORIES= audio
|
||||||
|
MASTER_SITES= http://www.sayonara-player.com/sw/
|
||||||
|
DISTNAME= ${PORTNAME}-player-${PORTVERSION}-git11-20161030
|
||||||
|
|
||||||
|
MAINTAINER= multimedia@FreeBSD.org
|
||||||
|
COMMENT= Small, clear, and fast Qt-based audio player
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||||
|
|
||||||
|
LIB_DEPENDS= libtag.so:audio/taglib
|
||||||
|
|
||||||
|
USES= cmake execinfo pkgconfig
|
||||||
|
USE_GSTREAMER1= flac mpg123 ogg opus vorbis # XXX: likely incomplete
|
||||||
|
USE_QT5= dbus core gui network sql widgets xml \
|
||||||
|
buildtools_build qmake_build linguisttools_build
|
||||||
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-player
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e '/man1/s,share/,,' \
|
||||||
|
${WRKSRC}/resources/CMakeLists.txt
|
||||||
|
@${REINPLACE_CMD} -e '/DESTINATION/s,/usr/,,' \
|
||||||
|
${WRKSRC}/src/GUI/Resources/Icons/CMakeLists.txt
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
audio/sayonara/distinfo
Normal file
3
audio/sayonara/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1477828406
|
||||||
|
SHA256 (sayonara-player-0.9.2-git11-20161030.tar.gz) = 815c2e0c64520edb99571b52c6384320c110e8a4ef5be5c13803a156f64be148
|
||||||
|
SIZE (sayonara-player-0.9.2-git11-20161030.tar.gz) = 1706145
|
11
audio/sayonara/files/patch-src_CMakeLists.txt
Normal file
11
audio/sayonara/files/patch-src_CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/CMakeLists.txt.orig 2016-10-30 11:53:25 UTC
|
||||||
|
+++ src/CMakeLists.txt
|
||||||
|
@@ -161,6 +161,8 @@ IF(WIN32)
|
||||||
|
api-ms-win-core-winrt-string-l1-1-0
|
||||||
|
${GIO_LIBRARIES}
|
||||||
|
)
|
||||||
|
+ELSE()
|
||||||
|
+ SET(OS_LIBRARIES execinfo)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
|
38
audio/sayonara/files/patch-src_Main.cpp
Normal file
38
audio/sayonara/files/patch-src_Main.cpp
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
--- src/Main.cpp.orig 2016-10-30 11:53:25 UTC
|
||||||
|
+++ src/Main.cpp
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
#include <QtGlobal>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
-#ifdef Q_OS_LINUX
|
||||||
|
+#ifdef Q_OS_UNIX
|
||||||
|
#include <execinfo.h> // backtrace
|
||||||
|
#include <csignal> // kill/signal
|
||||||
|
#include <sys/types.h> // kill
|
||||||
|
@@ -150,7 +150,7 @@ void segfault_handler(int sig){
|
||||||
|
|
||||||
|
Q_UNUSED(sig)
|
||||||
|
|
||||||
|
-#ifdef Q_OS_LINUX
|
||||||
|
+#ifdef Q_OS_UNIX
|
||||||
|
|
||||||
|
void* array[10];
|
||||||
|
size_t size;
|
||||||
|
@@ -176,7 +176,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
-#ifdef Q_OS_LINUX
|
||||||
|
+#ifdef Q_OS_UNIX
|
||||||
|
|
||||||
|
signal(SIGSEGV, segfault_handler);
|
||||||
|
|
||||||
|
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-#ifdef Q_OS_LINUX
|
||||||
|
+#ifdef Q_OS_UNIX
|
||||||
|
|
||||||
|
int pid=0;
|
||||||
|
if( !cmd_data.multiple_instances ){
|
15
audio/sayonara/pkg-descr
Normal file
15
audio/sayonara/pkg-descr
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Sayonara is a small, clear, and fast audio player for Unix-like systems,
|
||||||
|
written in C++ on Qt 5.x framework and using GStreamer as audio backend.
|
||||||
|
|
||||||
|
Although Sayonara is considered as a lightweight player, it holds a lot
|
||||||
|
of features to organize even big music collections.
|
||||||
|
|
||||||
|
Most of them are known from the bigger and well known audio players. But
|
||||||
|
in contrast to most of the other players the main focus during developing
|
||||||
|
has been performance, low CPU usage, and low memory consumption.
|
||||||
|
|
||||||
|
So Sayonara is a good alternative to players like Rhythmbox, Clementine,
|
||||||
|
or Amarok. Those who miss Winamp for Unix should give Sayonara a try.
|
||||||
|
One of Sayonara's goals is intuitive and easy usability.
|
||||||
|
|
||||||
|
WWW: http://www.sayonara-player.com/
|
57
audio/sayonara/pkg-plist
Normal file
57
audio/sayonara/pkg-plist
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
bin/sayonara
|
||||||
|
lib/sayonara/libsayonara_somafm.so
|
||||||
|
lib/sayonara/libsayonara_soundcloud.so
|
||||||
|
man/man1/sayonara.1.gz
|
||||||
|
share/appdata/sayonara.appdata.xml
|
||||||
|
share/applications/sayonara.desktop
|
||||||
|
share/icons/hicolor/128x128/apps/sayonara.png
|
||||||
|
share/icons/hicolor/16x16/apps/sayonara.png
|
||||||
|
share/icons/hicolor/192x192/apps/sayonara.png
|
||||||
|
share/icons/hicolor/22x22/apps/sayonara.png
|
||||||
|
share/icons/hicolor/24x24/apps/sayonara.png
|
||||||
|
share/icons/hicolor/256x256/apps/sayonara.png
|
||||||
|
share/icons/hicolor/32x32/apps/sayonara.png
|
||||||
|
share/icons/hicolor/32x32/apps/sayonara.xpm
|
||||||
|
share/icons/hicolor/36x36/apps/sayonara.png
|
||||||
|
share/icons/hicolor/48x48/apps/sayonara.png
|
||||||
|
share/icons/hicolor/64x64/apps/sayonara.png
|
||||||
|
share/icons/hicolor/72x72/apps/sayonara.png
|
||||||
|
share/icons/hicolor/96x96/apps/sayonara.png
|
||||||
|
share/icons/sayonara.png
|
||||||
|
share/menu/sayonara
|
||||||
|
share/pixmaps/sayonara.png
|
||||||
|
%%DATADIR%%/bg-checker.png
|
||||||
|
%%DATADIR%%/dark.css
|
||||||
|
%%DATADIR%%/favicon.ico
|
||||||
|
%%DATADIR%%/logo.png
|
||||||
|
%%DATADIR%%/player.db
|
||||||
|
%%DATADIR%%/soundcloud.db
|
||||||
|
%%DATADIR%%/standard.css
|
||||||
|
%%DATADIR%%/translations/icons/br.png
|
||||||
|
%%DATADIR%%/translations/icons/cs.png
|
||||||
|
%%DATADIR%%/translations/icons/de.png
|
||||||
|
%%DATADIR%%/translations/icons/en.png
|
||||||
|
%%DATADIR%%/translations/icons/es.png
|
||||||
|
%%DATADIR%%/translations/icons/fr.png
|
||||||
|
%%DATADIR%%/translations/icons/hu.png
|
||||||
|
%%DATADIR%%/translations/icons/it.png
|
||||||
|
%%DATADIR%%/translations/icons/pl.png
|
||||||
|
%%DATADIR%%/translations/icons/pt.png
|
||||||
|
%%DATADIR%%/translations/icons/ro.png
|
||||||
|
%%DATADIR%%/translations/icons/ru.png
|
||||||
|
%%DATADIR%%/translations/icons/ua.png
|
||||||
|
%%DATADIR%%/translations/icons/zh_cn.png
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_br.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_cs.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_de.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_en.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_es.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_fr.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_hu.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_it.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_pl.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_pt.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_ro.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_ru.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_ua.qm
|
||||||
|
%%DATADIR%%/translations/sayonara_lang_zh_cn.qm
|
Loading…
Add table
Reference in a new issue