summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/win32codecs/win32codecs-20071007-r3.ebuild')
-rw-r--r--media-libs/win32codecs/win32codecs-20071007-r3.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/win32codecs/win32codecs-20071007-r3.ebuild b/media-libs/win32codecs/win32codecs-20071007-r3.ebuild
new file mode 100644
index 000000000000..e06b8847eff7
--- /dev/null
+++ b/media-libs/win32codecs/win32codecs-20071007-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r3.ebuild,v 1.1 2008/10/28 17:49:03 beandog Exp $
+
+inherit multilib
+
+DESCRIPTION="Win32 binary codecs for video and audio playback support"
+SRC_URI="mirror://mplayer/releases/codecs/all-${PV}.tar.bz2"
+HOMEPAGE="http://www.mplayerhq.hu/"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/all-${PV}"
+
+RESTRICT="strip"
+
+QA_TEXTRELS="usr/$(get_libdir)/win32/vid_*.xa"
+
+pkg_setup() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ # Daniel Gryniewicz <dang@gentoo.org>
+ has_multilib_profile && ABI="x86"
+}
+
+src_install() {
+ cd "${S}"
+
+ # see #83221
+ insopts -m0644
+ dodir /usr/$(get_libdir)/win32
+
+ insinto /usr/$(get_libdir)/win32
+
+ doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL
+
+ dodoc README
+
+ dodir /etc/revdep-rebuild
+ cat - > "${D}/etc/revdep-rebuild/50win32codecs" <<EOF
+SEARCH_DIRS_MASK="/usr/$(get_libdir)/win32"
+EOF
+}