pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-gstfs Import fuse-gstfs-0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/056d1dc7d83e
branches:  trunk
changeset: 551360:056d1dc7d83e
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Sun Dec 14 06:37:49 2008 +0000

description:
Import fuse-gstfs-0.1.

GSTFS is a filesystem for on-demand transcoding of music files between
different formats.  It utilizes the gstreamer library for conversion so any
formats supported by gstreamer should also be supported by gstfs.  The
filesystem's only requirement is that the gstreamer pipeline begin with a
filesrc with the name "_source" and end with an fdsink with the name "_dest".
The filesystem will automatically substitute the filename and fd number in
these pipelines.

diffstat:

 filesystems/fuse-gstfs/DESCR            |   7 +++++
 filesystems/fuse-gstfs/Makefile         |  39 +++++++++++++++++++++++++++++++++
 filesystems/fuse-gstfs/PLIST            |   7 +++++
 filesystems/fuse-gstfs/distinfo         |   8 ++++++
 filesystems/fuse-gstfs/patches/patch-aa |  21 +++++++++++++++++
 filesystems/fuse-gstfs/patches/patch-ab |   8 ++++++
 filesystems/fuse-gstfs/patches/patch-ac |   8 ++++++
 7 files changed, 98 insertions(+), 0 deletions(-)

diffs (126 lines):

diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/DESCR      Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,7 @@
+GSTFS is a filesystem for on-demand transcoding of music files between
+different formats.  It utilizes the gstreamer library for conversion so any
+formats supported by gstreamer should also be supported by gstfs.  The
+filesystem's only requirement is that the gstreamer pipeline begin with a
+filesrc with the name "_source" and end with an fdsink with the name "_dest".
+The filesystem will automatically substitute the filename and fd number in
+these pipelines.
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/Makefile   Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+#
+
+DISTNAME=      gstfs-0.1
+PKGNAME=       fuse-${DISTNAME}
+CATEGORIES=    filesystems
+MASTER_SITES=  http://bobcopeland.com/gstfs/releases/
+
+MAINTAINER=    bjs%NetBSD.org@localhost
+HOMEPAGE=      http://bobcopeland.com/gstfs/
+COMMENT=       On-demand, transcoding filesystem (using GStreamer pipeline)
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=            pkg-config gmake
+
+DOCDIR=                        ${PREFIX}/share/doc/${PKGBASE}
+EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
+PTHREAD_AUTO_VARS=     yes
+REPLACE_SH=            *.sh
+###
+### XXX pick up the FUSE pkg-config override hook
+###
+do-configure:
+       @${DO_NADA}
+
+do-install:
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+       ${INSTALL_PROGRAM} ${WRKSRC}/gstfs ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/ogg2mp3.sh ${DESTDIR}${EGDIR}
+       ${INSTALL_SCRIPT} ${WRKSRC}/mp32wav.sh ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/PLIST      Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+bin/gstfs
+share/doc/fuse-gstfs/README
+share/examples/fuse-gstfs/mp32wav.sh
+share/examples/fuse-gstfs/ogg2mp3.sh
+@dirrm share/doc/fuse-gstfs
+@dirrm share/examples/fuse-gstfs
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/distinfo   Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+
+SHA1 (gstfs-0.1.tar.gz) = f3184e178f2345077bd5dfcaee774f6bef81bcf2
+RMD160 (gstfs-0.1.tar.gz) = 1c41e7ed8b4b47da880999c75c1448aed389287b
+Size (gstfs-0.1.tar.gz) = 7689 bytes
+SHA1 (patch-aa) = 4c6fac24a962b6d303ceafcc45d2ac48c81f9197
+SHA1 (patch-ab) = 2571dc1d44ef5b89f31ae1258c5631fdf60c1d0e
+SHA1 (patch-ac) = dac5ca16b460c1fe347b44de77c6796e0c14e65b
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/patches/patch-aa   Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+
+--- Makefile.orig      2008-08-31 12:13:53.000000000 -0400
++++ Makefile
+@@ -5,14 +5,14 @@ DISTFILES=*.[ch] *.sh Makefile README CO
+ SRCS=gstfs.c xcode.c
+ OBJS=$(SRCS:.c=.o)
+ 
+-LIBS=-lpthread `pkg-config --libs fuse glib-2.0 gstreamer-0.10`
++LIBS+=`pkg-config --libs fuse glib-2.0 gstreamer-0.10`
+ 
+ CFLAGS+=-g -Wall -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 `pkg-config --cflags fuse glib-2.0 gstreamer-0.10`
+ 
+ all: gstfs
+ 
+ gstfs: $(OBJS)
+-      gcc -o gstfs $(OBJS) $(LIBS)
++      ${CC} -o gstfs $(OBJS) $(LIBS)
+ 
+ clean:
+       $(RM) gstfs *.o
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/patches/patch-ab   Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,8 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+
+--- mp32wav.sh.orig    2008-08-31 12:13:53.000000000 -0400
++++ mp32wav.sh
+@@ -1,2 +1,2 @@
+ #! /bin/sh
+-./gstfs -d -osrc=$1,src_ext=mp3,dst_ext=wav,pipeline="filesrc name=\"_source\" ! decodebin ! audioconvert ! wavenc ! fdsink name=\"_dest\" sync=false" $2
++gstfs -d -osrc=$1,src_ext=mp3,dst_ext=wav,pipeline="filesrc name=\"_source\" ! decodebin ! audioconvert ! wavenc ! fdsink name=\"_dest\" sync=false" $2
diff -r 8335251e8299 -r 056d1dc7d83e filesystems/fuse-gstfs/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-gstfs/patches/patch-ac   Sun Dec 14 06:37:49 2008 +0000
@@ -0,0 +1,8 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/12/14 06:37:49 bjs Exp $
+
+--- ogg2mp3.sh.orig    2008-08-31 12:13:53.000000000 -0400
++++ ogg2mp3.sh
+@@ -1,2 +1,2 @@
+ #! /bin/sh
+-./gstfs -f -osrc=$1,src_ext=ogg,dst_ext=mp3,pipeline="filesrc name=\"_source\" ! oggdemux ! vorbisdec ! audioconvert ! lame bitrate=160 ! fdsink name=\"_dest\" sync=false" $2
++gstfs -f -osrc=$1,src_ext=ogg,dst_ext=mp3,pipeline="filesrc name=\"_source\" ! oggdemux ! vorbisdec ! audioconvert ! lame bitrate=160 ! fdsink name=\"_dest\" sync=false" $2



Home | Main Index | Thread Index | Old Index