1 |
abcd 10/01/08 06:47:50 |
2 |
|
3 |
Modified: ChangeLog win32codecs-20071007-r4.ebuild |
4 |
Log: |
5 |
Add prefix support/keywords; die on failure |
6 |
(Portage version: -svn/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.54 media-libs/win32codecs/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/ChangeLog?rev=1.54&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/ChangeLog?rev=1.54&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/ChangeLog?r1=1.53&r2=1.54 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v |
18 |
retrieving revision 1.53 |
19 |
retrieving revision 1.54 |
20 |
diff -u -r1.53 -r1.54 |
21 |
--- ChangeLog 13 Dec 2009 09:59:28 -0000 1.53 |
22 |
+++ ChangeLog 8 Jan 2010 06:47:49 -0000 1.54 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for media-libs/win32codecs |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v 1.53 2009/12/13 09:59:28 abcd Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v 1.54 2010/01/08 06:47:49 abcd Exp $ |
29 |
+ |
30 |
+ 08 Jan 2010; Jonathan Callen <abcd@g.o> |
31 |
+ win32codecs-20071007-r4.ebuild: |
32 |
+ Add prefix support/keywords; die on failure |
33 |
|
34 |
13 Dec 2009; Jonathan Callen <abcd@g.o> |
35 |
win32codecs-20071007-r4.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.4 media-libs/win32codecs/win32codecs-20071007-r4.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild?rev=1.4&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild?rev=1.4&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild?r1=1.3&r2=1.4 |
44 |
|
45 |
Index: win32codecs-20071007-r4.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild,v |
48 |
retrieving revision 1.3 |
49 |
retrieving revision 1.4 |
50 |
diff -u -r1.3 -r1.4 |
51 |
--- win32codecs-20071007-r4.ebuild 13 Dec 2009 09:59:28 -0000 1.3 |
52 |
+++ win32codecs-20071007-r4.ebuild 8 Jan 2010 06:47:49 -0000 1.4 |
53 |
@@ -1,6 +1,6 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
+# Copyright 1999-2010 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild,v 1.3 2009/12/13 09:59:28 abcd Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/win32codecs-20071007-r4.ebuild,v 1.4 2010/01/08 06:47:49 abcd Exp $ |
59 |
|
60 |
inherit multilib |
61 |
|
62 |
@@ -9,7 +9,7 @@ |
63 |
HOMEPAGE="http://www.mplayerhq.hu/" |
64 |
LICENSE="as-is" |
65 |
SLOT="0" |
66 |
-KEYWORDS="-* ~amd64 x86 ~x86-fbsd" |
67 |
+KEYWORDS="-* ~amd64 x86 ~x86-fbsd ~x86-freebsd ~x86-linux" |
68 |
IUSE="real" |
69 |
|
70 |
RDEPEND="real? ( =virtual/libstdc++-3.3* )" |
71 |
@@ -26,35 +26,32 @@ |
72 |
} |
73 |
|
74 |
src_install() { |
75 |
- # see #83221 |
76 |
- insopts -m0644 |
77 |
- dodir /usr/$(get_libdir)/win32 |
78 |
+ use prefix || EPREFIX= |
79 |
+ |
80 |
+ insinto /usr/$(get_libdir)/win32 |
81 |
+ doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL || die "Failed to install win32 codecs" |
82 |
|
83 |
if use real |
84 |
then |
85 |
- dodir /usr/$(get_libdir)/real |
86 |
insinto /usr/$(get_libdir)/real |
87 |
- doins *so.6.0 |
88 |
+ doins *so.6.0 || die "Failed to install realplayer codecs" |
89 |
|
90 |
# copy newly introduced codecs from realplayer10 |
91 |
# see the ChangeLog online |
92 |
- doins *.so |
93 |
+ doins *.so || die "Failed to install realplayer10 codecs" |
94 |
|
95 |
# fix bug #80321 |
96 |
local x |
97 |
for x in *so.6.0 *.so; do |
98 |
- dosym ../real/$x /usr/$(get_libdir)/win32 |
99 |
+ dosym ../real/$x /usr/$(get_libdir)/win32 || die "Failed to make symlink to $x" |
100 |
done |
101 |
fi |
102 |
|
103 |
- insinto /usr/$(get_libdir)/win32 |
104 |
- |
105 |
- doins *.dll *.ax *.xa *.acm *.vwp *.drv *.DLL |
106 |
- |
107 |
dodoc README |
108 |
|
109 |
- dodir /etc/revdep-rebuild |
110 |
- cat - > "${D}/etc/revdep-rebuild/50win32codecs" <<EOF |
111 |
-SEARCH_DIRS_MASK="/usr/$(get_libdir)/real /usr/$(get_libdir)/win32" |
112 |
+ cat > "${T}/50${PN}" <<EOF |
113 |
+SEARCH_DIRS_MASK="${EPREFIX}/usr/$(get_libdir)/real ${EPREFIX}/usr/$(get_libdir)/win32" |
114 |
EOF |
115 |
+ insinto /etc/revdep-rebuild |
116 |
+ doins "${T}/50${PN}" |
117 |
} |