aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2015-07-16 04:58:57 +0800
committerpgollucci <pgollucci@FreeBSD.org>2015-07-16 04:58:57 +0800
commit2fd4dd2b3a9be9d1901b18b8e2341664eef69cfb (patch)
treea9b225e69c5b228eec86313e3df18ea237a93f12 /multimedia
parent0c46d5bcaa7ff5f1472eed9d46821be7a952cebb (diff)
downloadfreebsd-ports-gnome-2fd4dd2b3a9be9d1901b18b8e2341664eef69cfb.tar.gz
freebsd-ports-gnome-2fd4dd2b3a9be9d1901b18b8e2341664eef69cfb.tar.zst
freebsd-ports-gnome-2fd4dd2b3a9be9d1901b18b8e2341664eef69cfb.zip
multimedia/umplayer: cleanup
- Add LICENSE. - Add USES=desktop-file-utils. - Replace linguist_build with linguisttools_build. - Strip binary. - Regenerate patch with 'make makepatch'. PR: 201474 Submitted by: s3erios@gmail.com
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/umplayer/Makefile12
-rw-r--r--multimedia/umplayer/files/patch-src_umplayer.cpp6
2 files changed, 12 insertions, 6 deletions
diff --git a/multimedia/umplayer/Makefile b/multimedia/umplayer/Makefile
index 4033298dde3e..ffc529e860bb 100644
--- a/multimedia/umplayer/Makefile
+++ b/multimedia/umplayer/Makefile
@@ -3,18 +3,21 @@
PORTNAME= umplayer
DISTVERSION= 0.97
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia audio kde
MASTER_SITES= LOCAL/wen
MAINTAINER= lichray@gmail.com
COMMENT= Modern front-end for MPlayer (fork of SMPlayer)
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/Copying.txt
+
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
-USES= gmake qmake tar:xz
+USES= desktop-file-utils gmake qmake tar:xz
USE_QT4= gui network xml moc_build rcc_build uic_build \
- linguist_build
+ linguisttools_build
INSTALLS_ICONS= yes
MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR}
QMAKE_ARGS+= "DEFINES+=NO_DEBUG_ON_CONSOLE"
@@ -39,4 +42,7 @@ post-patch:
${WRKSRC}/Makefile
.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
.include <bsd.port.mk>
diff --git a/multimedia/umplayer/files/patch-src_umplayer.cpp b/multimedia/umplayer/files/patch-src_umplayer.cpp
index 374725fe0a97..8eba09485a80 100644
--- a/multimedia/umplayer/files/patch-src_umplayer.cpp
+++ b/multimedia/umplayer/files/patch-src_umplayer.cpp
@@ -1,6 +1,6 @@
---- ./src/umplayer.cpp.orig 2011-03-29 07:43:57.000000000 -0500
-+++ ./src/umplayer.cpp 2011-06-03 01:07:11.292091723 -0500
-@@ -443,13 +443,13 @@ void UMPlayer::showInfo() {
+--- src/umplayer.cpp.orig 2011-09-13 08:33:08 UTC
++++ src/umplayer.cpp
+@@ -447,13 +447,13 @@ void UMPlayer::showInfo() {
.arg(umplayerVersion())
#ifdef Q_OS_LINUX
.arg("Linux")