- Fix autosymlink for real player

PR:		ports/78633
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
Approved by:	maintainer timeout (3 weeks)
This commit is contained in:
Pav Lucistnik 2005-04-03 18:53:47 +00:00
parent 8c09b45ab0
commit 222826ea09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132363
2 changed files with 18 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= totem
PORTVERSION= 1.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION}
@ -91,6 +91,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
${WRKSRC}/src/bacon-video-widget-gst.c
.endif
@${REINPLACE_CMD} -e 's|@LOCALBASE@|${LOCALBASE}|' \
${WRKSRC}/src/bacon-video-widget-xine.c
post-install:
@-update-desktop-database

View File

@ -0,0 +1,15 @@
--- src/bacon-video-widget-xine.c.orig Wed Mar 9 18:03:18 2005
+++ src/bacon-video-widget-xine.c Wed Mar 9 18:05:59 2005
@@ -2504,10 +2504,8 @@
/* And we try and create symlinks from /usr/lib/win32 to
* the local user path */
- totem_create_symlinks ("/usr/lib/win32", path);
- totem_create_symlinks ("/usr/lib/RealPlayer9/Codecs/", path);
- totem_create_symlinks ("/usr/lib/RealPlayer9/users/Real/Codecs/", path);
- totem_create_symlinks ("/usr/lib/RealPlayer8/Codecs", path);
+ totem_create_symlinks ("@LOCALBASE@/lib/win32", path);
+ totem_create_symlinks ("@LOCALBASE@/lib/RealPlayer/codecs", path);
g_free (bvw->priv->codecs_path);
bvw->priv->codecs_path = g_strdup (path);