aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2016-11-28 01:00:08 +0800
committerdbn <dbn@FreeBSD.org>2016-11-28 01:00:08 +0800
commitde8be9930a39a62799c90cfbe165ac5495074746 (patch)
treed47ccdb7a554ac0b8b8399fa8a240b8f4abf36ad /audio
parent15f0e3bb987368438da100ecc38eabd8352189be (diff)
downloadfreebsd-ports-gnome-de8be9930a39a62799c90cfbe165ac5495074746.tar.gz
freebsd-ports-gnome-de8be9930a39a62799c90cfbe165ac5495074746.tar.zst
freebsd-ports-gnome-de8be9930a39a62799c90cfbe165ac5495074746.zip
USES=mono: simplify EXTRACT_ONLY, fix nuget-extract [1]
- Instead of excluding the specific packages added to DISTFILES (but only for FreeBSD 9+), exclude all files with a '.nupkg' extension. - Move the nuget-extract command to be before post-extract, to allow the port's post-extract command to move packages around audio/libgpod-sharp: add port for mono bindings for libgpod - audio/libgpod: [2] - USE_GNOME: add missing dependency - Remove mono files from pkg-plist (now in audio/libgpod-sharp) - Allow relevant variables to be overridden - Fix MONO options - Patch source to allow building with modern mono - Avoid post-install target for slave ports. devel/monodevelop: update to 4.6.2.7 - Update nuget package Fantomas to 2.4.0 (latest at time of monodevelop's release). - Downgrade nuget package FSharp.Compiler.CodeDom (per paket's specification) - LICENSE: Add license of LGPL21 - LICENSE_FILE: Add license file from source - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases) games/openra: simplify post-extract [3] - USES=mono:nuget allow overridding of NUGET_PACKAGEDIR - Set NUGET_PACKAGEDIR to correct location, fix patching accordingly lang/fsharp: update to 4.6.2.7 ChangeLog: - Fix #639: Problems with F# scripts on Mono - Fix FSharp.Compiler.Tools targets for .NET Core usage - Fix FSharp.Compiler.Tools package dependencies lang/mono: update to 4.6.2.7 Mono 4.6.2 is the 1st service release to the 4.6 series. Changes: - LICENSE: Add license of MIT - LICENSE_FILE: Add license file from source - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases) Bug fixes: - #44708 - "TrustFailure (The authentication or decryption has failed.) ... Invalid certificate received from server." with "Error code: 0x5" or "Error code: 0xffffffff800b010f" when attempting to access HTTPS servers on ports other than 443 - #39832 - SIGSEGV when running roslyn multimedia/banshee: bump port revision. - Update missing port dependencies - Convert to use option helpers - OPTIONS: Add APPLEDEV (missing dependency added) - LICENSE: Add MIT license - LICENSE_FILE: Add license file from source - PORTSCOUT: Skip alpha release (2.9.1) x11-toolkits/gnome-sharp20: fix port dependencies - Add missing dependencies - Convert post-patch to shebangfix - LICENSE: add LGPL21 license - LICENSE_FILE: use license file from source - MKAE_JOBS_UNSAFE: remove, does appear to work x11-toolkits/gtk-sharp20: update to 2.12.42. PR: 214680 [2] PR: 214681 Suggested by: jbeich [1] Submitted by: jbeich [3] Approved by: avilla (maintainer; timeout) [2]
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/libgpod-sharp/Makefile22
-rw-r--r--audio/libgpod-sharp/pkg-plist6
-rw-r--r--audio/libgpod/Makefile17
-rw-r--r--audio/libgpod/pkg-plist6
5 files changed, 39 insertions, 13 deletions
diff --git a/audio/Makefile b/audio/Makefile
index c89895e7944b..730e9bb1598d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -378,6 +378,7 @@
SUBDIR += libgig
SUBDIR += libgme
SUBDIR += libgpod
+ SUBDIR += libgpod-sharp
SUBDIR += libgroove
SUBDIR += libid3tag
SUBDIR += libkcddb
diff --git a/audio/libgpod-sharp/Makefile b/audio/libgpod-sharp/Makefile
new file mode 100644
index 000000000000..45828fc49b8a
--- /dev/null
+++ b/audio/libgpod-sharp/Makefile
@@ -0,0 +1,22 @@
+# Created by: David Naylor <dbn@FreeBSD.org>
+# $FreeBSD$
+
+PKGNAMESUFFIX= -sharp
+
+MAINTAINER= mono@FreeBSD.org
+COMMENT= .Net bindings for the libgpod library
+
+RUN_DEPENDS= ${LOCALBASE}/lib/libgpod.so:audio/libgpod
+
+OPTIONS_EXCLUDE=DOCS IMOBILE PYTHON
+OPTIONS_SLAVE= MONO
+
+BUILD_WRKSRC= ${WRKSRC}/bindings/mono
+INSTALL_WRKSRC= ${WRKSRC}/bindings/mono
+
+SLAVE_PORT= yes
+MASTERDIR= ${.CURDIR}/../libgpod
+
+PLIST= ${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"
diff --git a/audio/libgpod-sharp/pkg-plist b/audio/libgpod-sharp/pkg-plist
new file mode 100644
index 000000000000..9afc3dbf364a
--- /dev/null
+++ b/audio/libgpod-sharp/pkg-plist
@@ -0,0 +1,6 @@
+lib/libgpod/libgpod-sharp-test.exe
+lib/libgpod/libgpod-sharp-test.exe.mdb
+lib/libgpod/libgpod-sharp.dll
+lib/libgpod/libgpod-sharp.dll.config
+lib/libgpod/libgpod-sharp.dll.mdb
+libdata/pkgconfig/libgpod-sharp.pc
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index 75810787df5e..d6d44175b99b 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -7,8 +7,8 @@ PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
-MAINTAINER= avilla@FreeBSD.org
-COMMENT= Library for direct access to iPod contents
+MAINTAINER?= avilla@FreeBSD.org
+COMMENT?= Library for direct access to iPod contents
LICENSE= LGPL20
@@ -21,12 +21,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-udev --without-hal \
--with-html-dir="${DOCSDIR:H}"
USE_CSTD= gnu89
-USE_GNOME= gdkpixbuf2 gtk20 intltool
+USE_GNOME= gdkpixbuf2 gtk20 intltool libxml2
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOCS IMOBILE PYTHON # MONO
+OPTIONS_DEFINE= DOCS IMOBILE PYTHON MONO
OPTIONS_DEFAULT=IMOBILE
+OPTIONS_EXCLUDE?= MONO
OPTIONS_SUB= yes
IMOBILE_DESC= Apple iPhone/iPod Touch support
@@ -35,11 +36,8 @@ IMOBILE_LIB_DEPENDS= libimobiledevice.so:comms/libimobiledevice
IMOBILE_CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
IMOBILE_CONFIGURE_WITH= libimobiledevice
-# Mono 4+ doesn't seem to be supported.
MONO_USE= GNOME=gtksharp20
MONO_CONFIGURE_WITH= mono
-CONFIGURE_ARGS+= --without-mono
-PLIST_SUB+= MONO="@comment "
PYTHON_BUILD_DEPENDS= swig2.0:devel/swig20 \
${PYTHON_SITELIBDIR}/mutagen/__init__.py:audio/py-mutagen
@@ -57,9 +55,14 @@ PORTDOCS= ChangeLog NEWS README*
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
.endif
+post-patch-MONO-on:
+ ${REINPLACE_CMD} 's/gmcs/mcs/g' ${WRKSRC}/configure ${WRKSRC}/m4/mono.m4
+
+.if ${SLAVE_PORT} == no
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/ipod-time-sync \
${STAGEDIR}${PREFIX}/bin
+.endif
post-install-MONO-off:
@${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc
diff --git a/audio/libgpod/pkg-plist b/audio/libgpod/pkg-plist
index bbc206543c5a..a233fcad89d1 100644
--- a/audio/libgpod/pkg-plist
+++ b/audio/libgpod/pkg-plist
@@ -5,11 +5,6 @@ lib/libgpod.a
lib/libgpod.so
lib/libgpod.so.4
lib/libgpod.so.4.3.2
-%%MONO%%lib/libgpod/libgpod-sharp-test.exe
-%%MONO%%lib/libgpod/libgpod-sharp-test.exe.mdb
-%%MONO%%lib/libgpod/libgpod-sharp.dll
-%%MONO%%lib/libgpod/libgpod-sharp.dll.config
-%%MONO%%lib/libgpod/libgpod-sharp.dll.mdb
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/__init__.pyo
@@ -24,7 +19,6 @@ lib/libgpod.so.4.3.2
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/gpod/ipod.pyo
libdata/pkgconfig/libgpod-1.0.pc
-%%MONO%%libdata/pkgconfig/libgpod-sharp.pc
%%PORTDOCS%%%%DOCSDIR%%/ch01.html
%%PORTDOCS%%%%DOCSDIR%%/home.png
%%PORTDOCS%%%%DOCSDIR%%/index.html