Since the freedesktop theme does not provide login/logout sound anymore

(at least for now), make links from:
desktop-login.oga -> service-login.oga
desktop-logout.oga -> service-logout.oga
This commit is contained in:
ajacoutot 2011-05-23 14:20:59 +00:00
parent f34f7772fa
commit 050f3cb9fa
2 changed files with 11 additions and 2 deletions

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.10 2010/11/26 14:17:17 espie Exp $
# $OpenBSD: Makefile,v 1.11 2011/05/23 14:20:59 ajacoutot Exp $
COMMENT= XDG sound theme
DISTNAME= sound-theme-freedesktop-0.7
CATEGORIES= audio
REVISION= 0
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://freedesktop.org/wiki/Specifications/sound-theme-spec
@ -41,4 +43,9 @@ do-configure:
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
./autogen.sh
post-install:
cd ${PREFIX}/share/sounds/freedesktop/stereo && \
ln -sf service-login.oga desktop-login.oga && \
ln -sf service-logout.oga desktop-logout.oga
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2009/10/12 00:29:27 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/05/23 14:20:59 ajacoutot Exp $
share/sounds/
share/sounds/freedesktop/
share/sounds/freedesktop/index.theme
@ -17,6 +17,8 @@ share/sounds/freedesktop/stereo/audio-volume-change.oga
share/sounds/freedesktop/stereo/bell.oga
share/sounds/freedesktop/stereo/camera-shutter.oga
share/sounds/freedesktop/stereo/complete.oga
share/sounds/freedesktop/stereo/desktop-login.oga
share/sounds/freedesktop/stereo/desktop-logout.oga
share/sounds/freedesktop/stereo/device-added.oga
share/sounds/freedesktop/stereo/device-removed.oga
share/sounds/freedesktop/stereo/dialog-error.oga