From nobody Sat Jan 27 15:06:47 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 4TMdFM2rzmz58NYy; Sat, 27 Jan 2024 15:06: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TMdFM2JRCz4Kl6; Sat, 27 Jan 2024 15:06:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706368007; 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=N2smwOPF+bs/nxLypLpLjqFZ1YwKuqi1dL7IVXA6mfY=; b=dO9LE7HIwq6uI2rN5AFl2dZXFHPi7VwPv7jQ1YKCmcjiJX9rEyIgZY1S3HqOT+npf4m8oh EDN5wgSMwbJDBkM2hy3T/rrmmNmByMSwk7z8sknhpIYvZ638pf3IqKhTBG98vUlp6rzWQw KaX+m7LhPM2gnYfmNERUoFM+H6f5c4f/Tw9OunBV5Akwh8+drR9umwztDVhVMUxeMqPMcH y4onDwLhWGYPXCyWLvB4I5P1oPM1SmY5W7XYKM2PxE0EqfqwTuPQ93Qkfg/8LAKPkxrd+1 5yQXTg021hCnzgdX9j2T8hLHDDswLqza0QUPv2VHdLYF0da3aXzCuGpxFYEixQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706368007; 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=N2smwOPF+bs/nxLypLpLjqFZ1YwKuqi1dL7IVXA6mfY=; b=V0IazLqtim3U4FQ1DHQio436lwNSUy1rm07K2Yc8C71mdFCVm43CT4MQqIKQKcZ/xCXobB KiWfxmQY6bU5+gsaDzBWn/8x0J1l856n2er2/RytsLYyQPm/Z/DzSPSUZODByewMaPgaYy zEVEDCQilwjZAyEHuPIlnjyRT0HAi4TNeJvAkbAfSxDdu40upZ5dOnFMmf1pHhUsBVlyEu EnJnkDPY0Zdhf3VSq+dtNuObDSO3Lizli+Uc2Yv8jdCeFuquB+8bMP2DiB+fi2IPh8Prdf mpNw8f6J/k1mjyfMjOGnVtj2rNRZuNylwTMUBAh9bsr2ZG/NJek1/foG+RASJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706368007; a=rsa-sha256; cv=none; b=u1k0albFYlziWE3B0MCT0ipMlJXcA/D+72mSCSllDCvLYgck75267KEVkoyJCGSkpwJXnv irEqIjDMPmzcyEMRvewQKil29OUaQy8v/fXeTbLYWayzIK4u71VJqjlyGAZUvaJ41QQsU9 AeGc/0qQady7jtvnJfSytPTOICnTDKRjZr5QQAR87aoeig/+KzynVkalbNnU4yZOtnReem d6hmrw6GqJYT4VTs1csaswCXdBzAvX5IvYxpG3IcrCWbDQJLuwFkPAv37umJvNX1VWpLjW 4k4Q+cmU5YU7t0DJVuHA92Pfxf6qepWbBLka2CvjLSz47ktHFlAapyE/467iOw== 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 4TMdFM1FMJzT6y; Sat, 27 Jan 2024 15:06:47 +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 40RF6lWk003810; Sat, 27 Jan 2024 15:06:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40RF6lVC003807; Sat, 27 Jan 2024 15:06:47 GMT (envelope-from git) Date: Sat, 27 Jan 2024 15:06:47 GMT Message-Id: <202401271506.40RF6lVC003807@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 798b1e36b366 - main - audio/gbsplay: Update to 0.0.95 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 798b1e36b36606b74a4305a26cfb19adaad8e6eb Auto-Submitted: auto-generated The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=798b1e36b36606b74a4305a26cfb19adaad8e6eb commit 798b1e36b36606b74a4305a26cfb19adaad8e6eb Author: Emanuel Haupt AuthorDate: 2024-01-27 15:01:05 +0000 Commit: Emanuel Haupt CommitDate: 2024-01-27 15:06:41 +0000 audio/gbsplay: Update to 0.0.95 --- audio/gbsplay/Makefile | 33 +++++++++++++++++++++------------ audio/gbsplay/distinfo | 6 +++--- audio/gbsplay/files/patch-Makefile | 14 +++++++------- audio/gbsplay/files/patch-configure | 12 ++++++------ audio/gbsplay/pkg-plist | 3 ++- 5 files changed, 39 insertions(+), 29 deletions(-) diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile index 17d7a3008fec..010890cc5dec 100644 --- a/audio/gbsplay/Makefile +++ b/audio/gbsplay/Makefile @@ -1,6 +1,5 @@ PORTNAME= gbsplay -DISTVERSION= 0.0.94 -PORTREVISION= 1 +DISTVERSION= 0.0.95 PORTEPOCH= 1 CATEGORIES= audio @@ -11,6 +10,8 @@ WWW= https://github.com/mmitch/gbsplay LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYRIGHT +BUILD_DEPENDS= bash:shells/bash + USES= compiler:c++11-lib desktop-file-utils gmake localbase:ldflags \ shared-mime-info USE_CSTD= gnu89 @@ -18,29 +19,37 @@ USE_CSTD= gnu89 USE_GITHUB= yes GH_ACCOUNT= mmitch -HAS_CONFIGURE= yes +HAS_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man \ --prefix=${PREFIX} \ - --sysconfdir=${PREFIX}/etc \ - --without-xmmsplugin + --sysconfdir=${PREFIX}/etc MAKE_ENV+= EXAMPLESDIR="${STAGEDIR}${EXAMPLESDIR}" +CFLAGS+= -D__BSD_VISIBLE=1 + CONFLICTS_INSTALL= mate-control-center # share/applications/mimeinfo.cache -OPTIONS_DEFINE= BASH_COMPLETIONS DOCS EXAMPLES NAS NLS +OPTIONS_DEFINE= ALSA BASH_COMPLETIONS DOCS EXAMPLES NAS NLS PULSEAUDIO \ + SDL OPTIONS_DEFAULT= BASH_COMPLETIONS OPTIONS_SUB= yes BASH_COMPLETIONS_DESC= Install bash completions -NAS_LIB_DEPENDS= libaudio.so:audio/nas -NAS_CONFIGURE_ENABLE= nas -NLS_USES= gettext -NLS_CONFIGURE_OFF= --disable-i18n -NLS_LDFLAGS= -lintl +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CONFIGURE_OFF= --disable-alsa +NAS_LIB_DEPENDS= libaudio.so:audio/nas +NAS_CONFIGURE_ENABLE= nas +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-i18n +NLS_LDFLAGS= -lintl +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_CONFIGURE_OFF= --disable-pulse +SDL_USES= sdl2 +SDL_CONFIGURE_OFF= --disable-sdl post-patch: @${REINPLACE_CMD} -e "s|/etc/\(gbsplayrc\)|${PREFIX}/etc/\1|" \ @@ -50,7 +59,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gbsplay \ - ${STAGEDIR}${PREFIX}/bin/gbsinfo + ${STAGEDIR}${PREFIX}/bin/gbsinfo ${STAGEDIR}${PREFIX}/bin/gbs2gb post-install-BASH_COMPLETIONS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d diff --git a/audio/gbsplay/distinfo b/audio/gbsplay/distinfo index e5b00450140b..efb2ae08382e 100644 --- a/audio/gbsplay/distinfo +++ b/audio/gbsplay/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1593188134 -SHA256 (mmitch-gbsplay-0.0.94_GH0.tar.gz) = 8a4c66d97914ac8597c79d98f819874d516769542f36c98cf9daa5d463f435d5 -SIZE (mmitch-gbsplay-0.0.94_GH0.tar.gz) = 136589 +TIMESTAMP = 1706357471 +SHA256 (mmitch-gbsplay-0.0.95_GH0.tar.gz) = a922aa98ecaad3676f5a42b89f3fad3b9aef6aa8ac13dcdfabf994aadbea7c1c +SIZE (mmitch-gbsplay-0.0.95_GH0.tar.gz) = 196028 diff --git a/audio/gbsplay/files/patch-Makefile b/audio/gbsplay/files/patch-Makefile index 2b29cbf9c6be..5f64a6e0ec92 100644 --- a/audio/gbsplay/files/patch-Makefile +++ b/audio/gbsplay/files/patch-Makefile @@ -1,7 +1,7 @@ ---- Makefile.orig 2018-12-25 13:50:45 UTC +--- Makefile.orig 2024-01-25 22:32:28 UTC +++ Makefile -@@ -71,7 +71,7 @@ xmmsdir := $(DESTDIR)$(XMMSPREFIX)$(XMMS_INPUT_PLU - man1dir := $(mandir)/man1 +@@ -69,7 +69,7 @@ contribdir := $(docdir)/contrib + man3dir := $(mandir)/man3 man5dir := $(mandir)/man5 contribdir := $(docdir)/contrib -exampledir := $(docdir)/examples @@ -9,13 +9,13 @@ DISTDIR := gbsplay-$(VERSION) -@@ -82,10 +82,10 @@ GBSPLAYLDFLAGS := +@@ -86,10 +86,10 @@ export Q VERBOSE CC HOSTCC BUILDCC GBSCFLAGS GBSLDFLAG export Q VERBOSE CC HOSTCC BUILDCC GBSCFLAGS GBSLDFLAGS --docs := README HISTORY COPYRIGHT -+docs := README - docs-dist := INSTALL CODINGSTYLE TESTSUITE gbsformat.txt +-docs := README.md HISTORY COPYRIGHT ++docs := README.md + docs-dist := INSTALL.md CODINGSTYLE gbsformat.txt -contribs := contrib/gbs2ogg.sh contrib/gbsplay.bashcompletion -examples := examples/nightmode.gbs examples/gbsplayrc_sample +contribs := contrib/gbs2ogg.sh diff --git a/audio/gbsplay/files/patch-configure b/audio/gbsplay/files/patch-configure index b7afe42d573a..aad5d5d4c2d8 100644 --- a/audio/gbsplay/files/patch-configure +++ b/audio/gbsplay/files/patch-configure @@ -1,14 +1,14 @@ ---- configure.orig 2018-12-25 13:50:45 UTC +--- configure.orig 2024-01-25 22:32:28 UTC +++ configure -@@ -669,7 +669,6 @@ fi +@@ -732,7 +732,6 @@ fi ## check for various headers -need_include inttypes.h - if [ "$use_devdsp" != no ]; then - remember_use devdsp -@@ -729,11 +728,11 @@ fi + if [ "$use_zlib" != no ]; then + remember_use zlib +@@ -816,11 +815,11 @@ if [ "$use_nas" != no ]; then if [ "$use_nas" != no ]; then remember_use nas @@ -22,7 +22,7 @@ int main(int argc, char **argv) { return 0; } EOF retval2=$? -@@ -954,7 +953,7 @@ append_nodupe CFLAGS -D_FORTIFY_SOURCE=2 -Wall -fsigne +@@ -1138,7 +1137,7 @@ else if [ "$use_debug" = "yes" ]; then append_nodupe CFLAGS -g3 else diff --git a/audio/gbsplay/pkg-plist b/audio/gbsplay/pkg-plist index 01eb211e4065..137f2cd61463 100644 --- a/audio/gbsplay/pkg-plist +++ b/audio/gbsplay/pkg-plist @@ -1,3 +1,4 @@ +bin/gbs2gb bin/gbsinfo bin/gbsplay @sample etc/gbsplayrc.sample @@ -7,7 +8,7 @@ share/man/man1/gbsplay.1.gz share/man/man5/gbsplayrc.5.gz share/applications/gbsplay.desktop share/applications/mimeinfo.cache -%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/contrib/gbs2ogg.sh %%PORTEXAMPLES%%%%EXAMPLESDIR%%/nightmode.gbs %%NLS%%share/locale/de/LC_MESSAGES/gbsplay.mo