/[gentoo-x86]/media-video/mplayer-bin/mplayer-bin-1.0_rc1.ebuild
Gentoo

Contents of /media-video/mplayer-bin/mplayer-bin-1.0_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Feb 19 18:21:11 2007 UTC (11 years, 8 months ago) by beandog
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fix dependencies
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-bin/mplayer-bin-1.0_rc1.ebuild,v 1.2 2007/02/18 16:40:52 beandog Exp $
4
5 inherit multilib
6
7 DESCRIPTION="Pre-build mplayer binary for amd64 systems"
8 HOMEPAGE="http://www.gentoo.org/"
9 SRC_URI="mirror://gentoo/${PF}.tbz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="-* ~amd64"
14 IUSE="lirc"
15
16 RDEPEND=">=app-emulation/emul-linux-x86-baselibs-2.0
17 >=app-emulation/emul-linux-x86-soundlibs-2.2
18 >=app-emulation/emul-linux-x86-gtklibs-2.8
19 >=app-emulation/emul-linux-x86-sdl-2.1
20 >=app-emulation/emul-linux-x86-medialibs-1.2
21 >=media-libs/win32codecs-20050412
22 lirc? ( app-misc/lirc )"
23 S="${WORKDIR}"
24 RESTRICT="strip"
25
26 pkg_setup() {
27 # This is a binary x86 package => ABI=x86
28 # Please keep this in future versions
29 # Daniel Gryniewicz <dang@gentoo.org>
30 has_multilib_profile || die
31 ABI="x86"
32 }
33
34 src_install() {
35 cp -pPRvf ${WORKDIR}/* ${D}/
36 dosym /opt/mplayer-bin/bin/mplayer-bin /opt/mplayer-bin/bin/gmplayer-bin
37 dosed dosed -e "s/gmplayer/gmplayer-bin/" /opt/mplayer-bin/share/applications/mplayer.desktop
38 dosym /opt/mplayer-bin/share/applications/mplayer.desktop /usr/share/applications/mplayer-bin.desktop
39 dodir /opt/mplayer-bin/lib
40 dosym /usr/$(get_libdir)/win32 /opt/mplayer-bin/lib/win32
41 }

  ViewVC Help
Powered by ViewVC 1.1.20