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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Feb 25 15:46:16 2007 UTC (11 years, 4 months ago) by beandog
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove broken versions
(Portage version: 2.1.1-r2)

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-r2.ebuild,v 1.1 2007/02/20 14:06:02 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=""
15
16 RDEPEND=">=app-emulation/emul-linux-x86-baselibs-2.5.5-r3
17 >=app-emulation/emul-linux-x86-soundlibs-2.5-r2
18 >=app-emulation/emul-linux-x86-gtklibs-2.10.6.3-r3
19 >=app-emulation/emul-linux-x86-sdl-2.3-r1
20 >=app-emulation/emul-linux-x86-medialibs-1.2-r1
21 >=media-libs/win32codecs-20061022-r1"
22 S="${WORKDIR}"
23 RESTRICT="strip"
24
25 pkg_setup() {
26 # This is a binary x86 package => ABI=x86
27 # Please keep this in future versions
28 # Daniel Gryniewicz <dang@gentoo.org>
29 has_multilib_profile || die
30 ABI="x86"
31 }
32
33 src_install() {
34 cp -pPRvf ${WORKDIR}/* ${D}/
35 dosym /opt/mplayer-bin/bin/mplayer-bin /opt/mplayer-bin/bin/gmplayer-bin
36 dosed dosed -e "s/gmplayer/gmplayer-bin/" /opt/mplayer-bin/share/applications/mplayer.desktop
37 dosym /opt/mplayer-bin/share/applications/mplayer.desktop /usr/share/applications/mplayer-bin.desktop
38 dodir /opt/mplayer-bin/lib
39 dosym /usr/$(get_libdir)/win32 /opt/mplayer-bin/lib/win32
40 }

  ViewVC Help
Powered by ViewVC 1.1.20