On Fri, 10 Dec 2021 at 18:57:17 +0100, Gonzalo L. Rodriguez wrote:
> On Thu, 09 Dec 2021 at 16:53:50 -0500, Josh Grosse wrote:
> > On Thu, Dec 09, 2021 at 03:53:52PM +0100, Gonzalo L. Rodriguez wrote:
> > > Hello,
> > >
> > > Update for SMPlayer to 21.10.0:
> > >
> > > https://www.smplayer.info/en/changes
> > >
> > > OK? Comments?
> >
> > Working OK for me on amd64; youtube vids work well through it too
> > as long as yt-dlp is installed. It could be considered a possible run
> > dependency.
> >
>
> I think I will add it to smtube only, which have smplayer already as run
> dependency, so if you want to watch youtube videos by installing smtube you
> have
> it all.
>
> Makes sense?
>
> Cheers.-
meh, smplayer is using yt-dlp too (as it says in the changelog), so i will add
it here, and it will be there for smtube as well since smplayer is a run
dependency.
OK?
--
%gonzalo
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.63
diff -u -p -r1.63 Makefile
--- Makefile 11 Feb 2021 13:55:06 -0000 1.63
+++ Makefile 10 Dec 2021 18:27:32 -0000
@@ -2,7 +2,7 @@
COMMENT = complete front-end for MPlayer and MPV
-DISTNAME = smplayer-21.1.0
+DISTNAME = smplayer-21.10.0
CATEGORIES = multimedia x11
HOMEPAGE = https://www.smplayer.info/
@@ -21,8 +21,9 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORG
EXTRACT_SUFX = .tar.bz2
MODULES = x11/qt5
-RUN_DEPENDS = mpv-*|mplayer->=20090708:multimedia/mpv \
- devel/desktop-file-utils \
+RUN_DEPENDS = devel/desktop-file-utils \
+ mpv-*|mplayer->=20090708:multimedia/mpv \
+ www/yt-dlp \
x11/gtk+3,-guic
USE_GMAKE = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/smplayer/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo 11 Feb 2021 13:55:06 -0000 1.45
+++ distinfo 10 Dec 2021 18:27:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (smplayer-21.1.0.tar.bz2) = Y0uq32XoQ8fpIJDScRfA7p3RYd6x1PWZSsYyAYYKf/c=
-SIZE (smplayer-21.1.0.tar.bz2) = 5199956
+SHA256 (smplayer-21.10.0.tar.bz2) =
LAvxCt1L6iWCEEKBVTzal5K3TUEnOpi86qFHxwBl24o=
+SIZE (smplayer-21.10.0.tar.bz2) = 5186253
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/x11/smplayer/patches/patch-Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 patch-Makefile
--- patches/patch-Makefile 1 Mar 2017 13:04:15 -0000 1.6
+++ patches/patch-Makefile 10 Dec 2021 18:27:32 -0000
@@ -1,6 +1,7 @@
$OpenBSD: patch-Makefile,v 1.6 2017/03/01 13:04:15 gonzalo Exp $
---- Makefile.orig Sun Jan 29 21:25:26 2017
-+++ Makefile Tue Feb 28 16:40:26 2017
+Index: Makefile
+--- Makefile.orig
++++ Makefile
@@ -5,7 +5,7 @@ PREFIX=/usr/local
CONF_PREFIX=$(PREFIX)
@@ -10,9 +11,9 @@ $OpenBSD: patch-Makefile,v 1.6 2017/03/0
TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations
THEMES_PATH=$(PREFIX)/share/smplayer/themes
SHORTCUTS_PATH=$(PREFIX)/share/smplayer/shortcuts
-@@ -13,14 +13,6 @@ SHORTCUTS_PATH=$(PREFIX)/share/smplayer/shortcuts
- ICONS_DIR=$(PREFIX)/share/icons/hicolor/
+@@ -14,14 +14,6 @@ ICONS_DIR=$(PREFIX)/share/icons/hicolor/
APPLNK_DIR=$(PREFIX)/share/applications/
+ METAINFO_DIR=$(PREFIX)/share/metainfo/
-QMAKE=qmake
-LRELEASE=lrelease
@@ -25,7 +26,7 @@ $OpenBSD: patch-Makefile,v 1.6 2017/03/0
all: src/smplayer webserver/simple_web_server
src/smplayer:
-@@ -49,7 +41,7 @@ install: all
+@@ -50,7 +42,7 @@ install: all
install -m 755 webserver/simple_web_server $(DESTDIR)$(PREFIX)/bin/
-install -d $(DESTDIR)$(DOC_PATH)
@@ -34,16 +35,3 @@ $OpenBSD: patch-Makefile,v 1.6 2017/03/0
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
-@@ -78,9 +70,9 @@ install: all
- -install -d $(DESTDIR)$(APPLNK_DIR)
- install -m 644 smplayer.desktop $(DESTDIR)$(APPLNK_DIR)
- install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(APPLNK_DIR)
-- -install -d $(DESTDIR)$(PREFIX)/share/man/man1/
-- install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/share/man/man1/
-- gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
-+ -install -d $(DESTDIR)$(PREFIX)/man/man1/
-+ install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/man/man1/
-+# gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
-
- uninstall:
- -rm -f $(PREFIX)/bin/smplayer
Index: patches/patch-src_preferences_cpp
===================================================================
RCS file: /cvs/ports/x11/smplayer/patches/patch-src_preferences_cpp,v
retrieving revision 1.17
diff -u -p -r1.17 patch-src_preferences_cpp
--- patches/patch-src_preferences_cpp 11 Feb 2021 13:55:06 -0000 1.17
+++ patches/patch-src_preferences_cpp 10 Dec 2021 18:27:32 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_preferences_cpp,v 1.
Index: src/preferences.cpp
--- src/preferences.cpp.orig
+++ src/preferences.cpp
-@@ -212,8 +212,8 @@ void Preferences::reset() {
+@@ -209,8 +209,8 @@ void Preferences::reset() {
Drives (CD/DVD)
*************** */
@@ -13,7 +13,7 @@ Index: src/preferences.cpp
#ifdef BLURAY_SUPPORT
bluray_device = "";
#endif
-@@ -335,13 +335,13 @@ void Preferences::reset() {
+@@ -332,13 +332,13 @@ void Preferences::reset() {
mplayer_additional_audio_filters="";
#ifdef LOG_MPLAYER
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/smplayer/pkg/PLIST,v
retrieving revision 1.19
diff -u -p -r1.19 PLIST
--- pkg/PLIST 17 May 2020 06:09:40 -0000 1.19
+++ pkg/PLIST 10 Dec 2021 18:27:32 -0000
@@ -1,27 +1,21 @@
@comment $OpenBSD: PLIST,v 1.19 2020/05/17 06:09:40 gonzalo Exp $
@bin bin/simple_web_server
@bin bin/smplayer
-@man man/man1/smplayer.1
share/applications/smplayer.desktop
share/applications/smplayer_enqueue.desktop
share/doc/smplayer/
-share/doc/smplayer/Changelog
share/doc/smplayer/Copying.txt
share/doc/smplayer/Copying_BSD.txt
share/doc/smplayer/Copying_libmaia.txt
share/doc/smplayer/Copying_openssl.txt
-share/doc/smplayer/Finding_subtitles.txt
share/doc/smplayer/Install.txt
-share/doc/smplayer/Not_so_obvious_things.txt
share/doc/smplayer/Portable_Edition.txt
share/doc/smplayer/Readme.txt
-share/doc/smplayer/Release_notes.txt
-share/doc/smplayer/Watching_TV.txt
+share/doc/smplayer/Release_notes.md
share/doc/smplayer/cs/
share/doc/smplayer/cs/gpl.html
share/doc/smplayer/de/
share/doc/smplayer/de/gpl.html
-share/doc/smplayer/dvdmenus.txt
share/doc/smplayer/en/
share/doc/smplayer/en/gpl.html
share/doc/smplayer/es/
@@ -51,6 +45,10 @@ share/icons/hicolor/32x32/apps/smplayer.
share/icons/hicolor/512x512/apps/smplayer.png
share/icons/hicolor/64x64/apps/smplayer.png
share/icons/hicolor/scalable/apps/smplayer.svg
+@mandir share/man/
+share/man/man1/
+share/metainfo/
+share/metainfo/smplayer.appdata.xml
share/smplayer/
share/smplayer/input.conf
share/smplayer/shortcuts/