diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-libs/win32codecs | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'media-libs/win32codecs')
-rw-r--r-- | media-libs/win32codecs/Manifest | 2 | ||||
-rw-r--r-- | media-libs/win32codecs/win32codecs-20071007-r5.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/win32codecs/Manifest b/media-libs/win32codecs/Manifest new file mode 100644 index 0000000..e178399 --- /dev/null +++ b/media-libs/win32codecs/Manifest @@ -0,0 +1,2 @@ +DIST all-20071007.tar.bz2 13864479 SHA256 7aae7fc658d7a9a1766002435fd75436fead9c2d45eac3d67588c313cde0d8da SHA512 b2ca67a8c7d87a9a62a78fce2c4bcba2a33604afdecf68275035107caea5421c03853dfbd642c915c3374fcfdb477fcb41fab051158e2aaaf61f091ada9229a2 WHIRLPOOL 50b4e2a08f6630d72ae684fd69c45929fcc37df0c442cef431ce09e7220f074f2d86b94ee6c675b0d3b8c6c15bd4983264c2c3063544cf466a3cc96239c44b07 +EBUILD win32codecs-20071007-r5.ebuild 1574 SHA256 b004ef71fba5009c6af0b9e3805172caa2c16ccd59314f410471dd374c9a36ac SHA512 9b7bcc5a3306341d748b47d6ef45c2533243834a7d8c83a2de387cb3bafd7f1c17170bea1a6f2c036c925fff5d179191cddcf453df7d4dd48b5016b6bc5593c4 WHIRLPOOL 693c7cc6656162afe9e1f46ef94dcf8e1880f956ddd31615f8c8447c75820a52343babdce8dae3a36922cdea359b0ab6fde8c17f85163264fde9629100fead82 diff --git a/media-libs/win32codecs/win32codecs-20071007-r5.ebuild b/media-libs/win32codecs/win32codecs-20071007-r5.ebuild new file mode 100644 index 0000000..b00d51a --- /dev/null +++ b/media-libs/win32codecs/win32codecs-20071007-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild,v 1.6 2013/05/03 15:35:03 ulm Exp $ + +inherit multilib + +DESCRIPTION="Windows 32-bit 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 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-linux" +IUSE="real" + +RDEPEND="real? ( =virtual/libstdc++-3.3* )" + +S="${WORKDIR}/all-${PV}" + +RESTRICT="mirror strip binchecks" + +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() { + use prefix || EPREFIX= + + insinto /usr/$(get_libdir)/win32 + doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL || die "Failed to install win32 codecs" + + if use real + then + insinto /usr/$(get_libdir)/real + doins *so.6.0 || die "Failed to install realplayer codecs" + + # copy newly introduced codecs from realplayer10 + # see the ChangeLog online + doins *.so || die "Failed to install realplayer10 codecs" + + # fix bug #80321 + local x + for x in *so.6.0 *.so; do + dosym ../real/$x /usr/$(get_libdir)/win32 || die "Failed to make symlink to $x" + done + fi + + dodoc README + + cat > "${T}/50${PN}" <<EOF +SEARCH_DIRS_MASK="${EPREFIX}/usr/$(get_libdir)/real ${EPREFIX}/usr/$(get_libdir)/win32" +EOF + insinto /etc/revdep-rebuild + doins "${T}/50${PN}" +} |