Update for smtplayer to 0.8.6 with some tips from zhuk@.
OK zhuk@, edd@ (maintainer)
This commit is contained in:
parent
e29522e2b8
commit
ffcb399bff
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2013/05/22 13:07:13 gonzalo Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2014/03/24 18:20:19 gonzalo Exp $
|
||||
|
||||
COMMENT = complete front-end for MPlayer
|
||||
|
||||
DISTNAME = smplayer-0.8.5
|
||||
DISTNAME = smplayer-0.8.6
|
||||
|
||||
CATEGORIES = multimedia x11
|
||||
|
||||
@ -13,8 +13,9 @@ MAINTAINER = Edd Barrett <edd@openbsd.org>
|
||||
# GPLv2 (docs/en/gpl.html)
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += ICE QtGui QtNetwork QtXml SM X11 Xext Xi Xinerama Xrender
|
||||
WANTLIB += c fontconfig freetype m pthread stdc++ z
|
||||
WANTLIB = c m pthread stdc++
|
||||
WANTLIB += ICE QtGui QtNetwork QtScript QtXml SM X11 Xext Xi Xinerama
|
||||
WANTLIB += Xrender c fontconfig freetype m pthread stdc++ z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=smplayer/}
|
||||
|
||||
@ -31,4 +32,7 @@ NO_TEST = Yes
|
||||
|
||||
ALL_TARGET = src/smplayer
|
||||
|
||||
MAKE_FLAGS = QMAKE=${LOCALBASE}/bin/qmake4 \
|
||||
LRELEASE=${LOCALBASE}/bin/lrelease4
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (smplayer-0.8.5.tar.bz2) = PHcnOLvU2i9f8OKECNq1fb8/zevJ1YCX2kWw8rDabm0=
|
||||
SIZE (smplayer-0.8.5.tar.bz2) = 3343452
|
||||
SHA256 (smplayer-0.8.6.tar.bz2) = 4JEzmXf70N5aBLeCKVMml3/ku2RL745fJSxfJJNI4Nw=
|
||||
SIZE (smplayer-0.8.6.tar.bz2) = 3336444
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2013/03/27 15:19:14 gonzalo Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.3 2014/03/24 18:20:19 gonzalo Exp $
|
||||
--- Makefile.orig Thu Nov 1 19:42:16 2012
|
||||
+++ Makefile Sat Mar 23 14:11:58 2013
|
||||
+++ Makefile Wed Jan 29 16:46:49 2014
|
||||
@@ -5,7 +5,7 @@ PREFIX=/usr/local
|
||||
CONF_PREFIX=$(PREFIX)
|
||||
|
||||
@ -10,18 +10,23 @@ $OpenBSD: patch-Makefile,v 1.2 2013/03/27 15:19:14 gonzalo Exp $
|
||||
TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations
|
||||
THEMES_PATH=$(PREFIX)/share/smplayer/themes
|
||||
SHORTCUTS_PATH=$(PREFIX)/share/smplayer/shortcuts
|
||||
@@ -17,8 +17,8 @@ KDE_PREFIX=$(PREFIX)
|
||||
@@ -17,15 +17,6 @@ KDE_PREFIX=$(PREFIX)
|
||||
KDE_ICONS=$(KDE_PREFIX)/share/icons/hicolor/
|
||||
KDE_APPLNK=$(KDE_PREFIX)/share/applications/
|
||||
|
||||
-QMAKE=qmake
|
||||
-LRELEASE=lrelease
|
||||
+QMAKE=qmake4
|
||||
+LRELEASE=lrelease4
|
||||
-
|
||||
-DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
|
||||
- TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \
|
||||
- DOC_PATH=\\\"$(DOC_PATH)\\\" THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
|
||||
- SHORTCUTS_PATH=\\\"$(SHORTCUTS_PATH)\\\"
|
||||
-
|
||||
-
|
||||
ifdef KDE_SUPPORT
|
||||
|
||||
DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" \
|
||||
TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \
|
||||
@@ -40,7 +40,8 @@ QMAKE_OPTS=DEFINES+=KDE_SUPPORT INCLUDEPATH+=$(KDE_INC
|
||||
# KDE paths, change if necessary
|
||||
@@ -40,7 +31,8 @@ QMAKE_OPTS=DEFINES+=KDE_SUPPORT INCLUDEPATH+=$(KDE_INC
|
||||
endif
|
||||
|
||||
src/smplayer:
|
||||
@ -31,7 +36,7 @@ $OpenBSD: patch-Makefile,v 1.2 2013/03/27 15:19:14 gonzalo Exp $
|
||||
+cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) make
|
||||
cd src && $(LRELEASE) smplayer.pro
|
||||
|
||||
@@ -59,7 +60,7 @@ install: src/smplayer
|
||||
@@ -59,7 +51,7 @@ install: src/smplayer
|
||||
install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
|
||||
|
||||
-install -d $(DESTDIR)$(DOC_PATH)
|
||||
@ -40,7 +45,7 @@ $OpenBSD: patch-Makefile,v 1.2 2013/03/27 15:19:14 gonzalo Exp $
|
||||
|
||||
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
|
||||
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
|
||||
@@ -88,9 +89,9 @@ install: src/smplayer
|
||||
@@ -88,9 +80,9 @@ install: src/smplayer
|
||||
-install -d $(DESTDIR)$(KDE_APPLNK)
|
||||
install -m 644 smplayer.desktop $(DESTDIR)$(KDE_APPLNK)
|
||||
install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(KDE_APPLNK)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2013/05/22 13:07:13 gonzalo Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2014/03/24 18:20:19 gonzalo Exp $
|
||||
@bin bin/smplayer
|
||||
@man man/man1/smplayer.1
|
||||
share/applications/smplayer.desktop
|
||||
@ -16,39 +16,32 @@ share/doc/smplayer/Readme.txt
|
||||
share/doc/smplayer/Release_notes.txt
|
||||
share/doc/smplayer/Watching_TV.txt
|
||||
share/doc/smplayer/cs/
|
||||
share/doc/smplayer/cs/faq.html
|
||||
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/faq.html
|
||||
share/doc/smplayer/en/gpl.html
|
||||
share/doc/smplayer/es/
|
||||
share/doc/smplayer/es/gpl.html
|
||||
share/doc/smplayer/eu/
|
||||
share/doc/smplayer/eu/faq.html
|
||||
share/doc/smplayer/fr/
|
||||
share/doc/smplayer/fr/gpl.html
|
||||
share/doc/smplayer/hu/
|
||||
share/doc/smplayer/hu/faq.html
|
||||
share/doc/smplayer/hu/gpl.html
|
||||
share/doc/smplayer/it/
|
||||
share/doc/smplayer/it/faq.html
|
||||
share/doc/smplayer/it/gpl.html
|
||||
share/doc/smplayer/ja/
|
||||
share/doc/smplayer/ja/faq.html
|
||||
share/doc/smplayer/ja/gpl.html
|
||||
share/doc/smplayer/nl/
|
||||
share/doc/smplayer/nl/gpl.html
|
||||
share/doc/smplayer/pt/
|
||||
share/doc/smplayer/pt/faq.html
|
||||
share/doc/smplayer/pt/gpl.html
|
||||
share/doc/smplayer/ro/
|
||||
share/doc/smplayer/ro/gpl.html
|
||||
share/doc/smplayer/ru/
|
||||
share/doc/smplayer/ru/faq.html
|
||||
share/doc/smplayer/ru/gpl.html
|
||||
share/doc/smplayer/zh_CN/
|
||||
share/doc/smplayer/zh_CN/faq.html
|
||||
share/doc/smplayer/zh_CN/gpl.html
|
||||
share/icons/hicolor/128x128/apps/smplayer.png
|
||||
share/icons/hicolor/16x16/apps/smplayer.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user