On [11/04/18] [02:58P], Marc Espie wrote:
On Wed, Apr 11, 2018 at 04:53:23PM +0200, Gonzalo L. Rodriguez wrote:
On [11/04/18] [02:01P], Vadim Zhukov wrote:
>2018-04-11 16:46 GMT+03:00 Giovanni Bechis <[email protected]>:
>>On 04/11/18 15:31, Gonzalo L. Rodriguez wrote:
>>>Hello,
>>>
>>>Moving SMPlayer from mplayer to mpv.
>>>
>>at least I would change COMMENT accordingly
>
>If SMPlayer can use any of mplayer and mpv, why not to use some Ports
>black magic?
>
>RUN_DEPENDS = mpv-*|mplayer-*:multimedia/mpv
>
>--
> WBR,
> Vadim Zhukov
>
New diff with black magic and mplayer love.
OK?
--
Sending from my toaster.
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile 4 Apr 2018 07:14:15 -0000 1.47
+++ Makefile 11 Apr 2018 14:50:28 -0000
@@ -3,7 +3,7 @@
COMMENT = complete front-end for MPlayer
DISTNAME = smplayer-18.3.0
-
+REVISION = 0
CATEGORIES = multimedia x11
HOMEPAGE = http://smplayer.sourceforge.net/
@@ -22,7 +22,7 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORG
EXTRACT_SUFX = .tar.bz2
MODULES = x11/qt5
-RUN_DEPENDS = x11/mplayer>=20090708 \
+RUN_DEPENDS = mpv-*|mplayer>=20090708:multimedia/mpv \
devel/desktop-file-utils \
x11/gtk+3,-guic
No. Read on package specs.
You want mplayer->=20090708
then it's okay.
whoops, ok, also with the COMMENT modification suggested by Giovanni
--
Sending from my toaster.
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile 4 Apr 2018 07:14:15 -0000 1.47
+++ Makefile 11 Apr 2018 15:03:56 -0000
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.47 2018/04/04 07:14:15 gonzalo Exp $
-COMMENT = complete front-end for MPlayer
+COMMENT = complete front-end for MPlayer and MPV
DISTNAME = smplayer-18.3.0
-
+REVISION = 0
CATEGORIES = multimedia x11
HOMEPAGE = http://smplayer.sourceforge.net/
@@ -22,7 +22,7 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORG
EXTRACT_SUFX = .tar.bz2
MODULES = x11/qt5
-RUN_DEPENDS = x11/mplayer>=20090708 \
+RUN_DEPENDS = mpv-*|mplayer->=20090708:multimedia/mpv \
devel/desktop-file-utils \
x11/gtk+3,-guic