aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-04-26 22:54:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-04-26 22:54:49 +0800
commit4ed6b98359e6f645a72db774296a3546725edab7 (patch)
tree47d2b35ec2a95c80590c2ff3008e6876083c8c2b /multimedia
parentc89a98be6908eba8bc107b20e16376529a8ec0b6 (diff)
downloadfreebsd-ports-gnome-4ed6b98359e6f645a72db774296a3546725edab7.tar.gz
freebsd-ports-gnome-4ed6b98359e6f645a72db774296a3546725edab7.tar.zst
freebsd-ports-gnome-4ed6b98359e6f645a72db774296a3546725edab7.zip
- Remove extra .desktop files, fix plist for WITHOUT_QT4 case
PR: 145720 Submitted by: myself Fix by: "Joseph S. Atkinson" <jsa.bsd@gmail.com> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vlc/Makefile2
-rw-r--r--multimedia/vlc/Makefile.inc36
-rw-r--r--multimedia/vlc/files/qvlc.desktop10
-rw-r--r--multimedia/vlc/files/svlc.desktop10
4 files changed, 11 insertions, 47 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index e459c3a0421e..1355e117efb6 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -10,7 +10,7 @@
PORTNAME= vlc
DISTVERSION= 1.0.5
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 3
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
diff --git a/multimedia/vlc/Makefile.inc b/multimedia/vlc/Makefile.inc
index 6e6d2736f306..24e4a516e7ff 100644
--- a/multimedia/vlc/Makefile.inc
+++ b/multimedia/vlc/Makefile.inc
@@ -228,18 +228,9 @@ pre-install: build
${RM} -rf ${PLIST} ${FAKEDIR}
${MKDIR} ${FAKEDIR}
${TOUCH} -f ${PLIST}
+ ${ECHO_CMD} "share/pixmaps/vlc.png" >> ${PLIST}
${ECHO_CMD} "share/applications/vlc.desktop" >> ${PLIST}
-.if !defined(WITHOUT_QT4)
- ${ECHO_CMD} "share/pixmaps/qvlc.png" >> ${PLIST}
- ${ECHO_CMD} "share/applications/qvlc.desktop" >> ${PLIST}
-.endif
-.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
- ${ECHO_CMD} "share/pixmaps/gvlc.png" >> ${PLIST}
- ${ECHO_CMD} "share/applications/svlc.desktop" >> ${PLIST}
-.endif
-.if defined(WITH_SKINS) || !defined(WITHOUT_QT)
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
-.endif
+ ${ECHO_CMD} "@dirrmtry share/applications" >> ${PLIST}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} prefix=${FAKEDIR}
${RM} -f ${FAKEDIR}/share/locale/locale.alias
@@ -248,11 +239,11 @@ pre-install: build
cd ${FAKEDIR}/include && ${FIND} -s * -type f -o -type l | \
${SED} -e 's|^|include/|' >> ${PLIST} \
&& ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm include/|' >> ${PLIST}
+ ${SED} -e 's|^|@dirrmtry include/|' >> ${PLIST}
cd ${FAKEDIR}/lib && ${FIND} -s * -type f -o -type l| \
${SED} -e 's|^|lib/|' >> ${PLIST} \
&& ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm lib/|' >> ${PLIST}
+ ${SED} -e 's|^|@dirrmtry lib/|' >> ${PLIST}
.if !defined(WITHOUT_X11)
cd ${FAKEDIR}/libdata && ${FIND} -s * -type f -o -type l| \
${SED} -e 's|^|libdata/|' >> ${PLIST} \
@@ -263,17 +254,17 @@ pre-install: build
cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
&& ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm share/${dir}/|' >> ${PLIST}
+ ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST}
.endfor
.if !defined(NOPORTDOCS)
cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \
${SED} -e 's|^|share/doc/|' >> ${PLIST} \
&& ${FIND} -d * -type d | \
- ${SED} -e 's|^|@dirrm share/doc/|' >> ${PLIST}
+ ${SED} -e 's|^|@dirrmtry share/doc/|' >> ${PLIST}
.else
${RM} -rf ${FAKEDIR}/share/doc
.endif
- ${ECHO_MSG} "@dirrm share/vlc" >> ${PLIST}
+ ${ECHO_MSG} "@dirrmtry share/vlc" >> ${PLIST}
.if !defined(WITHOUT_NLS)
cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \
${SED} -e 's|^|share/locale/|' >> ${PLIST}
@@ -284,8 +275,8 @@ pre-install: build
${ECHO_CMD} "@dirrmtry %%WEBPLUGINS_DIR%%" >> ${PLIST}
.endif
.for locale in ckb co fur kk km my oc ps tet tl
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
- ${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale} 2>/dev/null || ${TRUE}" >> ${PLIST}
+ ${ECHO_CMD} "@dirrmtry share/locale/${locale}/LC_MESSAGES" >> ${PLIST}
+ ${ECHO_CMD} "@dirrmtry share/locale/${locale}" >> ${PLIST}
.endfor
do-install:
@@ -295,6 +286,7 @@ do-install:
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include
cd ${FAKEDIR}/lib && ${FIND} . | \
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib
+ ${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/vlc.png
.if !defined(WITHOUT_X11)
cd ${FAKEDIR}/libdata && ${FIND} . | \
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libdata
@@ -314,12 +306,4 @@ do-install:
if [ ! -d ${PREFIX}/share/pixmaps ]; then \
${MKDIR} ${PREFIX}/share/pixmaps ; \
fi
-.if !defined(WITHOUT_QT4)
- ${INSTALL_DATA} ${FILESDIR}/qvlc.desktop ${PREFIX}/share/applications
- ${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/qvlc.png
-.endif
-.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
- ${INSTALL_DATA} ${FILESDIR}/svlc.desktop ${PREFIX}/share/applications
- ${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/gvlc.png
-.endif
.endif
diff --git a/multimedia/vlc/files/qvlc.desktop b/multimedia/vlc/files/qvlc.desktop
deleted file mode 100644
index f13214212548..000000000000
--- a/multimedia/vlc/files/qvlc.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=VideoLAN (QT4) Media Player
-Comment=Video and Audio player and server
-Icon=qvlc.png
-Exec=qvlc
-TryExec=qvlc
-Terminal=false
-Type=Application
-Categories=Application;AudioVideo;
diff --git a/multimedia/vlc/files/svlc.desktop b/multimedia/vlc/files/svlc.desktop
deleted file mode 100644
index e7ed9a3eeb96..000000000000
--- a/multimedia/vlc/files/svlc.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=VideoLAN (skins) Media Player
-Comment=Video and Audio player and server
-Icon=gvlc.png
-Exec=vlc --intf skins2
-TryExec=svlc
-Terminal=false
-Type=Application
-Categories=Application;AudioVideo;