1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

smplayer intents to be a complete front-end for mplayer,from

basic features like playing videos, dvds, vcdsto more advancing
features like support for mplayer filters,edl lists, and more.

WWW: http://smplayer.sourceforge.net/

PR:		ports/112535, ports/113679
Submitted by:	Diego Depaoli <trebestie at gmail.com>, Yinghong.Liu <liu_yinghong at yahoo.com.cn>
This commit is contained in:
Rong-En Fan 2007-06-18 14:04:27 +00:00
parent 3a8aff3cec
commit d297f7a58b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193794
7 changed files with 158 additions and 0 deletions

View File

@ -193,6 +193,7 @@
SUBDIR += shell-fm
SUBDIR += smpeg
SUBDIR += smpeg-xmms
SUBDIR += smplayer
SUBDIR += smplayer-themes
SUBDIR += spigot
SUBDIR += streamanalyze

Binary file not shown.

View File

@ -0,0 +1,65 @@
# New ports collection makefile for: smplayer
# Date created: 13 Jun, 2007
# Whom: Diego Depaoli <trebestie@gmail.com> and Yinghong.Liu <liu_yinghong@yahoo.com.cn>
#
# $FreeBSD$
#
PORTNAME= smplayer
DISTVERSION= 0.5.0
CATEGORIES= multimedia audio kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= liu_yinghong@yahoo.com.cn
COMMENT?= A complete front-end based on QT3 for mplayer
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-themes
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4"
USE_QT_VER= 4
QT_COMPONENTS= qmake porting moc uic qt3support uic3 corelib gui
ALL_TARGET= prep src/smplayer
.else
USE_QT_VER= 3
CONFLICTS?= smplayer-qt4-[0-9]*
BUILD_DEPENDS+= qmake:${PORTSDIR}/devel/qmake
QMAKE= ${QT_PREFIX}/bin/qmake
MAKE_ENV+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
ALL_TARGET= src/smplayer
.if defined(WITH_KDE)
USE_KDELIBS_VER=3
MAKE_ARGS+= KDE_SUPPORT=1
.endif
.endif
USE_GMAKE= yes
INSTALLS_ICONS= yes
PORTDOCS= Changelog Configurable_shortcuts.txt Install.txt \
Copying.txt Not_so_obvious_things.txt Translations.txt \
Icon_themes.txt Readme.txt
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (smplayer-0.5.0.tar.gz) = e3282320cb1b186e601511ec51bacdbe
SHA256 (smplayer-0.5.0.tar.gz) = bb7813566efc0e62d52c68791d6281f66714b3498f5fdc9c5240986ec466a33c
SIZE (smplayer-0.5.0.tar.gz) = 917326

View File

@ -0,0 +1,43 @@
--- Makefile.orig Thu Jun 14 20:12:01 2007
+++ Makefile Thu Jun 14 20:13:14 2007
@@ -5,7 +5,6 @@
CONF_PREFIX=$(PREFIX)
DATA_PATH=$(PREFIX)/share/smplayer
-DOC_PATH=$(PREFIX)/share/doc/packages/smplayer
TRANSLATION_PATH=$(PREFIX)/share/smplayer/translations
CONF_PATH=$(CONF_PREFIX)/etc/smplayer
THEMES_PATH=$(PREFIX)/share/smplayer/themes
@@ -22,7 +21,7 @@
DEFS=DATA_PATH=\\\"$(DATA_PATH)\\\" CONF_PATH=\\\"$(CONF_PATH)\\\" \
TRANSLATION_PATH=\\\"$(TRANSLATION_PATH)\\\" \
- DOC_PATH=\\\"$(DOC_PATH)\\\" THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
+ THEMES_PATH=\\\"$(THEMES_PATH)\\\" \
SHORTCUTS_PATH=\\\"$(SHORTCUTS_PATH)\\\"
@@ -58,8 +57,6 @@
install -m 644 src/input.conf $(DESTDIR)$(DATA_PATH)
-install -d $(DESTDIR)$(TRANSLATION_PATH)
install -m 644 src/translations/*.qm $(DESTDIR)$(TRANSLATION_PATH)
- -install -d $(DESTDIR)$(DOC_PATH)
- install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
@@ -79,8 +76,6 @@
-rm $(PREFIX)/bin/smplayer
-rm $(DATA_PATH)/input.conf
-rm $(TRANSLATION_PATH)/*.qm
- -rm $(DOC_PATH)/Changelog
- -rm $(DOC_PATH)/*.txt
-rm $(SHORTCUTS_PATH)/*.keys
-rm $(KDE_ICONS)/64x64/apps/smplayer.png
-rm $(KDE_ICONS)/32x32/apps/smplayer.png
@@ -88,5 +83,4 @@
-rm $(KDE_ICONS)/16x16/apps/smplayer.png
-rm $(KDE_APPLNK)/smplayer.desktop
-rmdir $(TRANSLATION_PATH)/
- -rmdir $(DOC_PATH)/
-rmdir $(DATA_PATH)/

View File

@ -0,0 +1,5 @@
smplayer intents to be a complete front-end for mplayer,from
basic features like playing videos, dvds, vcdsto more advancing
features like support for mplayer filters,edl lists, and more.
WWW: http://smplayer.sourceforge.net/

View File

@ -0,0 +1,41 @@
bin/smplayer
share/applications/smplayer.desktop
share/icons/hicolor/16x16/apps/smplayer.png
share/icons/hicolor/22x22/apps/smplayer.png
share/icons/hicolor/32x32/apps/smplayer.png
share/icons/hicolor/64x64/apps/smplayer.png
%%DATADIR%%/input.conf
%%DATADIR%%/shortcuts/default.keys
%%DATADIR%%/translations/smplayer_bg.qm
%%DATADIR%%/translations/smplayer_cs.qm
%%DATADIR%%/translations/smplayer_de.qm
%%DATADIR%%/translations/smplayer_en_US.qm
%%DATADIR%%/translations/smplayer_es.qm
%%DATADIR%%/translations/smplayer_fr.qm
%%DATADIR%%/translations/smplayer_hu.qm
%%DATADIR%%/translations/smplayer_it.qm
%%DATADIR%%/translations/smplayer_ja.qm
%%DATADIR%%/translations/smplayer_ka.qm
%%DATADIR%%/translations/smplayer_nl.qm
%%DATADIR%%/translations/smplayer_pl.qm
%%DATADIR%%/translations/smplayer_pt_BR.qm
%%DATADIR%%/translations/smplayer_ru_RU.qm
%%DATADIR%%/translations/smplayer_sk.qm
%%DATADIR%%/translations/smplayer_sr.qm
%%DATADIR%%/translations/smplayer_sv.qm
%%DATADIR%%/translations/smplayer_tr.qm
%%DATADIR%%/translations/smplayer_uk_UA.qm
%%DATADIR%%/translations/smplayer_zh_CN.qm
%%DATADIR%%/translations/smplayer_zh_TW.qm
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%/shortcuts
@dirrmtry %%DATADIR%%
@dirrmtry share/icons/hicolor/64x64/apps
@dirrmtry share/icons/hicolor/64x64
@dirrmtry share/icons/hicolor/32x32/apps
@dirrmtry share/icons/hicolor/32x32
@dirrmtry share/icons/hicolor/22x22/apps
@dirrmtry share/icons/hicolor/22x22
@dirrmtry share/icons/hicolor/16x16/apps
@dirrmtry share/icons/hicolor/16x16
@dirrmtry share/icons/hicolor