# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/mplayer-skins/mplayer-skins-0.2.ebuild,v 1.2 2003/04/09 01:16:37 seemant Exp $

S=${WORKDIR}
DESCRIPTION="Collection of mplayer themes"
HOMEPAGE="http://www.mplayerhq.hu/"
THEME_URI="http://www.mplayerhq.hu/MPlayer/Skin"
SRC_URI="${THEME_URI}/AlienMind-1.0.tar.bz2
	${THEME_URI}/Blue-1.0.tar.bz2	 
	${THEME_URI}/Blue-small-1.0.tar.bz2	 	 
	${THEME_URI}/BlueHeart-1.4.tar.bz2
	${THEME_URI}/CornerMP-aqua-1.0.tar.bz2
	${THEME_URI}/CornerMP-1.0.tar.bz2
	${THEME_URI}/Cyrus-1.0.tar.bz2
	${THEME_URI}/MidnightLove-1.5.tar.bz2
	${THEME_URI}/Orange-1.0.tar.bz2
	${THEME_URI}/QPlayer-1.0.2.tar.bz2
	${THEME_URI}/WindowsMediaPlayer6-1.2.tar.bz2
	${THEME_URI}/avifile-1.5.tar.bz2
	${THEME_URI}/disappearer-1.0.tar.bz2
	${THEME_URI}/gnome-1.1.tar.bz2
	${THEME_URI}/hayraphon-1.0.tar.bz2
	${THEME_URI}/hwswskin-1.0.tar.bz2
	${THEME_URI}/krystal-1.0.tar.bz2
	${THEME_URI}/mentalic-1.1.tar.bz2
	${THEME_URI}/neutron-1.4.tar.bz2
	${THEME_URI}/phony-1.0.tar.bz2	  
	${THEME_URI}/plastic-1.1.1.tar.bz2	
	${THEME_URI}/proton-1.1.tar.bz2	 
	${THEME_URI}/slim-1.0.tar.bz2
	${THEME_URI}/softgrip-1.0.tar.bz2
	${THEME_URI}/trium-1.0.tar.bz2	  
	${THEME_URI}/xanim-1.5.tar.bz2	  
	${THEME_URI}/xine-lcd-1.0.tar.bz2"
# - Doesn't work for me
# ${THEME_URI}/Canary-1.0.tar.bz2	
# - Installed by mplayer ebuild
# ${THEME_URI}/default-1.7.tar.bz2

SLOT="0"
LICENSE="freedist"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"

DEPEND="net-misc/wget"
RDEPEND="media-video/mplayer
	 sys-apps/bzip2"

src_install () {
	dodir /usr/share/mplayer/Skin
	cp -dR * ${D}/usr/share/mplayer/Skin/
	chown -R root.root ${D}/usr/share/mplayer/Skin/
	chmod -R o-w ${D}/usr/share/mplayer/Skin/
	chmod -R a+rX ${D}/usr/share/mplayer/Skin/
}