git: 740b0a8c29e6 - main - audio/schismtracker: Update to 20241021
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Oct 2024 18:01:51 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=740b0a8c29e674790bcaf34b882473d66cb02220 commit 740b0a8c29e674790bcaf34b882473d66cb02220 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2024-10-22 18:00:28 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2024-10-22 18:01:47 +0000 audio/schismtracker: Update to 20241021 * Update to 20241021 * Fallback to USE_GITHUB, code from the distributed tarball does not compile --- audio/schismtracker/Makefile | 14 ++++++++------ audio/schismtracker/distinfo | 6 +++--- audio/schismtracker/files/patch-configure.ac | 11 +++++++++++ 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/audio/schismtracker/Makefile b/audio/schismtracker/Makefile index 2734c14dd6c2..cf5d5041fd4f 100644 --- a/audio/schismtracker/Makefile +++ b/audio/schismtracker/Makefile @@ -1,8 +1,6 @@ PORTNAME= schismtracker -DISTVERSION= 20240909 -DISTVERSIONSUFFIX= .source +DISTVERSION= 20241021 CATEGORIES= audio -MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Module tracker editor/player resembling impulse tracker @@ -16,19 +14,23 @@ ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libFLAC.so:audio/flac \ libutf8proc.so:textproc/utf8proc -USES= compiler:c++11-lib desktop-file-utils localbase pkgconfig \ - python sdl xorg +USES= autoreconf compiler:c++11-lib desktop-file-utils localbase \ + pkgconfig python sdl xorg +USE_GITHUB= yes USE_SDL= sdl2 USE_XORG= x11 xext xv GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/schismtracker \ share/applications/schism.desktop \ share/man/man1/schismtracker.1.gz \ share/pixmaps/schism-icon-128.png \ share/pixmaps/schism-itf-icon-128.png +post-patch: + @${REINPLACE_CMD} -e "s|%%LAST_GIT_COMMIT%%|${DISTVERSION:C/([0-9]{4})([0-9]{2})([0-9]{2})/\1-\2-\3/}|" \ + ${WRKSRC}/configure.ac + post-install: ${INSTALL_DATA} ${WRKSRC}/sys/fd.org/*.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/icons/schism-icon-128.png \ diff --git a/audio/schismtracker/distinfo b/audio/schismtracker/distinfo index 9c6781def428..a13b63780853 100644 --- a/audio/schismtracker/distinfo +++ b/audio/schismtracker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725954451 -SHA256 (schismtracker-20240909.source.tar.gz) = 79178335de99e42691756e0e0b70062851d564d82a5619a43d8282becc652ed5 -SIZE (schismtracker-20240909.source.tar.gz) = 1224121 +TIMESTAMP = 1729616204 +SHA256 (schismtracker-schismtracker-20241021_GH0.tar.gz) = 9615aeb37a29867306b92008c4579be185871ac0156009ce64be406b777b8f5d +SIZE (schismtracker-schismtracker-20241021_GH0.tar.gz) = 1081219 diff --git a/audio/schismtracker/files/patch-configure.ac b/audio/schismtracker/files/patch-configure.ac new file mode 100644 index 000000000000..4e82148e0da2 --- /dev/null +++ b/audio/schismtracker/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2024-10-21 06:04:43 UTC ++++ configure.ac +@@ -22,7 +22,7 @@ dnl PACKAGE_VERSION will be either "" if not using git + dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + dnl PACKAGE_VERSION will be either "" if not using git, or date of the last git commit in the form YYYYMMDD +-m4_define([last_git_commit], patsubst(m4_esyscmd([git log -n 1 --date=short --format=format:%cd]), [[^0-9]])) ++m4_define([last_git_commit], [%%LAST_GIT_COMMIT%%]) + AC_INIT([schismtracker], [last_git_commit]) + + last_commit_date=[last_git_commit]