View | Details | Raw Unified | Return to bug 266575 | Differences between
and this patch

Collapse All | Expand All

(-)b/audio/flac/Makefile (-31 / +24 lines)
Lines 1-7 Link Here
1
PORTNAME=	flac
1
PORTNAME=	flac
2
PORTVERSION=	1.3.4
2
DISTVERSION=	1.4.1
3
CATEGORIES=	audio
3
CATEGORIES=	audio
4
MASTER_SITES=	https://downloads.xiph.org/releases/flac/ \
4
MASTER_SITES=	https://github.com/xiph/${PORTNAME}/releases/download/${DISTVERSION}/ \
5
		https://ftp.osuosl.org/pub/xiph/releases/flac/
5
		https://ftp.osuosl.org/pub/xiph/releases/flac/
6
6
7
MAINTAINER=	naddy@FreeBSD.org
7
MAINTAINER=	naddy@FreeBSD.org
Lines 15-50 LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.FDL Link Here
15
15
16
LIB_DEPENDS=	libogg.so:audio/libogg
16
LIB_DEPENDS=	libogg.so:audio/libogg
17
17
18
USES=		compiler:c11 cpe iconv libtool pathfix pkgconfig tar:xz
18
USES=		cmake:testing compiler:c11 cpe gettext-runtime iconv \
19
19
		pathfix pkgconfig tar:xz
20
CPE_VENDOR=	flac_project
20
CPE_VENDOR=	flac_project
21
22
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
23
GNU_CONFIGURE=	yes
22
24
CONFIGURE_ARGS=	--enable-static \
23
EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 ${TAR}
25
		--disable-sse \
24
26
		--with-ogg="${LOCALBASE}" \
25
# Disable tests that fails to run as root
27
		--disable-doxygen-docs \
26
CMAKE_ARGS=	-DCMAKE_CTEST_ARGUMENTS="-E;libFLAC"
28
		--disable-thorough-tests \
27
CMAKE_OFF=	BUILD_DOCS BUILD_TESTING
29
		--disable-xmms-plugin
28
CMAKE_ON=	BUILD_SHARED_LIBS
30
INSTALL_TARGET=	install-strip
29
31
TEST_TARGET=	check
30
OPTIONS_DEFINE=		LTO
32
31
OPTIONS_DEFINE_i386=	SSE2
33
OPTIONS_DEFINE=	DOCS
32
OPTIONS_DEFAULT_aarch64=LTO
34
33
OPTIONS_DEFAULT_amd64=	LTO
35
.include <bsd.port.options.mk>
34
OPTIONS_DEFAULT_i386=	LTO
36
35
37
.if ${ARCH} == "i386"
36
SSE2_DESC=		Use SSE2 optimized routines
38
BUILD_DEPENDS+=	nasm:devel/nasm
37
39
.endif
38
SSE2_BUILD_DEPENDS=	nasm:devel/nasm
40
39
SSE2_CMAKE_BOOL=	WITH_SSE
41
.if ${ARCH} != powerpc64le
40
42
CONFIGURE_ARGS+=--disable-vsx
41
LTO_CFLAGS=		-flto
43
.endif
44
45
post-install:
46
	${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' \
47
	    ${STAGEDIR}${PREFIX}/man/man1/flac.1
48
	${RM} ${STAGEDIR}${PREFIX}/man/man1/flac.1.bak
49
42
50
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)b/audio/flac/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1645726425
1
TIMESTAMP = 1663868006
2
SHA256 (flac-1.3.4.tar.xz) = 8ff0607e75a322dd7cd6ec48f4f225471404ae2730d0ea945127b1355155e737
2
SHA256 (flac-1.4.1.tar.xz) = 91303c3e5dfde52c3e94e75976c0ab3ee14ced278ab8f60033a3a12db9209ae6
3
SIZE (flac-1.3.4.tar.xz) = 1038356
3
SIZE (flac-1.4.1.tar.xz) = 1024160
(-)a/audio/flac/files/patch-man_flac.1 (-11 lines)
Removed Link Here
1
--- man/flac.1.orig	2014-11-25 03:40:14 UTC
2
+++ man/flac.1
3
@@ -384,7 +384,7 @@ These flags can be used to invert the se
4
 .PP
