svn commit: r563497 - in head/multimedia: atomicparsley atomicparsley/files get_iplayer
Jan Beich
jbeich at FreeBSD.org
Sun Jan 31 17:16:06 UTC 2021
Author: jbeich
Date: Sun Jan 31 17:16:04 2021
New Revision: 563497
URL: https://svnweb.freebsd.org/changeset/ports/563497
Log:
multimedia/atomicparsley: update to 20210114.184825.1dbe1be
See https://github.com/wez/atomicparsley#a-note-on-maintenance
Added:
head/multimedia/atomicparsley/files/patch-src_CDtoc.cpp (contents, props changed)
Deleted:
head/multimedia/atomicparsley/files/patch-AP_commons.h
head/multimedia/atomicparsley/files/patch-AtomicParsley.cpp
head/multimedia/atomicparsley/files/patch-build
Modified:
head/multimedia/atomicparsley/Makefile (contents, props changed)
head/multimedia/atomicparsley/distinfo (contents, props changed)
head/multimedia/atomicparsley/pkg-descr (contents, props changed)
head/multimedia/get_iplayer/Makefile (contents, props changed)
Modified: head/multimedia/atomicparsley/Makefile
==============================================================================
--- head/multimedia/atomicparsley/Makefile Sun Jan 31 17:06:55 2021 (r563496)
+++ head/multimedia/atomicparsley/Makefile Sun Jan 31 17:16:04 2021 (r563497)
@@ -1,11 +1,8 @@
# $FreeBSD$
-PORTNAME= AtomicParsley
-PORTVERSION= 0.9.0
-PORTREVISION= 2
+PORTNAME= atomicparsley
+PORTVERSION= 20210114.184825.1dbe1be
CATEGORIES= multimedia
-MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}%20v${PORTVERSION}
-DISTNAME= ${PORTNAME}-source-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Command line program for reading parsing and setting MP4/M4A metadata
@@ -13,17 +10,13 @@ COMMENT= Command line program for reading parsing and
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= zip
-
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= wez
PLIST_FILES= bin/AtomicParsley
-post-patch:
- @${REINPLACE_CMD} -e 's,g++,${CXX},g' -e 's,-g -O2 -Wall,${CXXFLAGS},g' ${WRKSRC}/build
-
-do-build:
- cd ${WRKSRC} && ./build
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/AtomicParsley ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:T:S,^,${INSTALL_WRKSRC}/,} \
+ ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
Modified: head/multimedia/atomicparsley/distinfo
==============================================================================
--- head/multimedia/atomicparsley/distinfo Sun Jan 31 17:06:55 2021 (r563496)
+++ head/multimedia/atomicparsley/distinfo Sun Jan 31 17:16:04 2021 (r563497)
@@ -1,2 +1,3 @@
-SHA256 (AtomicParsley-source-0.9.0.zip) = de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e
-SIZE (AtomicParsley-source-0.9.0.zip) = 172615
+TIMESTAMP = 1610678905
+SHA256 (wez-atomicparsley-20210114.184825.1dbe1be_GH0.tar.gz) = 8877262c86d0ad231a5b0eaa8ab9c0c1d4e06fafea0b96a819d9a5e565a28b8c
+SIZE (wez-atomicparsley-20210114.184825.1dbe1be_GH0.tar.gz) = 228477
Added: head/multimedia/atomicparsley/files/patch-src_CDtoc.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/atomicparsley/files/patch-src_CDtoc.cpp Sun Jan 31 17:16:04 2021 (r563497)
@@ -0,0 +1,17 @@
+audio/cdparanoia uses 0xaa on FreeBSD
+
+src/CDtoc.cpp:165:40: error: use of undeclared identifier 'LEADOUT_TRACK_NUMBER'
+ if (track_TOC_desc->tracknumber == LEADOUT_TRACK_NUMBER) {
+ ^
+
+--- src/CDtoc.cpp.orig 2021-01-15 02:48:25 UTC
++++ src/CDtoc.cpp
+@@ -73,7 +73,7 @@ CD_TOC_ *cdTOC = NULL;
+ uint8_t LEADOUT_TRACK_NUMBER = MACOSX_LEADOUT_TRACK;
+ #elif defined(__linux__)
+ uint8_t LEADOUT_TRACK_NUMBER = CDROM_LEADOUT;
+-#elif defined(_WIN32)
++#else
+ uint8_t LEADOUT_TRACK_NUMBER =
+ 0xAA; // NOTE: for WinXP IOCTL_CDROM_READ_TOC_EX code, its 0xA2
+ #endif
Modified: head/multimedia/atomicparsley/pkg-descr
==============================================================================
--- head/multimedia/atomicparsley/pkg-descr Sun Jan 31 17:06:55 2021 (r563496)
+++ head/multimedia/atomicparsley/pkg-descr Sun Jan 31 17:16:04 2021 (r563497)
@@ -6,4 +6,4 @@ setting metadata into MPEG-4 files supporting these st
* ISO copyright notices at movie & track level for MPEG-4
* uuid private user extension text & file embedding for MPEG-4
-WWW: http://atomicparsley.sourceforge.net/
+WWW: https://github.com/wez/atomicparsley
Modified: head/multimedia/get_iplayer/Makefile
==============================================================================
--- head/multimedia/get_iplayer/Makefile Sun Jan 31 17:06:55 2021 (r563496)
+++ head/multimedia/get_iplayer/Makefile Sun Jan 31 17:16:04 2021 (r563497)
@@ -41,7 +41,7 @@ OPTIONS_DEFAULT= FFMPEG ATOMICPARSLEY
FFMPEG_DESC= Enable file conversion using FFmpeg
FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg
ATOMICPARSLEY_DESC= Enable tagging of media files
-ATOMICPARSLEY_RUN_DEPENDS= AtomicParsley>=0:multimedia/atomicparsley
+ATOMICPARSLEY_RUN_DEPENDS= atomicparsley>=0:multimedia/atomicparsley
post-patch:
${REINPLACE_CMD} -e "108,110c\\${.newline} \$$opt_cmdline->{getiplayer} = \"${PREFIX}/bin/${PORTNAME}\";" \
More information about the svn-ports-head
mailing list