pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/filesystems/fuse-mp3fs Initial import of fuse-mp3fs-0.13:
details: https://anonhg.NetBSD.org/pkgsrc/rev/41ebfb400da2
branches: trunk
changeset: 395923:41ebfb400da2
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jul 16 14:54:02 2009 +0000
description:
Initial import of fuse-mp3fs-0.13:
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 using a FLAC collection with software and/or
hardware which only understands MP3.
It is also a novel alternative to traditional MP3 encoder applications.
Just use your favorite file browser to select the files you want
encoded and copy them somewhere!
diffstat:
filesystems/fuse-mp3fs/DESCR | 8 ++++++
filesystems/fuse-mp3fs/Makefile | 27 +++++++++++++++++++++
filesystems/fuse-mp3fs/PLIST | 3 ++
filesystems/fuse-mp3fs/distinfo | 7 +++++
filesystems/fuse-mp3fs/patches/patch-aa | 42 +++++++++++++++++++++++++++++++++
filesystems/fuse-mp3fs/patches/patch-ab | 12 +++++++++
6 files changed, 99 insertions(+), 0 deletions(-)
diffs (123 lines):
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/DESCR Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,8 @@
+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 using a FLAC collection with software and/or
+hardware which only understands MP3.
+
+It is also a novel alternative to traditional MP3 encoder applications.
+Just use your favorite file browser to select the files you want
+encoded and copy them somewhere!
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/Makefile Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+#
+
+DISTNAME= mp3fs-0.13
+PKGNAME= fuse-${DISTNAME}
+CATEGORIES= filesystems
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3fs/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://mp3fs.sourceforge.net/
+COMMENT= MP3 transcoding FUSE file system
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS= pkg-config
+
+INSTALLATION_DIRS= share/doc/fuse-mp3fs
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fuse-mp3fs
+
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/PLIST Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+bin/mp3fs
+share/doc/fuse-mp3fs/README
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/distinfo Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+
+SHA1 (mp3fs-0.13.tar.gz) = b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74
+RMD160 (mp3fs-0.13.tar.gz) = 6ad1126ee22b35fe4987dd6addbc41a25c74a508
+Size (mp3fs-0.13.tar.gz) = 301642 bytes
+SHA1 (patch-aa) = 7fb2cfc0fa9d3afcd42a98cd73f5834f94245141
+SHA1 (patch-ab) = 9b259b045decb4556dd72eeb65e0275554a93b6f
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/patches/patch-aa Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+
+--- src/mp3fs.c.orig 2008-12-14 05:17:35.000000000 +0000
++++ src/mp3fs.c
+@@ -30,7 +30,11 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <errno.h>
++#ifdef __NetBSD__
++#include <sys/statvfs.h>
++#else
+ #include <sys/statfs.h>
++#endif
+
+ #include "transcode.h"
+ #include "talloc.h"
+@@ -195,7 +199,12 @@ static int mp3fs_read(const char *path,
+ return f->Read(f, buf, offset, size);
+ }
+
+-static int mp3fs_statfs(const char *path, struct statfs *stbuf) {
++#ifdef __NetBSD__
++static int mp3fs_statfs(const char *path, struct statvfs *stbuf)
++#else
++static int mp3fs_statfs(const char *path, struct statfs *stbuf)
++#endif
++{
+ int res;
+ char name[256];
+
+@@ -204,7 +213,11 @@ static int mp3fs_statfs(const char *path
+ strncpy(name, basepath, sizeof(name));
+ strncat(name, path, sizeof(name) - strlen(name));
+
++#ifdef __NetBSD__
++ res = statvfs(name, stbuf);
++#else
+ res = statfs(name, stbuf);
++#endif
+ if(res == -1)
+ return -errno;
+
diff -r 3cb2a8b6e2c5 -r 41ebfb400da2 filesystems/fuse-mp3fs/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-mp3fs/patches/patch-ab Thu Jul 16 14:54:02 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
+
+--- src/transcode.c.orig 2008-12-14 05:24:21.000000000 +0000
++++ src/transcode.c
+@@ -24,7 +24,6 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <errno.h>
+-#include <sys/statfs.h>
+
+ #include <FLAC/metadata.h>
+ #ifdef LEGACY_FLAC
Home |
Main Index |
Thread Index |
Old Index