ports/99390: [NEW PORT] audio/ruby-xmms2-ecore: Ruby ecore mainloop bindings for XMMS2
Alexander Botero-Lowry
alex at foxybanana.com
Fri Jun 23 20:20:19 UTC 2006
>Number: 99390
>Category: ports
>Synopsis: [NEW PORT] audio/ruby-xmms2-ecore: Ruby ecore mainloop bindings for XMMS2
>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: Fri Jun 23 20:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Alexander Botero-Lowry
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #5: Fri Jun 16 22:55:11 CDT 2006 root at Laptop.mine.box:/usr/src/sys/i386/compile/LAPTOP i386
>Description:
ports/99318 requires that we have the ecore mainloop bindings for
ruby for xmms2. So to make life easier on the submitter I made the patch
myself, since I know audio/xmms2 better.
Some patching against audio/xmms2 was necessary and is included.
>How-To-Repeat:
>Fix:
--- ruby-xmms2-ecore.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# ruby-xmms2-ecore
# ruby-xmms2-ecore/Makefile
# ruby-xmms2-ecore/pkg-plist
#
echo c - ruby-xmms2-ecore
mkdir -p ruby-xmms2-ecore > /dev/null 2>&1
echo x - ruby-xmms2-ecore/Makefile
sed 's/^X//' >ruby-xmms2-ecore/Makefile << 'END-of-ruby-xmms2-ecore/Makefile'
X# New ports collection makefile for: ruby-xmms2-ecore
X# Date created: 23 Jun 2006
X# Whom: Alexander Botero-Lowry <alex at foxybanana.com>
X#
X# $FreeBSD$
X#
X
XCATEGORIES= audio ruby
XPKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
XPKGNAMESUFFIX= -ecore
X
XMAINTAINER= alex at foxybanana.com
XCOMMENT= Ruby ecore mainloop bindings for XMMS2
X
XBUILD_DEPENDS+= ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
XRUN_DEPENDS+= ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
X
XMASTERDIR= ${.CURDIR}/../xmms2
X
XUSE_RUBY= yes
XUSE_GNOME= glib20
XUSE_LDCONFIG= yes
X
XPLIST= ${.CURDIR}/pkg-plist
X
XSCONS_TARGET= src/clients/lib/xmmsclient-ecore/xmmsclient_ecore.so \
X src/clients/lib/ruby/xmmsclient_ecore.so
XXMMS2_SLAVE= ruby-ecore
X
Xdo-install:
X @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
X src/clients/lib/ruby/xmmsclient_ecore.so \
X ${RUBY_SITEARCHLIBDIR}/xmmsclient_ecore.so
X @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
X src/clients/lib/xmmsclient-ecore/xmmsclient_ecore.so
X ${LOCALBASE}/lib/xmmsclient_ecore.so
X
X
X.include "${MASTERDIR}/Makefile"
END-of-ruby-xmms2-ecore/Makefile
echo x - ruby-xmms2-ecore/pkg-plist
sed 's/^X//' >ruby-xmms2-ecore/pkg-plist << 'END-of-ruby-xmms2-ecore/pkg-plist'
X%%RUBY_SITEARCHLIBDIR%%/xmmsclient_ecore.so
Xlib/xmmsclient_ecore.so
END-of-ruby-xmms2-ecore/pkg-plist
exit
--- ruby-xmms2-ecore.shar ends here ---
--- xmms2master_ruby-ecore.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/xmms2/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile 24 May 2006 22:07:58 -0000 1.11
+++ Makefile 23 Jun 2006 20:06:06 -0000
@@ -65,6 +65,9 @@
EXCLUDE+= ruby java
.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby"
EXCLUDE+= python java
+.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "ruby-ecore"
+EXCLUDE+= python java
+WITH_ECORE= yes
.elif defined(XMMS2_SLAVE) && ${XMMS2_SLAVE} == "java"
EXCLUDE+= ruby python
.elif !defined(XMMS2_SLAVE)
@@ -72,7 +75,7 @@
.endif
.if defined(WITH_ECORE)
-LIB_DEPENDS+= lecore.1:${PORTSDIR}/x11/ecore
+LIB_DEPENDS+= ecore.1:${PORTSDIR}/x11/ecore
PLIST_SUB+= ECORE=""
.else
EXCLUDE+= xmmsclient-ecore
--- xmms2master_ruby-ecore.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list