Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2013 04:06:23 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180150: [new port] linux libFLAC and libFLAC++
Message-ID:  <201307010406.r6146NQX047862@oldred.freebsd.org>
Resent-Message-ID: <201307010410.r614A0SG084661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180150
>Category:       ports
>Synopsis:       [new port] linux libFLAC and libFLAC++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 04:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mark Johnston
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD raichu 10.0-CURRENT FreeBSD 10.0-CURRENT #28 r+c7933eb: Fri Jun 28 10:33:37 EDT 2013     mark@raichu:/home/mark/src/freebsd-obj/home/mark/src/freebsd/sys/LAPTOP  amd64
>Description:
I created a audio/linux-f10-flac port to provide libFLAC and libFLAC++ for use with linux programs that require it. I've been using it to play Dwarf Fortress on FreeBSD-CURRENT with working sound.

The flac RPM contains a flac executable, but that isn't installed at the moment as I don't expect that it'd be of any use. The Makefile is based of off the linux-f10-libogg makefile and it thus sets MAINTAINER to emulation@. I'm happy to maintain the package myself if needed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/audio/linux-f10-flac/Makefile b/audio/linux-f10-flac/Makefile
new file mode 100644
index 0000000..aec9437
--- /dev/null
+++ b/audio/linux-f10-flac/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	flac
+PORTVERSION=	1.2.1
+CATEGORIES=	audio linux
+MASTER_SITES=	http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Fedora/i386/os/Packages/
+PKGNAMEPREFIX=	linux-f10-
+DISTNAME=	${PORTNAME}-${PORTVERSION}-${RPMVERSION}
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Free lossless audio codec
+
+ONLY_FOR_ARCHS=	i386 amd64
+USE_LINUX_RPM=	yes
+LINUX_DIST_VER=	10
+RPMVERSION=	4.fc9
+USE_LDCONFIG=	yes
+
+PLIST_FILES=	usr/lib/libFLAC.so.8 usr/lib/libFLAC.so.8.2.0 \
+		usr/lib/libFLAC++.so.6 usr/lib/libFLAC++.so.6.2.0
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
+PORTDOCS=	AUTHORS COPYING.* README
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+
+.include <bsd.port.mk>
diff --git a/audio/linux-f10-flac/distinfo.i386 b/audio/linux-f10-flac/distinfo.i386
new file mode 100644
index 0000000..6dcbc52
--- /dev/null
+++ b/audio/linux-f10-flac/distinfo.i386
@@ -0,0 +1,2 @@
+SHA256 (rpm/i386/fedora/10/flac-1.2.1-4.fc9.i386.rpm) = 460fe3ed670f615a4313ef01df269e0e15a097982e580b0c95c73384648cafcf
+SIZE (rpm/i386/fedora/10/flac-1.2.1-4.fc9.i386.rpm) = 314714


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307010406.r6146NQX047862>