summaryrefslogtreecommitdiff
blob: 893653f089e8066d39b098bd7784fa9dc1f2ff0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/amd64codecs/amd64codecs-20071007.ebuild,v 1.3 2008/10/28 17:13:07 beandog Exp $

inherit multilib

DESCRIPTION="64-bit binary codecs for video and audio playback support"
SRC_URI="mirror://mplayer/releases/codecs/essential-amd64-${PV}.tar.bz2"
HOMEPAGE="http://www.mplayerhq.hu/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* amd64"
S="${WORKDIR}/essential-amd64-${PV}"
RESTRICT="strip"
IUSE=""

src_install() {
	# see #83221
	insopts -m0644

	dodir /usr/$(get_libdir)/codecs
	insinto /usr/$(get_libdir)/codecs
	doins *.so

	dodoc README

	dodir /etc/revdep-rebuild
	cat - > "${D}/etc/revdep-rebuild/50amd64codecs" <<EOF
SEARCH_DIRS_MASK="/usr/$(get_libdir)/codecs"
EOF
}