From nobody Fri Feb 02 21:26:07 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 4TRTNH32HFz58Jdc; Fri, 2 Feb 2024 21:26:07 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRTNH2WCWz58Gk; Fri, 2 Feb 2024 21:26:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706909167; 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=ngBiN1vxxa9Zjl1B0gxxw8TAxZUyFmLy/KSZcGk5IjE=; b=fW3gSq5rG4W69OpoA4yFD1zye9wt2MIenJePWef9xnjuQKoTN4l6eQGsuuGYRtsUIigNRD F/XC9rY3BPE+eVbrP59qS0B4BR3BXw+RduTZtb7PUdkYB0fUQo+Ik5KKv0OhEgGHWMpmq8 AwS20VpFjVoLm6bj6tLz8Q9It/CxcV1e0cervzufFnr1Q+VNLliQ376MSUuUzIs4RtbXRh zvlFEKNgz8v9AfjP5RspIRdWD1SPQstGWo42qn/j4Tav0BMWdoPR7YJKEQ+3BuNCtue4v3 57XLOq+l29+bgcx4oK9AzH06IdWBHpPb0gRD2aohVOzYNEUOur/jyCDh5YiNRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706909167; 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=ngBiN1vxxa9Zjl1B0gxxw8TAxZUyFmLy/KSZcGk5IjE=; b=NPjc8Qv7Q4fi2s79LehZhkp4p3PpAB40JSCuCnOUxcE/XxjypqcbaDW+HTPaK9V+ZH18WX Xq3qS/TC+8tz8+HY0KhIBEyIi5CGk4TAWqBMU9J89tVvFZR2s1iQOGChaHlHysM8SzRtvc +R4/tLVBgoMVIN0kVz4Xn4+UxX0KMu5h/zjim0q/vGjKYcITyQ8QOHwEoJteUCPttS1XQM jv6Y8vkOYNbiMM9vw0ms7m4pGQ48JWbBjttoKSRoKTDkhvU6DegPjAjgJksYYIfUrASwFx Ht9RN4iXe/v9iPkhiC66tANhPxKGrJeS61tU0zplvzjF8XoIOgCCCe2/XAxB8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706909167; a=rsa-sha256; cv=none; b=WYrZMpbICt65AermWrHFguLGyqpZGfopLbH5OjiCYzV4j5NK9LKq1KmJGXL6M1gMWnpxEV SC9O+fwlR+nlhQqNBrUK17YB3q7HOsS0RuLvGDkHqWd//WzpTv5tmM4N009YUb4RuYrTiq Dr6PrXj53dgSSveAb7s8ct/0R5S7jK++L5hXjYPAkXmmdbn5oNS5HdDfCE0p49JQvznbOG U4rzfkpBy0hj9YWLY4dhr+bdUBY3RkZefdNksEt5/XG7zkZsuFI8U0CMNYaYScl3qmF/W0 8+LU4Ku+WWqM1eiE2x/VxlZg3k2KURf+ULE+VvMWt+8hhtxjZymAo3550GShEQ== 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 4TRTNH1ZyBzmGR; Fri, 2 Feb 2024 21:26:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 412LQ7GV090104; Fri, 2 Feb 2024 21:26:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 412LQ7NF090101; Fri, 2 Feb 2024 21:26:07 GMT (envelope-from git) Date: Fri, 2 Feb 2024 21:26:07 GMT Message-Id: <202402022126.412LQ7NF090101@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b941a535dc0b - main - multimedia/kew: New port: Command-line music 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b941a535dc0bdfa083bda409ffccca1b2e049b8d Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b941a535dc0bdfa083bda409ffccca1b2e049b8d commit b941a535dc0bdfa083bda409ffccca1b2e049b8d Author: Yuri Victorovich AuthorDate: 2024-02-02 14:58:57 +0000 Commit: Yuri Victorovich 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 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 + #include 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.