5
 metaflac(1)
6
 .PP
7
-The programs are documented fully by HTML format documentation, available in \fI/usr/share/doc/libflac-doc/html\fR on Debian GNU/Linux systems.
8
+The programs are documented fully by HTML format documentation, available in \fI%%PREFIX%%/share/doc/flac/html\fR.
9
 .SH "AUTHOR"
10
 .PP
11
 This manual page was initially written by Matt Zimmerman <mdz@debian.org> for the Debian GNU/Linux system (but may be used by others). It has been kept up-to-date by the Xiph.org Foundation.
(-)b/audio/flac/pkg-plist (-31 / +10 lines)
Lines 14-51 include/FLAC/metadata.h Link Here
14
include/FLAC/ordinals.h
14
include/FLAC/ordinals.h
15
include/FLAC/stream_decoder.h
15
include/FLAC/stream_decoder.h
16
include/FLAC/stream_encoder.h
16
include/FLAC/stream_encoder.h
17
lib/libFLAC++.a
17
lib/cmake/FLAC/flac-config-version.cmake
18
lib/cmake/FLAC/flac-config.cmake
19
lib/cmake/FLAC/targets-%%CMAKE_BUILD_TYPE%%.cmake
20
lib/cmake/FLAC/targets.cmake
18
lib/libFLAC++.so
21
lib/libFLAC++.so
19
lib/libFLAC++.so.6
22
lib/libFLAC++.so.10
20
lib/libFLAC++.so.6.3.0
23
lib/libFLAC++.so.10.0.0
21
lib/libFLAC.a
22
lib/libFLAC.so
24
lib/libFLAC.so
23
lib/libFLAC.so.8
25
lib/libFLAC.so.12
24
lib/libFLAC.so.8.3.0
26
lib/libFLAC.so.12.0.0
25
libdata/pkgconfig/flac++.pc
27
libdata/pkgconfig/flac++.pc
26
libdata/pkgconfig/flac.pc
28
libdata/pkgconfig/flac.pc
27
man/man1/flac.1.gz
29
share/man/man1/flac.1.gz
28
man/man1/metaflac.1.gz
30
share/man/man1/metaflac.1.gz
29
share/aclocal/libFLAC++.m4
30
share/aclocal/libFLAC.m4
31
%%PORTDOCS%%%%DOCSDIR%%/FLAC.tag
32
%%PORTDOCS%%%%DOCSDIR%%/changelog.html
33
%%PORTDOCS%%%%DOCSDIR%%/developers.html
34
%%PORTDOCS%%%%DOCSDIR%%/documentation.html
35
%%PORTDOCS%%%%DOCSDIR%%/documentation_bugs.html
36
%%PORTDOCS%%%%DOCSDIR%%/documentation_example_code.html
37
%%PORTDOCS%%%%DOCSDIR%%/documentation_format_overview.html
38
%%PORTDOCS%%%%DOCSDIR%%/documentation_tools.html
39
%%PORTDOCS%%%%DOCSDIR%%/documentation_tools_flac.html
40
%%PORTDOCS%%%%DOCSDIR%%/documentation_tools_metaflac.html
41
%%PORTDOCS%%%%DOCSDIR%%/faq.html
42
%%PORTDOCS%%%%DOCSDIR%%/favicon.ico
43
%%PORTDOCS%%%%DOCSDIR%%/features.html
44
%%PORTDOCS%%%%DOCSDIR%%/flac.css
45
%%PORTDOCS%%%%DOCSDIR%%/format.html
46
%%PORTDOCS%%%%DOCSDIR%%/id.html
47
%%PORTDOCS%%%%DOCSDIR%%/images/logo.svg
48
%%PORTDOCS%%%%DOCSDIR%%/images/logo130.gif
49
%%PORTDOCS%%%%DOCSDIR%%/index.html
50
%%PORTDOCS%%%%DOCSDIR%%/license.html
51
%%PORTDOCS%%%%DOCSDIR%%/ogg_mapping.html

Return to bug 266575