mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix dynamic loading problem
- Add new version of last.fm script PR: 127368 Submitted by: "Carlos A. M. dos Santos" <unixmania at gmail dot com>
This commit is contained in:
parent
03a40f14d6
commit
f9bc8ada53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230825
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= last.fm
|
||||
PORTVERSION= 1.3.2.14
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio net
|
||||
MASTER_SITES= http://cdn.last.fm/client/src/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
@ -37,17 +37,16 @@ post-patch:
|
||||
-E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \
|
||||
-e 's|function header|header()|g' \
|
||||
-e 's|function middle|middle()|g' \
|
||||
-e 's|-pthread|-pthread -R/usr/local/share/last.fm|g' \
|
||||
${WRKSRC}/configure
|
||||
${REINPLACE_CMD} -e 's|linux\*|unix|g' ${WRKSRC}/src/src.pro
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/src/output/RtAudio && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} && make
|
||||
${REINPLACE_CMD} -e 's|`dirname $$0`|${DATADIR}|g' \
|
||||
${WRKSRC}/bin/last.fm
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/last.fm ${PREFIX}/bin/last.fm
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/last.fm ${PREFIX}/bin/last.fm
|
||||
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/services
|
||||
${INSTALL_DATA} ${FILESDIR}/last.fm.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${FILESDIR}/lastfm.protocol ${PREFIX}/share/services
|
||||
|
13
audio/last.fm/files/last.fm
Normal file
13
audio/last.fm/files/last.fm
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# executes all *nix variants of Last.fm executable --mxcl
|
||||
|
||||
RUNDIR=/usr/local/share/last.fm
|
||||
LD_LIBRARY_PATH=$RUNDIR; export LD_LIBRARY_PATH
|
||||
|
||||
if [ -f $RUNDIR/last.fm.app ]; then
|
||||
exec $RUNDIR/last.fm.app $*
|
||||
elif [ -f $RUNDIR/last.fm.app_debug ]; then
|
||||
exec $RUNDIR/last.fm.app_debug $*
|
||||
elif [ -d $RUNDIR/Last.fm.app ]; then
|
||||
exec $RUNDIR/Last.fm_debug $*
|
||||
fi
|
@ -99,7 +99,6 @@ bin/last.fm
|
||||
%%DATADIR%%/data/wizard_mac.png
|
||||
%%DATADIR%%/last.fm
|
||||
%%DATADIR%%/last.fm.app
|
||||
%%DATADIR%%/last.fm.bak
|
||||
%%DATADIR%%/libLastFmTools.so
|
||||
%%DATADIR%%/libLastFmTools.so.1
|
||||
%%DATADIR%%/libLastFmTools.so.1.0
|
||||
|
Loading…
Reference in New Issue
Block a user