Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 15:09:22 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332495 - in head/multimedia/kmplayer-kde4: . files
Message-ID:  <201311021509.rA2F9Ml8021669@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Nov  2 15:09:22 2013
New Revision: 332495
URL: http://svnweb.freebsd.org/changeset/ports/332495

Log:
  multimedia/kmplayer-kde4: update to 0.11.3d
  
  - Update to 0.11.3d
  - Allow staging
  - Add LICENSE
  - Convert lib depends to new format
  
  PR:		ports/183565
  Submitted by:	KATO Tsuguru <tkato432 yahoo.com>

Added:
  head/multimedia/kmplayer-kde4/files/
  head/multimedia/kmplayer-kde4/files/patch-src__kmplayershared.h   (contents, props changed)
Modified:
  head/multimedia/kmplayer-kde4/Makefile
  head/multimedia/kmplayer-kde4/distinfo
  head/multimedia/kmplayer-kde4/pkg-descr
  head/multimedia/kmplayer-kde4/pkg-plist

Modified: head/multimedia/kmplayer-kde4/Makefile
==============================================================================
--- head/multimedia/kmplayer-kde4/Makefile	Sat Nov  2 15:05:30 2013	(r332494)
+++ head/multimedia/kmplayer-kde4/Makefile	Sat Nov  2 15:09:22 2013	(r332495)
@@ -2,32 +2,26 @@
 # $FreeBSD$
 
 PORTNAME=	kmplayer
-PORTVERSION=	0.11.2b
-PORTREVISION=	2
+PORTVERSION=	0.11.3d
 PORTEPOCH=	3
 CATEGORIES=	multimedia audio kde
 MASTER_SITES=	http://kmplayer.kde.org/pkgs/
 PKGNAMESUFFIX=	-kde4
 
-MAINTAINER=	ports@freebsd.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	KDE frontend to Phonon / KDE4
 
-LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
-		cairo.2:${PORTSDIR}/graphics/cairo
+LICENSE=	GPLv2 LGPL21
+LICENSE_COMB=	multi
+
+LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
+		libcairo.so:${PORTSDIR}/graphics/cairo
 RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
 
-USE_GNOME=	gtk20
 USE_BZIP2=	yes
