svn commit: r434860 - in head: . audio audio/alac audio/alac/files

Emanuel Haupt ehaupt at FreeBSD.org
Sun Feb 26 11:38:47 UTC 2017


Author: ehaupt
Date: Sun Feb 26 11:38:45 2017
New Revision: 434860
URL: https://svnweb.freebsd.org/changeset/ports/434860

Log:
  (Readdition of audio/alac which was removed on 418056)
  
  Add a new version of alac, apple Lossless Audio Codec.
  
  PORTEPOCH is in order because of pre-existing version with a different
  versioning schema.

Added:
  head/audio/alac/
     - copied from r418056, head/audio/alac/
  head/audio/alac/files/
  head/audio/alac/files/extrapatch-convert-utility_Makefile.am   (contents, props changed)
  head/audio/alac/pkg-plist   (contents, props changed)
Modified:
  head/MOVED
  head/audio/Makefile
  head/audio/alac/Makefile
  head/audio/alac/distinfo   (contents, props changed)
  head/audio/alac/pkg-descr   (contents, props changed)

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sun Feb 26 11:21:26 2017	(r434859)
+++ head/MOVED	Sun Feb 26 11:38:45 2017	(r434860)
@@ -8562,7 +8562,6 @@ games/hlstatsx||2016-07-04|Has expired: 
 audio/streamtuner||2016-07-04|Has expired: Broken for more than 6 months
 audio/mangler||2016-07-04|Has expired: Broken for more than 6 months
 audio/hawkvoice||2016-07-04|Has expired: Broken for more than 6 months
-audio/alac||2016-07-04|Has expired: Broken for more than 6 months
 x11-wm/e-module-mpdule||2016-07-04|Has expired: Broken for more than 6 months
 x11-wm/e-module-tclock||2016-07-04|Has expired: Broken for more than 6 months
 x11-wm/musca||2016-07-04|Has expired: Broken for more than 6 months

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sun Feb 26 11:21:26 2017	(r434859)
+++ head/audio/Makefile	Sun Feb 26 11:38:45 2017	(r434860)
@@ -15,6 +15,7 @@
     SUBDIR += adplay
     SUBDIR += afsp
     SUBDIR += aften
+    SUBDIR += alac
     SUBDIR += alienwah
     SUBDIR += alsa-lib
     SUBDIR += alsa-plugins

Modified: head/audio/alac/Makefile
==============================================================================
--- head/audio/alac/Makefile	Mon Jul  4 20:44:22 2016	(r418056)
+++ head/audio/alac/Makefile	Sun Feb 26 11:38:45 2017	(r434860)
@@ -1,33 +1,33 @@
-# Created by: Michael Johnson <ahze at FreeBSD.org>
+# Created by: Emanuel Haupt <ehaupt at FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	alac
-PORTVERSION=	0.2.0
-PORTREVISION=	1
+PORTVERSION=	0.0.7
+PORTEPOCH=	1
 CATEGORIES=	audio
-MASTER_SITES=	http://craz.net/programs/itunes/files/
-DISTNAME=	${PORTNAME}_decoder-${PORTVERSION}
 
-MAINTAINER=	multimedia at FreeBSD.org
-COMMENT=	Basic decoder for Apple Lossless Audio Codec files (ALAC)
+MAINTAINER=	ehaupt at FreeBSD.org
+COMMENT=	Apple Lossless Audio Codec
 
