diff options
author | pawel <pawel@FreeBSD.org> | 2012-04-28 02:38:33 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-04-28 02:38:33 +0800 |
commit | 3dd6ced84ba42c0c267b44ab8aed7e2fe2e83634 (patch) | |
tree | 944d561c6d363d8e29608caed7640d720390e183 /sysutils | |
parent | 64bf8092e09152acd7ea32cabcefcf069ab7bf78 (diff) | |
download | freebsd-ports-graphics-3dd6ced84ba42c0c267b44ab8aed7e2fe2e83634.tar.gz freebsd-ports-graphics-3dd6ced84ba42c0c267b44ab8aed7e2fe2e83634.tar.zst freebsd-ports-graphics-3dd6ced84ba42c0c267b44ab8aed7e2fe2e83634.zip |
MP3FS is a read-only FUSE filesystem which transcodes audio formats (currently
FLAC) to MP3 on the fly when opened and read. This was written to enable me to
use my FLAC collection with software and/or hardware which only understands
the MP3 format e.g. gmediaserver to a Netgear MP101 MP3 player.
It is also a novel alternative to traditional MP3 encoders. Just use your
favorite file browser to select the files you want encoded and copy them
somewhere!
WWW: https://github.com/khenriks/mp3fs
PR: ports/165337
Submitted by: Stefan Rumetshofer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/fusefs-mp3fs/Makefile | 29 | ||||
-rw-r--r-- | sysutils/fusefs-mp3fs/distinfo | 2 | ||||
-rw-r--r-- | sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c | 12 | ||||
-rw-r--r-- | sysutils/fusefs-mp3fs/pkg-descr | 10 |
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 71f8deccaf6..01627a006bf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -281,6 +281,7 @@ SUBDIR += fusefs-kmod SUBDIR += fusefs-libs SUBDIR += fusefs-mhddfs + SUBDIR += fusefs-mp3fs SUBDIR += fusefs-ntfs SUBDIR += fusefs-pod SUBDIR += fusefs-rar2fs diff --git a/sysutils/fusefs-mp3fs/Makefile b/sysutils/fusefs-mp3fs/Makefile new file mode 100644 index 00000000000..ecb2a3b5201 --- /dev/null +++ b/sysutils/fusefs-mp3fs/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: fusefs-mp3fs +# Date created: 18 Feb 2012 +# Whom: Stefan Rumetshofer +# $FreeBSD$ +# + +PORTNAME= mp3fs +PORTVERSION= 0.31 +CATEGORIES= sysutils audio +MASTER_SITES= https://github.com/downloads/khenriks/${PORTNAME}/ +PKGNAMEPREFIX= fusefs- + +MAINTAINER= sterum@overrider.at +COMMENT= FUSE-based filesystem for transcoding flac to mp3 + +LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs\ + mp3lame.0:${PORTSDIR}/audio/lame\ + FLAC.10:${PORTSDIR}/audio/flac\ + id3tag.0:${PORTSDIR}/audio/libid3tag +RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod + +FETCH_CMD= fetch -Fpr + +CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include +GNU_CONFIGURE= yes +MAN1= mp3fs.1 +PLIST_FILES= bin/mp3fs + +.include <bsd.port.mk> diff --git a/sysutils/fusefs-mp3fs/distinfo b/sysutils/fusefs-mp3fs/distinfo new file mode 100644 index 00000000000..85bc3a945b2 --- /dev/null +++ b/sysutils/fusefs-mp3fs/distinfo @@ -0,0 +1,2 @@ +SHA256 (mp3fs-0.31.tar.gz) = fdfe1f4936f49191f55ac9546231ef26e4e99a8bfdf4f7a14122b57667ee9799 +SIZE (mp3fs-0.31.tar.gz) = 105735 diff --git a/sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c b/sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c new file mode 100644 index 00000000000..82ca382745c --- /dev/null +++ b/sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c @@ -0,0 +1,12 @@ +--- src/mp3fs.c 2012-02-18 20:55:29.000000000 +0100 ++++ src/mp3fs.c 2012-02-17 21:06:13.000000000 +0100 +@@ -38,6 +38,9 @@ + + #include "transcode.h" + ++#define S_ISLNK(m) (((m) & 0170000) == 0120000) /* symbolic link */ ++#define S_ISSOCK(m) (((m) & 0170000) == 0140000) ++ + struct mp3fs_params params = { + .basepath = NULL, + .bitrate = 128, diff --git a/sysutils/fusefs-mp3fs/pkg-descr b/sysutils/fusefs-mp3fs/pkg-descr new file mode 100644 index 00000000000..e8da850eb39 --- /dev/null +++ b/sysutils/fusefs-mp3fs/pkg-descr @@ -0,0 +1,10 @@ +MP3FS is a read-only FUSE filesystem which transcodes audio formats (currently +FLAC) to MP3 on the fly when opened and read. This was written to enable me to +use my FLAC collection with software and/or hardware which only understands +the MP3 format e.g. gmediaserver to a Netgear MP101 MP3 player. + +It is also a novel alternative to traditional MP3 encoders. Just use your +favorite file browser to select the files you want encoded and copy them +somewhere! + +WWW: https://github.com/khenriks/mp3fs |