Update SMPlayer to 21.10.0

This commit is contained in:
gonzalo 2021-12-20 11:45:28 +00:00
parent 16f2ea8e4f
commit 0530e40ed1
5 changed files with 23 additions and 36 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.63 2021/02/11 13:55:06 gonzalo Exp $
# $OpenBSD: Makefile,v 1.64 2021/12/20 11:45:28 gonzalo Exp $
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_SOURCEFORGE:=smplayer/}
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

View File

@ -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

View File

@ -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
$OpenBSD: patch-Makefile,v 1.7 2021/12/20 11:45:29 gonzalo Exp $
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/01 13:04:15 gonzalo Exp $
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/01 13:04:15 gonzalo Exp $
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/01 13:04:15 gonzalo Exp $
-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

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-src_preferences_cpp,v 1.17 2021/02/11 13:55:06 gonzalo Exp $
$OpenBSD: patch-src_preferences_cpp,v 1.18 2021/12/20 11:45:29 gonzalo Exp $
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

View File

@ -1,27 +1,21 @@
@comment $OpenBSD: PLIST,v 1.19 2020/05/17 06:09:40 gonzalo Exp $
@comment $OpenBSD: PLIST,v 1.20 2021/12/20 11:45:29 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.png
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/