diff options
author | rafan <rafan@FreeBSD.org> | 2007-06-18 22:04:27 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-06-18 22:04:27 +0800 |
commit | e92e7ec6c27f9b049169a5630c75dd64c7ce23c2 (patch) | |
tree | f249e7a2befe84c72cf0697aae12d28b802c5302 /multimedia | |
parent | 4e6026b4ee751f4148021ed9009c6d64a9512b74 (diff) | |
download | freebsd-ports-gnome-e92e7ec6c27f9b049169a5630c75dd64c7ce23c2.tar.gz freebsd-ports-gnome-e92e7ec6c27f9b049169a5630c75dd64c7ce23c2.tar.zst freebsd-ports-gnome-e92e7ec6c27f9b049169a5630c75dd64c7ce23c2.zip |
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>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/smplayer/.pkg-plist.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | multimedia/smplayer/Makefile | 65 | ||||
-rw-r--r-- | multimedia/smplayer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/smplayer/files/patch-Makefile | 43 | ||||
-rw-r--r-- | multimedia/smplayer/pkg-descr | 5 | ||||
-rw-r--r-- | multimedia/smplayer/pkg-plist | 41 |
7 files changed, 158 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index d5dd29cb6adb..dd7a332483bd 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -193,6 +193,7 @@ SUBDIR += shell-fm SUBDIR += smpeg SUBDIR += smpeg-xmms + SUBDIR += smplayer SUBDIR += smplayer-themes SUBDIR += spigot SUBDIR += streamanalyze diff --git a/multimedia/smplayer/.pkg-plist.swp b/multimedia/smplayer/.pkg-plist.swp Binary files differnew file mode 100644 index 000000000000..334a92148a2c --- /dev/null +++ b/multimedia/smplayer/.pkg-plist.swp diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile new file mode 100644 index 000000000000..4e5b27dbdcd9 --- /dev/null +++ b/multimedia/smplayer/Makefile @@ -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> diff --git a/multimedia/smplayer/distinfo b/multimedia/smplayer/distinfo new file mode 100644 index 000000000000..89d0bfe058b3 --- /dev/null +++ b/multimedia/smplayer/distinfo @@ -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 diff --git a/multimedia/smplayer/files/patch-Makefile b/multimedia/smplayer/files/patch-Makefile new file mode 100644 index 000000000000..3255738ab6a2 --- /dev/null +++ b/multimedia/smplayer/files/patch-Makefile @@ -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)/ diff --git a/multimedia/smplayer/pkg-descr b/multimedia/smplayer/pkg-descr new file mode 100644 index 000000000000..4244ac91631a --- /dev/null +++ b/multimedia/smplayer/pkg-descr @@ -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/ diff --git a/multimedia/smplayer/pkg-plist b/multimedia/smplayer/pkg-plist new file mode 100644 index 000000000000..e8e261085823 --- /dev/null +++ b/multimedia/smplayer/pkg-plist @@ -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 |