Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 22:25:29 GMT
From:      Diego Depaoli<trebestie@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112535: [NEW PORT] multimedia/smplayer: Nice front-end to mplayer
Message-ID:  <200705082225.l48MPT1E019890@www.freebsd.org>
Resent-Message-ID: <200705082240.l48Me3Jj021574@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112535
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/smplayer: Nice front-end to mplayer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 08 22:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Diego Depaoli
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
FreeBSD extrapizza.casadep.home 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Mon May  7 20:40:23 CEST

>Description:
*** From the project main site ***
SMPlayer intends to be a complete front-end for MPlayer,
from basic features like playing videos, DVDs, and VCDs
to more advanced features like support for MPlayer filters and more.

*** From the maintainer ***
Since I begin to work at this port, sources have been updated several times.
Please don't complaint if port will be not always in sync. 

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       smplayer
#       smplayer/Makefile
#       smplayer/pkg-plist
#       smplayer/distinfo
#       smplayer/pkg-descr
#
echo c - smplayer
mkdir -p smplayer > /dev/null 2>&1
echo x - smplayer/Makefile
sed 's/^X//' >smplayer/Makefile << 'END-of-smplayer/Makefile'
X# New ports collection makefile for:   smplayer
X# Date created:                Thu Apr 19 01:20:10 CEST 2007
X# Whom:                        Diego Depaoli <trebestie@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      smplayer
XDISTVERSION=   0.4.15
XCATEGORIES=    multimedia kde graphics
XMASTER_SITES=  http://smplayer.sourceforge.net/linux/download/
X
XMAINTAINER=    trebestie@gmail.com
XCOMMENT=       Nice front-end to mplayer.
X
Xpre-everything::
X.if defined (WITH_QT4) && (WITH_KDE_SUPPORT)
X       @${ECHO_MSG} "===> KDE support doesn't work"
X       @${ECHO_MSG} "===> with Qt4 librairies."
X       @${ECHO_MSG} "===> Disabled by default."
X       @${ECHO_MSG} "===>"
X.endif
X
Xpost-extract:
X       @${REINPLACE_CMD} -e 's|packages\/||g' ${WRKSRC}/Makefile
X
XUSE_GMAKE=yes
XINSTALLS_ICONS=yes
X
X.if (defined(WITH_QT4) && defined (WITH_KDE_SUPPORT)) || defined(WITH_QT4)
XUSE_QT_VER=    4
XQT_COMPONENTS= porting qmake moc uic qt3support uic3
XMAKE_ARGS?=    QMAKE=${LOCALBASE}/bin/qmake-qt4 \
X                       QMAKESPEC=${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
XQTDIR=${QT_PREFIX}
XALL_TARGET?=   prep src/smplayer
X
X.else
X
XUSE_QT_VER=    3
XUSE_KDELIBS_VER=3
XBUILD_DEPENDS+=        qmake:${PORTSDIR}/devel/qmake
XMAKE_ARGS?=    QTDIR=${QT_PREFIX} \
X               QMAKE=${LOCALBASE}/bin/qmake \
X               QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
XALL_TARGET?=   src/smplayer
X
X.if defined (WITH_KDE_SUPPORT)
XMAKE_ARGS+=    KDE_SUPPORT=1
X.endif
X
X.endif
X.include <bsd.port.mk>
END-of-smplayer/Makefile
echo x - smplayer/pkg-plist
sed 's/^X//' >smplayer/pkg-plist << 'END-of-smplayer/pkg-plist'
Xbin/smplayer
Xshare/applications/smplayer.desktop
X%%DOCSDIR%%/Changelog
X%%DOCSDIR%%/Copying.txt
X%%DOCSDIR%%/Not_so_obvious_things.txt
X%%DOCSDIR%%/README.txt
Xshare/icons/hicolor/16x16/apps/smplayer.png
Xshare/icons/hicolor/22x22/apps/smplayer.png
Xshare/icons/hicolor/32x32/apps/smplayer.png
Xshare/icons/hicolor/64x64/apps/smplayer.png
X%%DATADIR%%/input.conf
X%%DATADIR%%/shortcuts/default.keys
X%%DATADIR%%/translations/smplayer_bg.qm
X%%DATADIR%%/translations/smplayer_cs.qm
X%%DATADIR%%/translations/smplayer_de.qm
X%%DATADIR%%/translations/smplayer_en_US.qm
X%%DATADIR%%/translations/smplayer_es.qm
X%%DATADIR%%/translations/smplayer_fr.qm
X%%DATADIR%%/translations/smplayer_hu.qm
X%%DATADIR%%/translations/smplayer_it.qm
X%%DATADIR%%/translations/smplayer_ja.qm
X%%DATADIR%%/translations/smplayer_ka.qm
X%%DATADIR%%/translations/smplayer_nl.qm
X%%DATADIR%%/translations/smplayer_pl.qm
X%%DATADIR%%/translations/smplayer_pt_BR.qm
X%%DATADIR%%/translations/smplayer_ru_RU.qm
X%%DATADIR%%/translations/smplayer_sk.qm
X%%DATADIR%%/translations/smplayer_tr.qm
X%%DATADIR%%/translations/smplayer_uk_UA.qm
X%%DATADIR%%/translations/smplayer_zh_CN.qm
X@dirrm %%DATADIR%%/translations
X@dirrm %%DATADIR%%/shortcuts
X@dirrm %%DATADIR%%
X@dirrm %%DOCSDIR%%
END-of-smplayer/pkg-plist
echo x - smplayer/distinfo
sed 's/^X//' >smplayer/distinfo << 'END-of-smplayer/distinfo'
XMD5 (smplayer-0.4.15.tar.gz) = c06964e3982117c7e3dcb34381d5cbe0
XSHA256 (smplayer-0.4.15.tar.gz) = 6a4eba77396c6e938ac0f4768ecabd0ed495f44b81e6a7f737b24c6708b94ffe
XSIZE (smplayer-0.4.15.tar.gz) = 816731
END-of-smplayer/distinfo
echo x - smplayer/pkg-descr
sed 's/^X//' >smplayer/pkg-descr << 'END-of-smplayer/pkg-descr'
XSMPlayer intends to be a complete front-end for MPlayer,
Xfrom basic features like playing videos, DVDs, and VCDs
Xto more advanced features like support for MPlayer filters and more.
X
XWWW: http://smplayer.sourceforge.net/
END-of-smplayer/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705082225.l48MPT1E019890>