aboutsummaryrefslogtreecommitdiff
path: root/audio/gmtp
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2021-02-03 17:03:33 +0000
committerJason E. Hale <jhale@FreeBSD.org>2021-02-03 17:03:33 +0000
commit61b3ac4d5b4000f2ae8f6b798fe358423b012828 (patch)
treee18631f22b3d5fd321255b7d62172d261a4cf2a4 /audio/gmtp
parentf05085beb9da67b9ddd4e99dd089fad08c88c36d (diff)
downloadports-61b3ac4d5b4000f2ae8f6b798fe358423b012828.tar.gz
ports-61b3ac4d5b4000f2ae8f6b798fe358423b012828.zip
audio/gmtp: Update to 1.3.11
Add temporary workaround to fix linking with Clang >= 11 and GCC >= 10 Install license with the license framework instead of listing in PORTDOCS and convert to UNIX style newline PR: 244712 Submitted by: <lgfbsd@be-well.ilk.org> (maintainer) MFH: 2021Q1 (build fix)
Notes
Notes: svn path=/head/; revision=563899
Diffstat (limited to 'audio/gmtp')
-rw-r--r--audio/gmtp/Makefile17
-rw-r--r--audio/gmtp/distinfo6
2 files changed, 16 insertions, 7 deletions
diff --git a/audio/gmtp/Makefile b/audio/gmtp/Makefile
index 0d2dccce0648..f35377871c60 100644
--- a/audio/gmtp/Makefile
+++ b/audio/gmtp/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= gmtp
-PORTVERSION= 1.3.10
+PORTVERSION= 1.3.11
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/gMTP-${PORTVERSION}/
@@ -9,17 +9,26 @@ MAINTAINER= freebsd-ports-local@be-well.ilk.org
COMMENT= Media Transfer Protocol (MTP) GUI client
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmtp.so:multimedia/libmtp \
libid3tag.so:audio/libid3tag \
libFLAC.so:audio/flac \
libvorbis.so:audio/libvorbis
-GNU_CONFIGURE= yes
-USES= gmake gnome localbase pkgconfig
+USES= dos2unix gmake gnome localbase pkgconfig
+DOS2UNIX_FILES= COPYING
USE_GNOME= cairo gdkpixbuf2 glib20
-PORTDOCS= AUTHORS COPYING ChangeLog README
+GNU_CONFIGURE= yes
+
+# PR: 244712
+# Workaround to fix linking with Clang >= 11 and GCC >= 10 which both set
+# -fno-common by default. Upstream seems to have resolved this issue, so this
+# line should be removed when updating to the next release.
+CFLAGS+= -fcommon
+
+PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_RADIO= GTK
diff --git a/audio/gmtp/distinfo b/audio/gmtp/distinfo
index 053aa5342b61..c97a4d789507 100644
--- a/audio/gmtp/distinfo
+++ b/audio/gmtp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481173948
-SHA256 (gmtp-1.3.10.tar.gz) = b21b9a8e66ae7bb09fc70ac7e317a0e32aff3917371a7241dea73c41db1dd13b
-SIZE (gmtp-1.3.10.tar.gz) = 496912
+TIMESTAMP = 1612281783
+SHA256 (gmtp-1.3.11.tar.gz) = 5a830c9c448aa2caf7a844aaa9ba38c2ac0239547366c1e6874e0080bd5f0613
+SIZE (gmtp-1.3.11.tar.gz) = 498198