[111885] trunk/dports/audio/flac
ryandesign at macports.org
ryandesign at macports.org
Fri Oct 4 17:43:20 PDT 2013
Revision: 111885
https://trac.macports.org/changeset/111885
Author: ryandesign at macports.org
Date: 2013-10-04 17:43:20 -0700 (Fri, 04 Oct 2013)
Log Message:
-----------
flac: update to 1.3.0 (#40658)
Modified Paths:
--------------
trunk/dports/audio/flac/Portfile
trunk/dports/audio/flac/files/autoconf-no-xmms.patch
trunk/dports/audio/flac/files/patch-build_lib.mk.diff
Removed Paths:
-------------
trunk/dports/audio/flac/files/patch-automake-1.13.diff
Modified: trunk/dports/audio/flac/Portfile
===================================================================
--- trunk/dports/audio/flac/Portfile 2013-10-04 23:22:49 UTC (rev 111884)
+++ trunk/dports/audio/flac/Portfile 2013-10-05 00:43:20 UTC (rev 111885)
@@ -4,8 +4,7 @@
PortSystem 1.0
name flac
-version 1.2.1
-revision 1
+version 1.3.0
categories audio
platforms darwin
license GPL-2+ BSD
@@ -13,33 +12,32 @@
description Free Lossless Audio Codec
long_description \
- FLAC stands for Free Lossless Audio Codec. Grossly oversimplified,FLAC is similar to MP3, but lossless, \
- meaning that audio iscompressed in FLAC without throwing away any information. This issimilar to how Zip \
+ FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, \
+ meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip \
works, except with FLAC you will get much better compression because it is designed specifically for \
- audio, and you canplay back compressed FLAC files in your favorite player (or your car or home stereo) \
+ audio, and you can play back compressed FLAC files in your favorite player (or your car or home stereo) \
just like you would an MP3 file.
-homepage http://flac.sourceforge.net/
-master_sites sourceforge:project/flac/flac-src/flac-${version}-src/
+homepage https://xiph.org/flac/
+master_sites http://downloads.xiph.org/releases/flac/
+use_xz yes
-checksums sha1 bd54354900181b59db3089347cc84ad81e410b38 \
- rmd160 bd3223c848054f0a75d11200b30f903bdd375bfc \
- sha256 9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf
+checksums rmd160 6ced4a7ab2f1b0e583830b0ddc37a842703ee4c9 \
+ sha256 fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
depends_lib port:libogg port:libiconv
patchfiles patch-nasm.h.diff \
patch-build_lib.mk.diff \
- autoconf-no-xmms.patch \
- patch-automake-1.13.diff
+ autoconf-no-xmms.patch
-configure.args --disable-xmms-plugin
+configure.args --disable-silent-rules \
+ --disable-xmms-plugin
post-configure {
if {[variant_isset universal]} {
- system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
+ system -W ${worksrcpath} "ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
}
- reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool
}
build.args OBJ_FORMAT=macho
@@ -59,5 +57,5 @@
configure.args-append --disable-asm-optimizations
}
-livecheck.url http://sourceforge.net/projects/${name}/files/${name}-src
+livecheck.url [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
Modified: trunk/dports/audio/flac/files/autoconf-no-xmms.patch
===================================================================
--- trunk/dports/audio/flac/files/autoconf-no-xmms.patch 2013-10-04 23:22:49 UTC (rev 111884)
+++ trunk/dports/audio/flac/files/autoconf-no-xmms.patch 2013-10-05 00:43:20 UTC (rev 111885)
@@ -1,6 +1,6 @@
---- configure.in.orig 2012-03-25 02:42:42.000000000 -0700
-+++ configure.in 2012-03-25 02:43:20.000000000 -0700
-@@ -225,9 +225,6 @@ AC_HELP_STRING([--disable-xmms-plugin],
+--- configure.ac.orig 2013-05-27 03:08:57.000000000 -0500
++++ configure.ac 2013-10-04 18:22:28.000000000 -0500
+@@ -286,9 +286,6 @@
no) enable_xmms_plugin=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-xmms-plugin) ;;
esac],[enable_xmms_plugin=true])
Deleted: trunk/dports/audio/flac/files/patch-automake-1.13.diff
===================================================================
--- trunk/dports/audio/flac/files/patch-automake-1.13.diff 2013-10-04 23:22:49 UTC (rev 111884)
+++ trunk/dports/audio/flac/files/patch-automake-1.13.diff 2013-10-05 00:43:20 UTC (rev 111885)
@@ -1,12 +0,0 @@
---- configure.in.orig 2007-09-13 10:48:42.000000000 -0500
-+++ configure.in 2012-12-30 10:42:15.000000000 -0600
-@@ -43,8 +43,7 @@
-
- AC_CHECK_SIZEOF(void*,0)
-
--#@@@ new name is AC_CONFIG_HEADERS
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
-
- AC_C_BIGENDIAN
-
Modified: trunk/dports/audio/flac/files/patch-build_lib.mk.diff
===================================================================
--- trunk/dports/audio/flac/files/patch-build_lib.mk.diff 2013-10-04 23:22:49 UTC (rev 111884)
+++ trunk/dports/audio/flac/files/patch-build_lib.mk.diff 2013-10-05 00:43:20 UTC (rev 111885)
@@ -1,11 +1,11 @@
---- build/lib.mk.orig 2007-09-13 10:51:25.000000000 +1000
-+++ build/lib.mk 2009-02-10 08:27:43.000000000 +1100
-@@ -51,7 +51,7 @@
+--- build/lib.mk.orig 2013-05-27 03:08:57.000000000 -0500
++++ build/lib.mk 2013-10-04 18:20:07.000000000 -0500
+@@ -55,7 +55,7 @@
RELEASE_STATIC_LIB = $(RELEASE_LIBPATH)/$(STATIC_LIB_NAME)
RELEASE_DYNAMIC_LIB = $(RELEASE_LIBPATH)/$(DYNAMIC_LIB_NAME)
- ifeq ($(DARWIN_BUILD),yes)
--LINKD = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB)
-+LINKD = $(CC) -dynamiclib -undefined dynamic_lookup -install_name $(DYNAMIC_LIB)
+ ifeq ($(OS),Darwin)
+- LINKD = $(CC) -dynamiclib -flat_namespace -undefined suppress -install_name $(DYNAMIC_LIB)
++ LINKD = $(CC) -dynamiclib -undefined dynamic_lookup -install_name $(DYNAMIC_LIB)
else
- LINKD = $(CC) -shared
+ LINKD = $(CC) -shared
endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131004/041ec5ba/attachment-0001.html>
More information about the macports-changes
mailing list