git: b941a535dc0b - main - multimedia/kew: New port: Command-line music player
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Feb 2024 21:26:07 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b941a535dc0bdfa083bda409ffccca1b2e049b8d commit b941a535dc0bdfa083bda409ffccca1b2e049b8d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-02-02 14:58:57 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-02-02 14:58:57 +0000 multimedia/kew: New port: Command-line music player --- multimedia/Makefile | 1 + multimedia/kew/Makefile | 36 +++++++++++++++++++++++++++++++++++ multimedia/kew/distinfo | 3 +++ multimedia/kew/files/patch-src_term.h | 13 +++++++++++++ multimedia/kew/pkg-descr | 10 ++++++++++ 5 files changed, 63 insertions(+) diff --git a/multimedia/Makefile b/multimedia/Makefile index 53cdf68ae8c3..1a5e107af707 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -137,6 +137,7 @@ SUBDIR += kdemultimedia SUBDIR += kdemultimedia-ffmpegthumbs SUBDIR += kdenlive + SUBDIR += kew SUBDIR += kf5-kmediaplayer SUBDIR += kmplayer SUBDIR += kodi diff --git a/multimedia/kew/Makefile b/multimedia/kew/Makefile new file mode 100644 index 000000000000..dfb6bcce44d5 --- /dev/null +++ b/multimedia/kew/Makefile @@ -0,0 +1,36 @@ +PORTNAME= kew +DISTVERSIONPREFIX= v +DISTVERSION= 2.2-2 +DISTVERSIONSUFFIX= -gf8e5bf1 +CATEGORIES= multimedia + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Command-line music player +WWW= https://github.com/ravachol/kew + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ + libchafa.so:graphics/chafa \ + libfftw3f.so:math/fftw3-float \ + libfreeimage.so:graphics/freeimage \ + libopus.so:audio/opus \ + libopusfile.so:audio/opusfile \ + libvorbis.so:audio/libvorbis + +USES= gettext-runtime gmake gnome pkgconfig +USE_GNOME= glib20 + +USE_GITHUB= yes +GH_ACCOUNT= ravachol + +MAKE_ARGS= CC=${CC} PREFIX=${PREFIX} + +PLIST_FILES= bin/kew \ + share/man/man1/kew.1.gz + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kew + +.include <bsd.port.mk> diff --git a/multimedia/kew/distinfo b/multimedia/kew/distinfo new file mode 100644 index 000000000000..acf2da3375e3 --- /dev/null +++ b/multimedia/kew/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706908615 +SHA256 (ravachol-kew-v2.2-2-gf8e5bf1_GH0.tar.gz) = a6a6d6d697b4da4cdb40d1b4913ecc98316bcf62b504d5e2f9882c6be07c9674 +SIZE (ravachol-kew-v2.2-2-gf8e5bf1_GH0.tar.gz) = 1157117 diff --git a/multimedia/kew/files/patch-src_term.h b/multimedia/kew/files/patch-src_term.h new file mode 100644 index 000000000000..57fc3d11f1eb --- /dev/null +++ b/multimedia/kew/files/patch-src_term.h @@ -0,0 +1,13 @@ +- workaround for https://github.com/ravachol/kew/issues/115 + +--- src/term.h.orig 2024-02-02 21:18:33 UTC ++++ src/term.h +@@ -4,7 +4,7 @@ + #define __USE_POSIX + #endif + #ifndef _POSIX_C_SOURCE +-#define _POSIX_C_SOURCE 200809L ++//#define _POSIX_C_SOURCE 200809L + #endif + #include <unistd.h> + #include <termios.h> diff --git a/multimedia/kew/pkg-descr b/multimedia/kew/pkg-descr new file mode 100644 index 000000000000..a3f4c3a94508 --- /dev/null +++ b/multimedia/kew/pkg-descr @@ -0,0 +1,10 @@ +kew is a command-line music player. + +Features: +* Search a music library with partial titles. +* Creates a playlist based on a matched directory. +* Has gapless playback (between files of the same format and type) and supports + 24-bit audio. +* Control the player with previous, next and pause. +* Edit the playlist by enqueueing and removing songs. +* Private and offline, no data is collected by kew.