/[gentoo-x86]/media-video/vlc/vlc-9999.ebuild
Gentoo

Diff of /media-video/vlc/vlc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.66 Revision 1.67
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.66 2010/04/12 14:23:58 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.67 2010/04/12 14:42:38 aballier Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
352 352
353pkg_postinst() { 353pkg_postinst() {
354 gnome2_pkg_postinst 354 gnome2_pkg_postinst
355 355
356 if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then 356 if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
357 einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen" 357 einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
358 "/usr/$(get_libdir)/vlc/vlc-cache-gen" 358 "/usr/$(get_libdir)/vlc/vlc-cache-gen" "/usr/$(get_libdir)/vlc/plugins/"
359 else 359 else
360 ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" 360 ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
361 ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" 361 ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
362 ewarn "If you do not do it, vlc will take a long time to load." 362 ewarn "If you do not do it, vlc will take a long time to load."
363 fi 363 fi

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

  ViewVC Help
Powered by ViewVC 1.1.20