-USES=		cmake
-USE_KDE4=	automoc4 kdehier kdeprefix kdelibs
-USE_QT4=	corelib qmake_build moc_build rcc_build uic_build
-
-NO_STAGE=	yes
-post-patch:
-#Fix build with kdelibs>=4.5.0
-	${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
-		${WRKSRC}/doc/index.docbook
-	${REINPLACE_CMD} -e 's,glib/gthread.h,glib.h,g' \
-		${WRKSRC}/src/npplayer.cpp
+USES=		cmake pkgconfig
+USE_GNOME=	gtk20
+USE_QT4=	corelib moc_build qmake_build rcc_build uic_build
+USE_KDE4=	automoc4 kdelibs kdeprefix
 
 .include <bsd.port.mk>

Modified: head/multimedia/kmplayer-kde4/distinfo
==============================================================================
--- head/multimedia/kmplayer-kde4/distinfo	Sat Nov  2 15:05:30 2013	(r332494)
+++ head/multimedia/kmplayer-kde4/distinfo	Sat Nov  2 15:09:22 2013	(r332495)
@@ -1,2 +1,2 @@
-SHA256 (kmplayer-0.11.2b.tar.bz2) = 27cfdddb55467da1fe2ec2e41d45f426ab14ad44d1f9a9df6289a01b06bf4101
-SIZE (kmplayer-0.11.2b.tar.bz2) = 528616
+SHA256 (kmplayer-0.11.3d.tar.bz2) = 7ebecbc906edcc13e1ae94f4791da80ed4ef73164ef6b81d76c71708c39a6bfb
+SIZE (kmplayer-0.11.3d.tar.bz2) = 573173

Added: head/multimedia/kmplayer-kde4/files/patch-src__kmplayershared.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/kmplayer-kde4/files/patch-src__kmplayershared.h	Sat Nov  2 15:09:22 2013	(r332495)
@@ -0,0 +1,13 @@
+--- src/kmplayershared.h.orig
++++ src/kmplayershared.h
+@@ -214,8 +214,8 @@
+     // operator bool () const { return data && !!data->ptr; }
+     bool operator == (const WeakPtr<T> & w) const { return data == w.data; }
+     bool operator == (const SharedPtr<T> & s) const { return data == s.data; }
+-    bool operator == (const T * t) const { return (!t && !data) || (data && data.ptr == t); }
+-    bool operator == (T * t) const { return (!t && !data) || (data && data.ptr == t); }
++    bool operator == (const T * t) const { return (!t && !data) || (data && data->ptr == t); }
++    bool operator == (T * t) const { return (!t && !data) || (data && data->ptr == t); }
+     bool operator != (const WeakPtr<T> & w) const { return data != w.data; }
+     bool operator != (const SharedPtr<T> & s) const { return data != s.data; }
+     operator T * () { return data ? data->ptr : 0L; }

Modified: head/multimedia/kmplayer-kde4/pkg-descr
==============================================================================
--- head/multimedia/kmplayer-kde4/pkg-descr	Sat Nov  2 15:05:30 2013	(r332494)
+++ head/multimedia/kmplayer-kde4/pkg-descr	Sat Nov  2 15:09:22 2013	(r332495)
@@ -1,3 +1,3 @@
-KDE frontend to MPlayer, Xine, GStreamer
+KMPlayer, a simple frontend for MPlayer/FFMpeg/Phonon.
 
 WWW: http://kmplayer.kde.org/

Modified: head/multimedia/kmplayer-kde4/pkg-plist
==============================================================================
--- head/multimedia/kmplayer-kde4/pkg-plist	Sat Nov  2 15:05:30 2013	(r332494)
+++ head/multimedia/kmplayer-kde4/pkg-plist	Sat Nov  2 15:09:22 2013	(r332495)
@@ -29,16 +29,23 @@ share/icons/hicolor/48x48/apps/kmplayer.
 share/icons/hicolor/64x64/apps/kmplayer.png
 share/icons/hicolor/scalable/apps/kmplayer.svgz
 share/kde4/services/kmplayer_part.desktop
+share/locale/bg/LC_MESSAGES/kmplayer.mo
+share/locale/bs/LC_MESSAGES/kmplayer.mo
+share/locale/ca/LC_MESSAGES/kmplayer.mo
+share/locale/ca@valencia/LC_MESSAGES/kmplayer.mo
 share/locale/cs/LC_MESSAGES/kmplayer.mo
 share/locale/da/LC_MESSAGES/kmplayer.mo
 share/locale/de/LC_MESSAGES/kmplayer.mo
 share/locale/el/LC_MESSAGES/kmplayer.mo
 share/locale/en_GB/LC_MESSAGES/kmplayer.mo
+share/locale/eo/LC_MESSAGES/kmplayer.mo
 share/locale/es/LC_MESSAGES/kmplayer.mo
 share/locale/et/LC_MESSAGES/kmplayer.mo
 share/locale/fr/LC_MESSAGES/kmplayer.mo
 share/locale/ga/LC_MESSAGES/kmplayer.mo
 share/locale/gl/LC_MESSAGES/kmplayer.mo
+share/locale/hr/LC_MESSAGES/kmplayer.mo
+share/locale/hu/LC_MESSAGES/kmplayer.mo
 share/locale/it/LC_MESSAGES/kmplayer.mo
 share/locale/ja/LC_MESSAGES/kmplayer.mo
 share/locale/km/LC_MESSAGES/kmplayer.mo
@@ -56,14 +63,15 @@ share/locale/pt_BR/LC_MESSAGES/kmplayer.
 share/locale/ro/LC_MESSAGES/kmplayer.mo
 share/locale/ru/LC_MESSAGES/kmplayer.mo
 share/locale/sk/LC_MESSAGES/kmplayer.mo
+share/locale/sr/LC_MESSAGES/kmplayer.mo
+share/locale/sr@latin/LC_MESSAGES/kmplayer.mo
 share/locale/sv/LC_MESSAGES/kmplayer.mo
+share/locale/th/LC_MESSAGES/kmplayer.mo
 share/locale/tr/LC_MESSAGES/kmplayer.mo
+share/locale/ug/LC_MESSAGES/kmplayer.mo
 share/locale/uk/LC_MESSAGES/kmplayer.mo
-share/locale/x-test/LC_MESSAGES/kmplayer.mo
 share/locale/zh_CN/LC_MESSAGES/kmplayer.mo
 share/locale/zh_TW/LC_MESSAGES/kmplayer.mo
 @dirrmtry share/doc/HTML/en/kmplayer
 @dirrmtry share/apps/kmplayer/generators
 @dirrmtry share/apps/kmplayer
-@dirrmtry share/locale/x-test/LC_MESSAGES
-@dirrmtry share/locale/x-test



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021509.rA2F9Ml8021669>