git: cbec24581774 - main - multimedia/transcode: mark as broken and deprecated

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Thu, 16 Feb 2023 21:02:42 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cbec24581774d7e2e3978524491f804343b4cbe6

commit cbec24581774d7e2e3978524491f804343b4cbe6
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-02-16 20:48:45 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-02-16 20:48:45 +0000

    multimedia/transcode: mark as broken and deprecated
    
    This software has been abandoned by the author and is not longer
    available from an official repository. A verbatim copy exists on
    GitHub, and the port is modified to be fetched from that repository.
    
    This port is broken since it depends on audio resample functions that
    have been deprecated in 2013 and removed from the ffmpeg sources in
    2017, and therefore does not build.
    
    The port is marked deprecated and to be removed after 2023-03-31.
    If somebody wants to fix the port I'll accept patches (or transder
    maintainership, since I do not use this software anymore).
    
    Reported by:    pkg-fallout
---
 multimedia/transcode/Makefile | 14 +++++++++++---
 multimedia/transcode/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 4e175722bf15..34f7b0afb160 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	transcode
 PORTVERSION=	1.1.7
-PORTREVISION=	49
+PORTREVISION=	51
 CATEGORIES=	multimedia
-MASTER_SITES=	https://bitbucket.org/france/transcode-tcforge/downloads/
+#MASTER_SITES=	https://bitbucket.org/france/transcode-tcforge/downloads/
 
 MAINTAINER=	se@FreeBSD.org
 COMMENT=	Text-console utility for video stream processing
@@ -10,10 +10,17 @@ WWW=		https://www.transcoding.org/
 
 LICENSE=	GPLv2
 
+DEPRECATED=	abandond by upstream and does not build
+EXPIRATION_DATE=	2023-03-31
+BROKEN=		depends on removed libav audio resample functions
+
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 
-USE_LDCONFIG=	yes
 USES=		gmake libtool pkgconfig tar:bzip2 gettext-runtime
+USE_GITHUB=	yes
+GH_ACCOUNT=	wyyrepo
+GH_TAGNAME=	474090a
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-oss
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -121,6 +128,7 @@ CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \
 
 post-extract:
 	@${RM} ${WRKSRC}/import/v4l/videodev*
+	@${CHMOD} +x ${WRKSRC}/configure
 
 post-patch:
 	@${REINPLACE_CMD} -E -e 's|loff_t|uint64_t|' ${WRKSRC}/avilib/avidump.c
diff --git a/multimedia/transcode/distinfo b/multimedia/transcode/distinfo
index 4576eee2ce3e..d9c39f4d6238 100644
--- a/multimedia/transcode/distinfo
+++ b/multimedia/transcode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619893866
-SHA256 (transcode-1.1.7.tar.bz2) = 1e4e72d8e0dd62a80b8dd90699f5ca64c9b0cb37a5c9325c184166a9654f0a92
-SIZE (transcode-1.1.7.tar.bz2) = 2183627
+TIMESTAMP = 1675976910
+SHA256 (wyyrepo-transcode-1.1.7-474090a_GH0.tar.gz) = 028c9a2dd9070c556cc056530177ca78020fe0c96ada81d95aaa23a28a6c3f65
+SIZE (wyyrepo-transcode-1.1.7-474090a_GH0.tar.gz) = 2584504