-BROKEN=		unfetchable
-DEPRECATED=	Broken for more than 6 months
-EXPIRATION_DATE=	2016-07-04
-
-WRKSRC=		${WRKDIR}/${PORTNAME}_decoder
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
-ALL_TARGET=	alac
-
-USES=		tar:tgz
-OPTIONS_DEFINE=	DOCS
-
-PLIST_FILES=	bin/alac
-PORTDOCS=	README
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/alac ${STAGEDIR}${PREFIX}/bin/
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		autoreconf libtool pathfix
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+OPTIONS_SUB=	yes
+
+GH_ACCOUNT=	mikebrady
+
+OPTIONS_DEFINE=	CONVERTER
+OPTIONS_DEFINE=	CONVERTER
+CONVERTER_DESC=	Build with command-line utility to read and write audio data
+OPTIONS_DEFAULT=CONVERTER
+
+CONVERTER_CONFIGURE_ON=	--enable-example
+CONVERTER_EXTRA_PATCHES=${FILESDIR}/extrapatch-convert-utility_Makefile.am
+
+INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>

Modified: head/audio/alac/distinfo
==============================================================================
--- head/audio/alac/distinfo	Mon Jul  4 20:44:22 2016	(r418056)
+++ head/audio/alac/distinfo	Sun Feb 26 11:38:45 2017	(r434860)
@@ -1,2 +1,3 @@
-SHA256 (alac_decoder-0.2.0.tgz) = 7f8f978a5619e6dfa03dc140994fd7255008d788af848ba6acf9cfbaa3e4122f
-SIZE (alac_decoder-0.2.0.tgz) = 19019
+TIMESTAMP = 1488097883
+SHA256 (mikebrady-alac-0.0.7_GH0.tar.gz) = 5a2b059869f0d0404aa29cbde44a533ae337979c11234041ec5b5318f790458e
+SIZE (mikebrady-alac-0.0.7_GH0.tar.gz) = 61881

Added: head/audio/alac/files/extrapatch-convert-utility_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alac/files/extrapatch-convert-utility_Makefile.am	Sun Feb 26 11:38:45 2017	(r434860)
@@ -0,0 +1,11 @@
+--- convert-utility/Makefile.am.orig	2016-07-03 20:18:03 UTC
++++ convert-utility/Makefile.am
+@@ -14,7 +14,7 @@
+ 
+ bin_PROGRAMS = alacconvert$(EXEEXT)
+ 
+-alacconvert_CPPFLAGS = -Wno-multichar
++alacconvert_CPPFLAGS = -Wno-multichar -I../codec
+ alacconvert_LDADD = ../codec/libalac.la
+ alacconvert_SOURCES = \
+     main.cpp \

Modified: head/audio/alac/pkg-descr
==============================================================================
--- head/audio/alac/pkg-descr	Mon Jul  4 20:44:22 2016	(r418056)
+++ head/audio/alac/pkg-descr	Sun Feb 26 11:38:45 2017	(r434860)
@@ -1,3 +1,12 @@
-Basic decoder for Apple Lossless Audio Codec files (ALAC)
+The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and
+supported on iPhone, iPad, most iPods, Mac and iTunes. ALAC is a data
+compression method which reduces the size of audio files with no loss of
+information. A decoded ALAC stream is bit-for-bit identical to the original
+uncompressed audio file.
 
-WWW: http://crazney.net/programs/itunes/alac.html
+The Apple Lossless Audio Codec project contains the sources for the ALAC
+encoder and decoder. Also included is an example command line utility, called
+alacconvert, to read and write audio data to/from Core Audio Format (CAF) and
+WAVE files.
+
+WWW: https://github.com/mikebrady/alac/

Added: head/audio/alac/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alac/pkg-plist	Sun Feb 26 11:38:45 2017	(r434860)
@@ -0,0 +1,14 @@
+%%CONVERTER%%bin/alacconvert
+include/alac/ALACAudioTypes.h
+include/alac/ALACBitUtilities.h
+include/alac/ALACDecoder.h
+include/alac/ALACEncoder.h
+include/alac/EndianPortable.h
+include/alac/aglib.h
+include/alac/dplib.h
+include/alac/matrixlib.h
+lib/libalac.a
+lib/libalac.so
+lib/libalac.so.0
+lib/libalac.so.0.0.0
+libdata/pkgconfig/alac.pc


More information about the svn-ports-all mailing list