forked from Lainports/freebsd-ports
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. WWW: http://bobcopeland.com/gstfs/ PR: ports/129984 Submitted by: Dennis Herrmann <adox at mcx2.org>
41 lines
992 B
Makefile
41 lines
992 B
Makefile
# New ports collection makefile for: fusefs-gstfs
|
|
# Date created: 2008-12-26
|
|
# Whom: Dennis Herrmann <adox@mcx2.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gstfs
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://bobcopeland.com/gstfs/releases/ \
|
|
http://mirror.mcx2.org/
|
|
PKGNAMEPREFIX= fusefs-
|
|
|
|
MAINTAINER= adox@mcx2.org
|
|
COMMENT= On-demand, transcoding filesystem (using GStreamer pipeline)
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
|
|
|
|
USE_GNOME= pkgconfig
|
|
USE_GSTREAMER= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= ogg2mp3.sh mp32wav.sh
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|