Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2020 10:36:19 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551758 - in head/audio: . mpz mpz/files
Message-ID:  <202010091036.099AaJYt067558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Oct  9 10:36:18 2020
New Revision: 551758
URL: https://svnweb.freebsd.org/changeset/ports/551758

Log:
  Add a port of mpz, music player for big local collections.
  
  WWW: https://olegantonyan.github.io/mpz/

Added:
  head/audio/mpz/
  head/audio/mpz/Makefile   (contents, props changed)
  head/audio/mpz/distinfo   (contents, props changed)
  head/audio/mpz/files/
  head/audio/mpz/files/patch-app_app.pro   (contents, props changed)
  head/audio/mpz/files/patch-mpz.pro   (contents, props changed)
  head/audio/mpz/pkg-descr   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Fri Oct  9 09:59:05 2020	(r551757)
+++ head/audio/Makefile	Fri Oct  9 10:36:18 2020	(r551758)
@@ -536,6 +536,7 @@
     SUBDIR += mpg321
     SUBDIR += mpiosh
     SUBDIR += mps
+    SUBDIR += mpz
     SUBDIR += mumble
     SUBDIR += murmur
     SUBDIR += muse-sequencer

Added: head/audio/mpz/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mpz/Makefile	Fri Oct  9 10:36:18 2020	(r551758)
@@ -0,0 +1,30 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	mpz
+PORTVERSION=	1.0.1
+CATEGORIES=	audio
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Music player for big local collections
+
+LICENSE=	GPLv3+
+
+LIB_DEPENDS=	libtag.so:audio/taglib \
+		libyaml-cpp.so:devel/yaml-cpp
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	olegantonyan
+
+USES=		compiler:c++11-lang qmake qt:5
+USE_GSTREAMER1=	flac libav mpg123 ogg opus vorbis
+USE_QT=		buildtools_build concurrent core dbus gui multimedia \
+		network widgets x11extras
+
+PLIST_FILES=	bin/mpz share/applications/mpz.desktop \
+		share/icons/hicolor/512x512/apps/mpz.png
+
+post-extract:
+	@${RM} -r ${WRKSRC}/libs/taglib ${WRKSRC}/libs/yaml-cpp
+
+.include <bsd.port.mk>

Added: head/audio/mpz/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mpz/distinfo	Fri Oct  9 10:36:18 2020	(r551758)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1602178609
+SHA256 (olegantonyan-mpz-1.0.1_GH0.tar.gz) = fef17411123a0c5eed3ec8e62d56aa96978ef316954717c0c6086cdb129bbf38
+SIZE (olegantonyan-mpz-1.0.1_GH0.tar.gz) = 2854539

Added: head/audio/mpz/files/patch-app_app.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mpz/files/patch-app_app.pro	Fri Oct  9 10:36:18 2020	(r551758)
@@ -0,0 +1,35 @@
+--- app/app.pro.orig	2020-10-08 17:36:49 UTC
++++ app/app.pro
+@@ -7,8 +7,6 @@ CONFIG += c++11
+ 
+ TARGET = mpz
+ 
+-DEFINES += TAGLIB_STATIC
+-
+ win32: {
+   CONFIG -= debug_and_release
+   #CONFIG += static
+@@ -134,14 +132,14 @@ FORMS += \
+ 
+ # Libraries
+ INCLUDEPATH += \
+-  ../libs/taglib/taglib-1.11.1/taglib \
++  ${LOCALBASE}/include/taglib \
+   ../libs/taglib/taglib-1.11.1/taglib/toolkit \
+   ../libs/yaml-cpp/yaml-cpp-0.6.3/include \
+   ../libs/qtwaitingspinner \
+   ../libs/qhotkey/QHotkey-1.4.1
+ 
+ LIBS += \
+-  -L../libs/taglib -ltaglib \
++  -L${LOCALBASE}/lib -ltag \
+   -L../libs/yaml-cpp -lyaml-cpp \
+   -L../libs/qtwaitingspinner -lqtwaitingspinner \
+   -L../libs/qhotkey -lqhotkey
+@@ -165,5 +163,5 @@ RESOURCES += \
+   resources/resources.qrc
+ 
+ # make install
+-target.path = /usr/bin/
++target.path = $$PREFIX/bin/
+ INSTALLS += target

Added: head/audio/mpz/files/patch-mpz.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mpz/files/patch-mpz.pro	Fri Oct  9 10:36:18 2020	(r551758)
@@ -0,0 +1,22 @@
+--- mpz.pro.orig	2020-10-08 17:36:49 UTC
++++ mpz.pro
+@@ -2,17 +2,15 @@ TEMPLATE = subdirs
+ CONFIG += ordered
+ 
+ SUBDIRS = \
+-  libs/taglib \
+-  libs/yaml-cpp \
+   libs/qtwaitingspinner \
+   libs/qhotkey \
+   app
+ 
+ # make install
+-desktop.path = /usr/share/applications/
++desktop.path = $$PREFIX/share/applications/
+ desktop.files += mpz.desktop
+ 
+-icon.path = /usr/share/icons/hicolor/512x512/apps/
++icon.path = $$PREFIX/share/icons/hicolor/512x512/apps/
+ icon.files += app/resources/icons/mpz.png
+ 
+ INSTALLS += desktop icon

Added: head/audio/mpz/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mpz/pkg-descr	Fri Oct  9 10:36:18 2020	(r551758)
@@ -0,0 +1,18 @@
+Music player for big local collections.
+
+Features 3 columns UI: directory tree (aka library), playlists and tracks
+from selected playlist.  Middle-click on folder or track in the directory
+view and it will become a playlist an its content will be loaded into
+tracks view.  Create multiple playlists from folders in your library and
+switch between them quickly.  Similar to "Album list" in Foobar2000.
+
+Built with C++ and Qt framework -- lightweight and fast.  Open Source and
+cross-platform.  Uses audio codecs installed on your system (GStreamer
+though QtMultimedia).  Follows you desktop theme.
+
+Supports radio streams in .pls and .m3u playlsts.  Supports CUE.  Has a
+playback log which is helpful for radio stream -- never miss a track you
+liked.  Supports MPRIS -- ability to control playback remotely, for
+example, via KDE Connect.
+
+WWW: https://olegantonyan.github.io/mpz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010091036.099AaJYt067558>