1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-21 18:45:51 +01:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1,194 @@
# ChangeLog for media-libs/gdk-pixbuf
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.44 2006/10/16 23:23:31 blubb Exp $
16 Oct 2006; Simon Stelling <blubb@gentoo.org>
gdk-pixbuf-0.22.0-r5.ebuild:
don't let the build system decide whether we use mmx or not
20 Nov 2005; Hardave Riar <hardave@gentoo.org>
gdk-pixbuf-0.22.0-r5.ebuild:
Stable on mips, bug #112608.
*gdk-pixbuf-0.22.0-r5 (15 Nov 2005)
15 Nov 2005; Leonardo Boshell <leonardop@gentoo.org>
files/gdk-pixbuf-0.22.0-loaders.patch, +gdk-pixbuf-0.22.0-r5.ebuild:
Modified patch to fix a few more probems with the XPM loader (bug #112608).
Revision bump to propagate the changes, and marked stable on all arches that
reported back successful testing.
29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
17 Oct 2004; Hardave Riar <hardave@gentoo.org> gdk-pixbuf-0.22.0-r3.ebuild:
Stable on mips, bug #64230.
09 Oct 2004; Tom Gall <tgall@gentoo.org> gdk-pixbuf-0.22.0-r3.ebuild:
stable on ppc64, bug #64230
06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
gdk-pixbuf-0.22.0-r3.ebuild:
get_libdir fixes.
20 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org>
gdk-pixbuf-0.22.0-r3.ebuild:
Stable on alpha, bug 64240.
20 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org>
gdk-pixbuf-0.22.0-r3.ebuild:
Stable on sparc wrt #64230
*gdk-pixbuf-0.22.0-r3 (20 Sep 2004)
20 Sep 2004; foser <foser@gentoo.org> gdk-pixbuf-0.22.0.ebuild :
Add security fixes (#64230)
18 Aug 2004; Aron Griffis <agriffis@gentoo.org> gdk-pixbuf-0.22.0-r2.ebuild:
stable on alpha
29 Jul 2004; Tom Gall <tgall@gentoo.org> gdk-pixbuf-0.22.0-r2.ebuild:
stable on ppc64, bug #55676
14 Apr 2004; Stephen P. Becker <geoman@gentoo.org>
gdk-pixbuf-0.22.0-r2.ebuild:
Marked stable on mips.
23 Mar 2004; Jon Portnoy <avenj@gentoo.org>
gdk-pixbuf-0.22.0-r2.ebuild :
Fix amd64/!amd64 DEPEND construct.
13 Mar 2004; Stephen P. Becker <geoman@gentoo.org>
gdk-pixbuf-0.22.0-r2.ebuild:
Added gnuconfig_update for mipslinux systems, and added ~mips keyword.
04 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org>
gdk-pixbuf-0.22.0-r2.ebuild:
stable on sparc
09 Jan 2004; <agriffis@gentoo.org> gdk-pixbuf-0.22.0-r2.ebuild:
stable on ia64
*gdk-pixbuf-0.22.0-r1 (15 Sep 2003)
15 Sep 2003; Mike Gardiner <obz@gentoo.org> gdk-pixbuf-0.18.0-r1.ebuild,
gdk-pixbuf-0.22.0-r1.ebuild:
Removed older versions, but keeping keywords consistency
15 Sep 2003; Mike Gardiner <obz@gentoo.org> gdk-pixbuf-0.22.0.ebuild,
metadata.xml:
Marked stable on x86, and added metadata.xml
*gdk-pixbuf-0.22.0-r2 (18 Aug 2003)
18 Aug 2003; <spider@gentoo.org> gdk-pixbuf-0.22.0-r2.ebuild:
support for USE="mmx" flag (thanks to Serge Matveev <serge@matveev.spb.ru>)
13 Aug 2003; <spider@gentoo.org> :
added a db-1 dependency (copied from gnome-libs) to get specifics.
04 Feb 2003; Aron Griffis <agriffis@gentoo.org> gdk-pixbuf-0.22.0.ebuild :
Mark stable on alpha
*gdk-pixbuf-0.22.0 (22 Dec 2002)
04 Jul 2003; Guy Martin <gmsoft@gentoo.org> gdk-pixbuf-0.22.0.ebuild :
Added hppa to KEYWORDS.
22 Dec 2002; foser <foser@gentoo.org> gdk-pixbuf-0.22.0.ebuild :
New version, removed obsolete unpack hack
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*gdk-pixbuf-0.21.0 (07 Nov 2002)
08 Apr 2003; Todd Sunderlin <todd@gentoo.org> gdk-pixbuf-0.21.0.ebuild:
Marked stable for sparc.
07 Nov 2002; foser <foser@gentoo.org> gdk-pixbuf-0.21.0.ebuild :
New version, fixed some deps added doc USE
*gdk-pixbuf-0.20.0 (01 Oct 2002)
01 Oct 2002; Spider <spider@gentoo.org> gdk-pixbuf-0.20.0.ebuild : uodated
to the latest version, added fixes for the -config script. hopefully
this solves the bugs with missing include dirs.
*gdk-pixbuf-0.18.0-r1 (24 Jun 2002)
25 Jul 2002; Spider <spider@gentoo.org> :
seems this needs db-1.85 or it will fail to build.
added dependency. per bug #5382
24 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
Convert to use libtool.eclass.
*gdk-pixbuf-0.18.0 (19 Jun 2002)
19 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> gdk-pixbuf-0.18.0.ebuild:
Version bump.
*gdk-pixbuf-0.17.0 (05 Jun 2002)
05 Jun 2002; Olivier R. <doctomoe@gentoo.org> gdk-pixbuf-0.17.0.ebuild:
Added media-libs/imlib as dependency, as it is needed to compile properly.
*gdk-pixbuf-0.17.0 (20 Apr 2002)
*gdk-pixbuf-0.16.0-r9 (12 Apr 2002)
12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gdk-pixbuf-0.16.0-r9.ebuild:
Updated to depend on the new libpng (which requires that this be recompiled
against that).
*gdk-pixbuf-0.16.0-r8 (8 Apr 2002)
8 Apr 2002; M.Schlemmer <azarah@gentoo.org> gdk-pixbuf-0.16.0-r8.ebuild :
Change to use the "virtualx" eclass. Some cleanups.
3 Apr 2002; M.Schlemmer <azarah@gentoo.org> gdk-pixbuf-0.16.0-r7.ebuild :
Remove unneeded auto* stuff.
*gdk-pixbuf-0.16.0-r7 (2 Apr 2002)
2 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gdk-pixbuf-0.16.0-r7.ebuild :
For the record: blocke is a sheer genius. His idea was to look at an RPM, so
I had a look at Mandrake's src.rpm, and lo! David BAUDENS
<baudens@mandrakesoft.com> had a fix for compiling without the display.
*gdk-pixbuf-0.16.0-r6 (31 Mar 2002)
31 Mar 2002; Seemant Kulleen <seemant@gentoo.org> gdk-pixbuf-0.16.0-r6.ebuild:
GNOME support is no longer an option -- it is built-in automatically, because
downstream applications tend to expect it in this package.
*gdk-pixbuf-0.16.0-r5 (16 Mar 2002)
16 Mar 2002; M.Schlemmer <azarah@gentoo.org> :
Libtoolize to fix "rebuild" bug.
17 Feb 2002; M.Schlemmer <azarah@gentoo.org> gdk-pixbuf-0.16.0-r4.ebuild :
Fix the build to do the libraries in /usr/lib/gdk-pixbuf/loaders/ properly the
first time. This is hackish at the moment, but seems to be a upstream
problem. This should resolve the need to remerge gdk-pixbuf twice to get
mentioned libraries.
*gdk-pixbuf-0.16.0-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@@ -0,0 +1,32 @@
AUX gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch 1157 RMD160 cbae52afefb9cebfb0fe262c7b1dd1300794a358 SHA1 a4ef059db072707c261275ff2e86ca9a3f30d8ab SHA256 d3196c1666f560997bc5cd5be4787156c64f92dc0fd8dada8ad3c16793b90970
MD5 d1fb93f1ae994875158a7e0c108c36f8 files/gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch 1157
RMD160 cbae52afefb9cebfb0fe262c7b1dd1300794a358 files/gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch 1157
SHA256 d3196c1666f560997bc5cd5be4787156c64f92dc0fd8dada8ad3c16793b90970 files/gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch 1157
AUX gdk-pixbuf-0.22.0-bmp_secure.patch 557 RMD160 49e26cd7d4d190a4692bce88d65d8def2a4a6fff SHA1 7b8ceaaf9158af0cefe98a6cc509a1a0ced7d85d SHA256 1bb9330c75e8ceb927620f03717d442185b84602b9ec67bb6940518aabdff5f8
MD5 5f59d5772b1482d885a180dbc581cf84 files/gdk-pixbuf-0.22.0-bmp_secure.patch 557
RMD160 49e26cd7d4d190a4692bce88d65d8def2a4a6fff files/gdk-pixbuf-0.22.0-bmp_secure.patch 557
SHA256 1bb9330c75e8ceb927620f03717d442185b84602b9ec67bb6940518aabdff5f8 files/gdk-pixbuf-0.22.0-bmp_secure.patch 557
AUX gdk-pixbuf-0.22.0-loaders.patch 3589 RMD160 8aa0bd1f88ce8f50d1ec2a396e4f88fc3a42e4e4 SHA1 79ad22e48da40652aa9d06cb3350beffa4f20094 SHA256 310824874429c26b277c985b218e133ded4e94c51de389979875de38ddb57400
MD5 3cf31ae0509747f72ac27a9fd96109c2 files/gdk-pixbuf-0.22.0-loaders.patch 3589
RMD160 8aa0bd1f88ce8f50d1ec2a396e4f88fc3a42e4e4 files/gdk-pixbuf-0.22.0-loaders.patch 3589
SHA256 310824874429c26b277c985b218e133ded4e94c51de389979875de38ddb57400 files/gdk-pixbuf-0.22.0-loaders.patch 3589
AUX gdk-pixbuf-0.22.0-m4.patch 276 RMD160 35bf793c8eb8f3555505c7abf42822bc165da06f SHA1 3082b4fefdd4b2deadc3f77e85e7bcd95f0b83e5 SHA256 4a62476624319a09c000d01d45689167ea5cf1665e4c7e988032ffff11920132
MD5 3edfa9fe9382fd8206d6238ec121a5af files/gdk-pixbuf-0.22.0-m4.patch 276
RMD160 35bf793c8eb8f3555505c7abf42822bc165da06f files/gdk-pixbuf-0.22.0-m4.patch 276
SHA256 4a62476624319a09c000d01d45689167ea5cf1665e4c7e988032ffff11920132 files/gdk-pixbuf-0.22.0-m4.patch 276
DIST gdk-pixbuf-0.22.0.tar.bz2 398208 RMD160 0e56a0f883fd8e3fb4d49b9a38f984b95cd96ece SHA1 495324afb5abebc14567ffd5a6cd72333bcc7f5b SHA256 411f2a1c27c3afadc5d034f2213d9f6c3a37f564eb5989cf6e8a53729280ae22
EBUILD gdk-pixbuf-0.22.0-r5.ebuild 1655 RMD160 49dbc10d6a405ac6aa33a28054459377f5763c85 SHA1 9f7562caf696ad9c4fba10d31334bef95c788829 SHA256 369645a93ad50f35bfa47463bfa2a8c357ad327cb3d4754b006bf9deb7c27368
MD5 83c0e1e114933c83fec0959ef9f62a0c gdk-pixbuf-0.22.0-r5.ebuild 1655
RMD160 49dbc10d6a405ac6aa33a28054459377f5763c85 gdk-pixbuf-0.22.0-r5.ebuild 1655
SHA256 369645a93ad50f35bfa47463bfa2a8c357ad327cb3d4754b006bf9deb7c27368 gdk-pixbuf-0.22.0-r5.ebuild 1655
MISC ChangeLog 6553 RMD160 2a328c79f3f09d3ed0f1cee4d4fcba2942ff3d6c SHA1 a29c8f4ea808d5c9f4dbd7cee92a7551182767e6 SHA256 97ec6d49d7c42ead77648767ec6e384eeeaa68259c336624b9dc4d0e0ea1d74a
MD5 edce664ec9f193c0e8dac16dac0cd0de ChangeLog 6553
RMD160 2a328c79f3f09d3ed0f1cee4d4fcba2942ff3d6c ChangeLog 6553
SHA256 97ec6d49d7c42ead77648767ec6e384eeeaa68259c336624b9dc4d0e0ea1d74a ChangeLog 6553
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158
MD5 79304c539cdf535d0d9d22f692be926d files/digest-gdk-pixbuf-0.22.0-r5 256
RMD160 e47e65fca37659885f77eeac116c0bdc113aacab files/digest-gdk-pixbuf-0.22.0-r5 256
SHA256 e0d89abd734807451c72124bb2435f6dbf9517fd37714e49b6bd88691ee53a2a files/digest-gdk-pixbuf-0.22.0-r5 256

View File

@@ -0,0 +1,3 @@
MD5 05fcb68ceaa338614ab650c775efc2f2 gdk-pixbuf-0.22.0.tar.bz2 398208
RMD160 0e56a0f883fd8e3fb4d49b9a38f984b95cd96ece gdk-pixbuf-0.22.0.tar.bz2 398208
SHA256 411f2a1c27c3afadc5d034f2213d9f6c3a37f564eb5989cf6e8a53729280ae22 gdk-pixbuf-0.22.0.tar.bz2 398208

View File

@@ -0,0 +1,48 @@
--- gdk-pixbuf-0.22.0/gdk-pixbuf/io-bmp.c 2002-09-27 23:12:40.000000000 +0200
+++ gdk-pixbuf-0.22.0.patched/gdk-pixbuf/io-bmp.c 2005-03-30 01:33:06.000000000 +0200
@@ -31,8 +31,6 @@
#include "gdk-pixbuf-private.h"
#include "gdk-pixbuf-io.h"
-
-
#if 0
/* If these structures were unpacked, they would define the two headers of the
* BMP file. After them comes the palette, and then the image data.
@@ -206,7 +204,7 @@
if (State == NULL)
return NULL;
-
+
while (feof(f) == 0) {
length = fread(membuf, 1, sizeof (membuf), f);
if (length > 0)
@@ -245,11 +243,26 @@
static gboolean
grow_buffer (struct bmp_progressive_state *State)
{
- guchar *tmp = realloc (State->buff, State->BufferSize);
+ guchar *tmp;
+
+ if (State->BufferSize == 0) {
+#if 0
+ g_set_error (error,
+ GDK_PIXBUF_ERROR,
+ GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
+ _("BMP image has bogus header data"));
+#endif
+ State->read_state = READ_STATE_ERROR;
+ return FALSE;
+ }
+
+ tmp = realloc (State->buff, State->BufferSize);
+
if (!tmp) {
State->read_state = READ_STATE_ERROR;
return FALSE;
}
+
State->buff = tmp;
return TRUE;
}

View File

@@ -0,0 +1,19 @@
Index: io-bmp.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk-pixbuf/io-bmp.c,v
retrieving revision 1.41
diff -u -p -r1.41 io-bmp.c
--- gdk-pixbuf/io-bmp.c 13 Aug 2004 02:26:57 -0000 1.41
+++ gdk-pixbuf/io-bmp.c 20 Aug 2004 00:18:14 -0000
@@ -876,8 +876,10 @@ DoCompressed(struct bmp_progressive_stat
guchar c;
gint idx;
- if (context->compr.y >= context->Header.height)
+ if (context->compr.y >= context->Header.height) {
+ context->BufferDone = 0;
return TRUE;
+ }
y = context->compr.y;

View File

@@ -0,0 +1,134 @@
diff -NurdB gdk-pixbuf-0.22.0/gdk-pixbuf/io-ico.c gdk-pixbuf-0.22.0-patched/gdk-pixbuf/io-ico.c
--- gdk-pixbuf-0.22.0/gdk-pixbuf/io-ico.c 2002-09-27 17:19:15.000000000 -0500
+++ gdk-pixbuf-0.22.0-patched/gdk-pixbuf/io-ico.c 2005-10-27 11:28:23.000000000 -0500
@@ -330,6 +330,9 @@
State->HeaderSize+=I;
+ if (State->HeaderSize < 0)
+ return FALSE;
+
if (State->HeaderSize>State->BytesInHeaderBuf) {
guchar *tmp=realloc(State->HeaderBuf,State->HeaderSize);
if (!tmp)
diff -NurdB gdk-pixbuf-0.22.0/gdk-pixbuf/io-xpm.c gdk-pixbuf-0.22.0-patched/gdk-pixbuf/io-xpm.c
--- gdk-pixbuf-0.22.0/gdk-pixbuf/io-xpm.c 2001-03-01 15:16:28.000000000 -0500
+++ gdk-pixbuf-0.22.0-patched/gdk-pixbuf/io-xpm.c 2005-10-27 11:29:14.000000000 -0500
@@ -243,8 +243,8 @@
break;
else {
if (numnames > 0) {
- space -= 1;
- strcat (color, " ");
+ strncat (color, " ", space);
+ space -= MIN (space, 1);
}
strncat (color, temp, space);
@@ -281,7 +281,8 @@
/* Fall through to the xpm_read_string. */
case op_body:
- xpm_read_string (h->infile, &h->buffer, &h->buffer_size);
+ if(!xpm_read_string (h->infile, &h->buffer, &h->buffer_size))
+ return NULL;
return h->buffer;
default:
@@ -317,13 +318,6 @@
return NULL;
}
-/* Destroy notification function for the pixbuf */
-static void
-free_buffer (guchar *pixels, gpointer data)
-{
- free (pixels);
-}
-
static gboolean
xpm_color_parse (const char *spec, XColor *color)
{
@@ -342,7 +336,8 @@
gchar pixel_str[32];
GHashTable *color_hash;
_XPMColor *colors, *color, *fallbackcolor;
- guchar *pixels, *pixtmp;
+ guchar *pixtmp;
+ GdkPixbuf* pixbuf;
fallbackcolor = NULL;
@@ -352,16 +347,33 @@
return NULL;
}
sscanf (buffer, "%d %d %d %d", &w, &h, &n_col, &cpp);
- if (cpp >= 32) {
- g_warning ("XPM has more than 31 chars per pixel.");
+ if (cpp <= 0 || cpp >= 32) {
+ g_warning ("XPM has invalid number of chars per pixel.");
return NULL;
}
+ if (n_col <= 0 ||
+ n_col >= G_MAXINT / (cpp + 1) ||
+ n_col >= G_MAXINT / sizeof (_XPMColor)) {
+ g_warning ("XPM file has invalid number of colors");
+ return NULL;
+ }
/* The hash is used for fast lookups of color from chars */
color_hash = g_hash_table_new (g_str_hash, g_str_equal);
- name_buf = g_new (gchar, n_col * (cpp + 1));
- colors = g_new (_XPMColor, n_col);
+ name_buf = g_new (gchar, n_col * (cpp + 1));
+ if (!name_buf) {
+ g_warning ("Cannot allocate memory for loading XPM image");
+ g_hash_table_destroy (color_hash);
+ return NULL;
+ }
+ colors = g_new (_XPMColor, n_col);
+ if (!colors) {
+ g_warning ("Cannot allocate memory for loading XPM image");
+ g_hash_table_destroy (color_hash);
+ g_free (name_buf);
+ return NULL;
+ }
for (cnt = 0; cnt < n_col; cnt++) {
gchar *color_name;
@@ -397,12 +409,8 @@
fallbackcolor = color;
}
- if (is_trans)
- pixels = malloc (w * h * 4);
- else
- pixels = malloc (w * h * 3);
-
- if (!pixels) {
+ pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, is_trans, 8, w, h);
+ if (!pixbuf) {
g_hash_table_destroy (color_hash);
g_free (colors);
g_free (name_buf);
@@ -410,7 +418,7 @@
}
wbytes = w * cpp;
- pixtmp = pixels;
+ pixtmp = pixbuf->pixels;
for (ycnt = 0; ycnt < h; ycnt++) {
buffer = (*get_buf) (op_body, handle);
@@ -443,9 +451,7 @@
g_free (colors);
g_free (name_buf);
- return gdk_pixbuf_new_from_data (pixels, GDK_COLORSPACE_RGB, is_trans, 8,
- w, h, is_trans ? (w * 4) : (w * 3),
- free_buffer, NULL);
+ return pixbuf;
}
/* Shared library entry point for file loading */

View File

@@ -0,0 +1,9 @@
Fix aclocal warning:
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
--- gdk-pixbuf-0.22.0/gdk-pixbuf.m4
+++ gdk-pixbuf-0.22.0/gdk-pixbuf.m4
@@ -11,3 +11,3 @@
dnl
-AC_DEFUN(AM_PATH_GDK_PIXBUF,
+AC_DEFUN([AM_PATH_GDK_PIXBUF],
[dnl

View File

@@ -0,0 +1,64 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/gdk-pixbuf-0.22.0-r5.ebuild,v 1.5 2006/10/16 23:23:31 blubb Exp $
inherit virtualx libtool gnome.org eutils
DESCRIPTION="GNOME Image Library"
HOMEPAGE="http://www.gtk.org/"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
IUSE="doc mmx"
RDEPEND="media-libs/jpeg
media-libs/tiff
=x11-libs/gtk+-1.2*
>=media-libs/libpng-1.2.1
amd64? ( sys-libs/db )
!amd64? ( <sys-libs/db-2 )
>=gnome-base/gnome-libs-1.4.1.2-r1"
# We need gnome-libs here, else gnome support do not get compiled into
# gdk-pixbuf (the GnomeCanvasPixbuf library )
DEPEND="${RDEPEND}
doc? ( dev-util/gtk-doc )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch
# security fix (#64230)
epatch "${FILESDIR}"/${P}-bmp_secure.patch
epatch "${FILESDIR}"/${P}-loaders.patch
# reject corrupt bmps (#64230)
epatch "${FILESDIR}"/${P}-bmp_reject_corrupt.patch
# update libtool, else we get the "relink bug"
elibtoolize
}
src_compile() {
econf \
--sysconfdir=/etc/X11/gdk-pixbuf \
$(use_enable doc gtk-doc) \
$(use_enable mmx) \
|| die
# build needs to be able to
# connect to an X display.
Xemake || die
}
src_install() {
einstall \
sysconfdir="${D}"/etc/X11/gdk-pixbuf || die
dosed -e "s:${D}::g" /usr/bin/gdk-pixbuf-config
# fix permissions on the loaders
chmod a+rx "${D}"/usr/$(get_libdir)/gdk-pixbuf/loaders
chmod a+r "${D}"/usr/$(get_libdir)/gdk-pixbuf/loaders/*
dodoc AUTHORS ChangeLog INSTALL README NEWS TODO
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

View File

@@ -0,0 +1,8 @@
DIST libmusepack-1.1.tar.bz2 293731 RMD160 54ef101484ff5ddb3324ad44157eb73d8a0c469b SHA1 39cb475bd6c5cb3172a86ea2cdc900553a863e1e SHA256 dc71d69a55d8f237367668d5ebad4d09734e3406fc96f5dd2ac692fc522af32d
EBUILD libmusepack-1.1-r1.ebuild 641 RMD160 b680c43ed4d296c028c6d0dbadc63a6eb803b0d4 SHA1 0e6572058da77500076c14e5a869ce3a7ba62574 SHA256 bdaf1d5583f52156ea61cc5a508d12572f33e0133419394229b2abc2d4fc078b
MD5 051d5b94842242437f1c1940cf1f7af5 libmusepack-1.1-r1.ebuild 641
RMD160 b680c43ed4d296c028c6d0dbadc63a6eb803b0d4 libmusepack-1.1-r1.ebuild 641
SHA256 bdaf1d5583f52156ea61cc5a508d12572f33e0133419394229b2abc2d4fc078b libmusepack-1.1-r1.ebuild 641
MD5 558f0a9fc123af2b6406eb50c5e80ab4 files/digest-libmusepack-1.1-r1 250
RMD160 0e1891e3b187b143a663b975c185c27985265c82 files/digest-libmusepack-1.1-r1 250
SHA256 a49dbeda8856e6ff75c85035d9ae78243a467410f16f3c3f9a29503ea1e3f173 files/digest-libmusepack-1.1-r1 250

View File

@@ -0,0 +1,3 @@
MD5 c06aa1da054ed79989cd71d5300ed7c5 libmusepack-1.1.tar.bz2 293731
RMD160 54ef101484ff5ddb3324ad44157eb73d8a0c469b libmusepack-1.1.tar.bz2 293731
SHA256 dc71d69a55d8f237367668d5ebad4d09734e3406fc96f5dd2ac692fc522af32d libmusepack-1.1.tar.bz2 293731

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmusepack/libmusepack-1.1-r1.ebuild,v 1.5 2006/10/28 00:41:48 flameeyes Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
inherit autotools
DESCRIPTION="Musepack decoder library"
HOMEPAGE="http://www.musepack.net"
SRC_URI="http://files.musepack.net/source/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
eautoreconf
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README
}

16
media-libs/mac/Manifest Normal file
View File

@@ -0,0 +1,16 @@
AUX mac-pointercasting.patch 6285 RMD160 1a07367cf486bc20d1b03a3d7c8244dbcb2a6d93 SHA1 b1ce4586b859f3f70335b8495911c3db126822a5 SHA256 222b472aa468f299fff690022448c1ba873c6128a5bf18a60ec4c754887faa9d
MD5 a17a2029108c23d93bc3b04decc2cce3 files/mac-pointercasting.patch 6285
RMD160 1a07367cf486bc20d1b03a3d7c8244dbcb2a6d93 files/mac-pointercasting.patch 6285
SHA256 222b472aa468f299fff690022448c1ba873c6128a5bf18a60ec4c754887faa9d files/mac-pointercasting.patch 6285
AUX mac-precision.patch 6084 RMD160 af31d1c5d8d610b7badf83020be0185991d7cb0e SHA1 9f29a09466f29433196982e87f8eb8589fc0c710 SHA256 de1360b845637837c6500a4e9acd1279dd510c2f765408fe6878a8f09621eda5
MD5 5eb76a0457217f4267d8ed29d60ac4fc files/mac-precision.patch 6084
RMD160 af31d1c5d8d610b7badf83020be0185991d7cb0e files/mac-precision.patch 6084
SHA256 de1360b845637837c6500a4e9acd1279dd510c2f765408fe6878a8f09621eda5 files/mac-precision.patch 6084
DIST mac-3.99-u4-b4.tar.gz 435442 RMD160 d0b912bd48ef9a6a60e4f33779a8d9942d4c98fe SHA1 4248340d03ae8cd44a5e37864c197ebff506ffb4 SHA256 707e03533ccf66adbbc5bae1f97d98804882af57fdfee6238320f56a53a6639d
EBUILD mac-3.99.4.4-r1.ebuild 991 RMD160 aa85f33fd8474e938adab4508a906235af156b78 SHA1 f326a100b8fdd5cd750417e5b59fb3692bfc9907 SHA256 4b8ed9df447ad15b45eac1de5e4095d91b5a5b4e9c3481fabe97bb5c9c916918
MD5 4e3f4460d96abb131f59e0dd02862104 mac-3.99.4.4-r1.ebuild 991
RMD160 aa85f33fd8474e938adab4508a906235af156b78 mac-3.99.4.4-r1.ebuild 991
SHA256 4b8ed9df447ad15b45eac1de5e4095d91b5a5b4e9c3481fabe97bb5c9c916918 mac-3.99.4.4-r1.ebuild 991
MD5 cb4b13f7e0d76e95294a019b69c75faf files/digest-mac-3.99.4.4-r1 244
RMD160 12de7b7fde377f2235351afc947f9450a22bfe24 files/digest-mac-3.99.4.4-r1 244
SHA256 3596f931a6813969d59adb7badd4548add72b4edbbb790eab3dec508348abb39 files/digest-mac-3.99.4.4-r1 244

View File

@@ -0,0 +1,3 @@
MD5 7eab2b9cc4bb696452d6c147976294b5 mac-3.99-u4-b4.tar.gz 435442
RMD160 d0b912bd48ef9a6a60e4f33779a8d9942d4c98fe mac-3.99-u4-b4.tar.gz 435442
SHA256 707e03533ccf66adbbc5bae1f97d98804882af57fdfee6238320f56a53a6639d mac-3.99-u4-b4.tar.gz 435442

View File

@@ -0,0 +1,114 @@
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp mac/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp
--- orig/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp Sun Jul 3 16:31:35 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp Mon Nov 28 02:05:18 2005
@@ -23,7 +23,7 @@
}
// get format information
- GetInfo(APE_INFO_WAVEFORMATEX, (int) &m_wfeInput);
+ GetInfo(APE_INFO_WAVEFORMATEX, (long) &m_wfeInput);
m_nBlockAlign = GetInfo(APE_INFO_BLOCK_ALIGN);
// initialize other stuff
@@ -367,7 +367,7 @@
/*****************************************************************************************
Get information from the decompressor
*****************************************************************************************/
-int CAPEDecompress::GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1, int nParam2)
+int CAPEDecompress::GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1, int nParam2)
{
int nRetVal = 0;
BOOL bHandled = TRUE;
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.h mac/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.h
--- orig/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.h Thu Mar 10 13:36:25 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/APEDecompress.h Mon Nov 28 02:05:37 2005
@@ -22,7 +22,7 @@
int GetData(char * pBuffer, int nBlocks, int * pBlocksRetrieved);
int Seek(int nBlockOffset);
- int GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1 = 0, int nParam2 = 0);
+ int GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1 = 0, int nParam2 = 0);
protected:
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/APEInfo.cpp mac/work/mac-3.99-u4-b4/src/MACLib/APEInfo.cpp
--- orig/work/mac-3.99-u4-b4/src/MACLib/APEInfo.cpp Mon Nov 28 02:15:38 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/APEInfo.cpp Mon Nov 28 02:13:29 2005
@@ -129,7 +129,7 @@
/*****************************************************************************************
Primary query function
*****************************************************************************************/
-int CAPEInfo::GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1, int nParam2)
+int CAPEInfo::GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1, int nParam2)
{
int nRetVal = -1;
@@ -254,7 +254,7 @@
}
else
{
- WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeFormat, 0);
+ WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (long) &wfeFormat, 0);
WAVE_HEADER WAVHeader; FillWaveHeader(&WAVHeader, m_APEFileInfo.nWAVDataBytes, &wfeFormat,
m_APEFileInfo.nWAVTerminatingBytes);
memcpy(pBuffer, &WAVHeader, sizeof(WAVE_HEADER));
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/APEInfo.h mac/work/mac-3.99-u4-b4/src/MACLib/APEInfo.h
--- orig/work/mac-3.99-u4-b4/src/MACLib/APEInfo.h Thu Mar 10 13:36:25 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/APEInfo.h Mon Nov 28 02:13:35 2005
@@ -82,7 +82,7 @@
virtual ~CAPEInfo();
// query for information
- int GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1 = 0, int nParam2 = 0);
+ int GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1 = 0, int nParam2 = 0);
private:
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/APESimple.cpp mac/work/mac-3.99-u4-b4/src/MACLib/APESimple.cpp
--- orig/work/mac-3.99-u4-b4/src/MACLib/APESimple.cpp Thu Mar 10 13:36:25 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/APESimple.cpp Mon Nov 28 02:00:57 2005
@@ -291,7 +291,7 @@
if (spAPEDecompress == NULL || nFunctionRetVal != ERROR_SUCCESS) throw(nFunctionRetVal);
// get the input format
- THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeInput))
+ THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (long) &wfeInput))
// allocate space for the header
spTempBuffer.Assign(new unsigned char [spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES)], TRUE);
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/MACLib.h mac/work/mac-3.99-u4-b4/src/MACLib/MACLib.h
--- orig/work/mac-3.99-u4-b4/src/MACLib/MACLib.h Tue May 31 10:02:27 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/MACLib.h Mon Nov 28 02:06:30 2005
@@ -259,7 +259,7 @@
// int nParam2
// generic parameter... usage is listed in APE_DECOMPRESS_FIELDS
//////////////////////////////////////////////////////////////////////////////////////////////
- virtual int GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1 = 0, int nParam2 = 0) = 0;
+ virtual int GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1 = 0, int nParam2 = 0) = 0;
};
/*************************************************************************************************
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp mac/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp
--- orig/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp Fri Mar 11 13:23:37 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp Mon Nov 28 02:11:44 2005
@@ -165,7 +165,7 @@
return ERROR_SUCCESS;
}
-int CAPEDecompressOld::GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1, int nParam2)
+int CAPEDecompressOld::GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1, int nParam2)
{
int nRetVal = 0;
BOOL bHandled = TRUE;
diff -ru --exclude Makefile --exclude *.Plo orig/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.h mac/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.h
--- orig/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.h Thu Mar 10 13:36:26 2005
+++ mac/work/mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.h Mon Nov 28 02:11:54 2005
@@ -13,7 +13,7 @@
int GetData(char * pBuffer, int nBlocks, int * pBlocksRetrieved);
int Seek(int nBlockOffset);
- int GetInfo(APE_DECOMPRESS_FIELDS Field, int nParam1 = 0, int nParam2 = 0);
+ int GetInfo(APE_DECOMPRESS_FIELDS Field, long nParam1 = 0, int nParam2 = 0);
protected:

View File

@@ -0,0 +1,115 @@
--- mac-3.99-u4-b4/src/MACLib/APESimple.cpp.old 2005-11-28 11:10:22.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/APESimple.cpp 2005-11-28 11:12:04.000000000 -0800
@@ -298,7 +298,7 @@
if (spTempBuffer == NULL) throw(ERROR_INSUFFICIENT_MEMORY);
// get the header
- THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_DATA, (int) spTempBuffer.GetPtr(), spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES)));
+ THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_DATA, (long) spTempBuffer.GetPtr(), spAPEDecompress->GetInfo(APE_INFO_WAV_HEADER_BYTES)));
// initialize the output
if (nOutputMode == UNMAC_DECODER_OUTPUT_WAV)
@@ -370,7 +370,7 @@
{
spTempBuffer.Assign(new unsigned char[spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_BYTES)], TRUE);
if (spTempBuffer == NULL) throw(ERROR_INSUFFICIENT_MEMORY);
- THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_DATA, (int) spTempBuffer.GetPtr(), spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_BYTES)))
+ THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_DATA, (long) spTempBuffer.GetPtr(), spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_BYTES)))
unsigned int nBytesToWrite = spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_BYTES);
unsigned int nBytesWritten = 0;
@@ -392,7 +392,7 @@
spTempBuffer.Assign(new unsigned char[nTerminatingBytes], TRUE);
if (spTempBuffer == NULL) throw(ERROR_INSUFFICIENT_MEMORY);
- THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_DATA, (int) spTempBuffer.GetPtr(), nTerminatingBytes))
+ THROW_ON_ERROR(spAPEDecompress->GetInfo(APE_INFO_WAV_TERMINATING_DATA, (long) spTempBuffer.GetPtr(), nTerminatingBytes))
if (bHasTag)
{
--- mac-3.99-u4-b4/src/MACLib/APEInfo.cpp.old 2005-11-28 11:09:13.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/APEInfo.cpp 2005-11-28 11:09:51.000000000 -0800
@@ -311,7 +311,7 @@
break;
}
case APE_INFO_IO_SOURCE:
- nRetVal = (int) m_spIO.GetPtr();
+ nRetVal = (long) m_spIO.GetPtr();
break;
case APE_INFO_FRAME_BYTES:
{
@@ -350,10 +350,10 @@
break;
}
case APE_INFO_TAG:
- nRetVal = (int) m_spAPETag.GetPtr();
+ nRetVal = (long) m_spAPETag.GetPtr();
break;
case APE_INTERNAL_INFO:
- nRetVal = (int) &m_APEFileInfo;
+ nRetVal = (long) &m_APEFileInfo;
break;
default:
break;
--- mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp.old 2005-11-28 11:08:03.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/APEDecompress.cpp 2005-11-28 11:08:32.000000000 -0800
@@ -452,7 +452,7 @@
}
else
{
- WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeFormat, 0);
+ WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (long) &wfeFormat, 0);
WAVE_HEADER WAVHeader; FillWaveHeader(&WAVHeader,
(m_nFinishBlock - m_nStartBlock) * GetInfo(APE_INFO_BLOCK_ALIGN),
&wfeFormat, 0);
--- mac-3.99-u4-b4/src/MACLib/MD5.cpp.old 2005-11-28 11:12:35.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/MD5.cpp 2005-11-28 11:13:10.000000000 -0800
@@ -100,7 +100,7 @@
CopyToLittleEndian (tempBuffer, in, 16);
x = tempBuffer;
#else
- if ( (unsigned int)in & 3 ) {
+ if ( (unsigned long)in & 3 ) {
memcpy ( tempBuffer, in, 64 );
x = tempBuffer;
}
--- mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp.old 2005-11-28 11:05:19.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/Old/APEDecompressOld.cpp 2005-11-28 11:05:37.000000000 -0800
@@ -250,7 +250,7 @@
}
else
{
- WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (int) &wfeFormat, 0);
+ WAVEFORMATEX wfeFormat; GetInfo(APE_INFO_WAVEFORMATEX, (long) &wfeFormat, 0);
WAVE_HEADER WAVHeader; FillWaveHeader(&WAVHeader,
(m_nFinishBlock - m_nStartBlock) * GetInfo(APE_INFO_BLOCK_ALIGN),
&wfeFormat, 0);
--- mac-3.99-u4-b4/src/MACLib/Old/UnMAC.cpp.old 2005-11-28 11:06:57.000000000 -0800
+++ mac-3.99-u4-b4/src/MACLib/Old/UnMAC.cpp 2005-11-28 11:07:23.000000000 -0800
@@ -78,7 +78,7 @@
// set the initialized flag to TRUE
m_bInitialized = TRUE;
- m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &m_wfeInput);
+ m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (long) &m_wfeInput);
// return a successful value
return ERROR_SUCCESS;
@@ -197,7 +197,7 @@
{
m_pAPEDecompressCore->GenerateDecodedArrays(nBlocks, nSpecialCodes, FrameIndex, CPULoadBalancingFactor);
- WAVEFORMATEX WaveFormatEx; m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &WaveFormatEx);
+ WAVEFORMATEX WaveFormatEx; m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (long) &WaveFormatEx);
m_pPrepare->UnprepareOld(m_pAPEDecompressCore->GetDataX(), m_pAPEDecompressCore->GetDataY(), nBlocks, &WaveFormatEx,
pOutputData, (unsigned int *) &CRC, (int *) &nSpecialCodes, m_pAPEDecompress->GetInfo(APE_INFO_FILE_VERSION));
}
@@ -205,7 +205,7 @@
{
m_pAPEDecompressCore->GenerateDecodedArrays(nBlocks, nSpecialCodes, FrameIndex, CPULoadBalancingFactor);
- WAVEFORMATEX WaveFormatEx; m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (int) &WaveFormatEx);
+ WAVEFORMATEX WaveFormatEx; m_pAPEDecompress->GetInfo(APE_INFO_WAVEFORMATEX, (long) &WaveFormatEx);
m_pPrepare->UnprepareOld(m_pAPEDecompressCore->GetDataX(), NULL, nBlocks, &WaveFormatEx,
pOutputData, (unsigned int *) &CRC, (int *) &nSpecialCodes, m_pAPEDecompress->GetInfo(APE_INFO_FILE_VERSION));
}

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit eutils versionator
MY_P="${PN}-$(get_version_component_range 1-2)"
MY_P="${MY_P}-u$(get_version_component_range 3)"
MY_P="${MY_P}-b$(get_version_component_range 4)"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="unix port of Monkey's Audio"
HOMEPAGE="http://sourceforge.net/projects/mac-port"
SRC_URI="mirror://sourceforge/mac-port/${MY_P}.tar.gz"
LICENSE="unknown"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="backward-compatible"
DEPEND="virtual/libc
x86? ( dev-lang/nasm )"
src_compile() {
epatch ${FILESDIR}/mac-precision.patch || die
epatch ${FILESDIR}/mac-pointercasting.patch || die
econf `use_enable backward-compatible backward` || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS INSTALL NEWS README TODO COPYING
dohtml ${S}/src/License.htm ${S}/src/Readme.htm
}

View File

@@ -0,0 +1,31 @@
# ChangeLog for media-libs/realcodecs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/ChangeLog,v 1.4 2008/11/04 00:06:05 beandog Exp $
*realcodecs-11.0.1.1056-r1 (04 Nov 2008)
04 Nov 2008; Steve Dibb <beandog@gentoo.org>
+realcodecs-11.0.1.1056-r1.ebuild:
Make win32codecs an optional dependency, in order to play older streams
30 Oct 2008; Zac Medico <zmedico@gentoo.org>
realcodecs-11.0.1.1056.ebuild:
Bug #244949 - Block <realplayer-11.0.1.1056-r2 due to file collision with
/opt/RealPlayer/codecs/*.
*realcodecs-11.0.1.1056 (29 Oct 2008)
29 Oct 2008; Steve Dibb <beandog@gentoo.org>
+realcodecs-11.0.1.1056.ebuild, -realcodecs-11.1.1.1085.ebuild:
Cleanup ebuild, use same RPM as realplayer, install only codecs, bug
240341; depend on win32codecs[real]; fix symlink bug 240417
*realcodecs-11.1.1.1085 (07 Oct 2008)
07 Oct 2008; Steve Dibb <beandog@gentoo.org>
+realcodecs-11.1.1.1085.ebuild:
Initial commit, bug 240341; Splitting RealPlayer ebuild into two ebuilds:
realcodecs and realplayer. Using nightly build snapshots since upstream
releases version 11 RPMs as the same filename across different releases,
and will not allow redistribution of RPMs.

View File

@@ -0,0 +1,5 @@
DIST RealPlayer11GOLD.rpm 8767186 RMD160 1362fb9d45a5c420698d68450121d32f43f553f1 SHA1 0180bc7f9c22ee9d561598fdffc9168d56c7a4f4 SHA256 245e7bda7814cbf7529ec45c14a64e6289ce05ebc2b55727ba0805d6edcc8a32
EBUILD realcodecs-11.0.1.1056-r1.ebuild 1566 RMD160 9cfb2a53143133ff4114048e8c49e53040f02c92 SHA1 6cc71e1cd09b68ee72dffdc382bf04f1377b44d5 SHA256 045b18034ad5117bc6c3a1b15cc5da4dbe623838af416faf8c66a6aa76958bb5
EBUILD realcodecs-11.0.1.1056.ebuild 1495 RMD160 48f06e92cf1780786d095d5e522a949b47fccd66 SHA1 148e32293c86b667c5464e9be13eb1d2dce3d991 SHA256 91665f569401b21977e1efe63a50a5bd6ac654fc5115e2e4af68366ac1d1faf2
MISC ChangeLog 1279 RMD160 272b7a3ed448d868f3c0e47faf261ad8f8f5ee8a SHA1 1d54d5b62cac42e157f2ca4cee6772f4f79aa0fd SHA256 d43228bc908eb7e08e5e095cb505d48db4832f306d6d7b89ef081a1929229829
MISC metadata.xml 233 RMD160 e62d18211d353ab6d54c1bdabe20fad0705dfa37 SHA1 25063adc119eb9992ced7996faa60e0cb45ad60f SHA256 2e54b419554b54671e04a167f2fa56d52d8f0b509157ba98695c01d860b3196a

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>video</herd>
<maintainer>
<email>media-video@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/realcodecs-11.0.1.1056-r1.ebuild,v 1.1 2008/11/04 00:06:05 beandog Exp $
inherit eutils rpm multilib
EAPI="1"
DESCRIPTION="Real Player audio and video binary codecs"
HOMEPAGE="http://www.real.com/ http://player.helixcommunity.org/"
SRC_URI="http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm"
RESTRICT="mirror strip test binchecks"
LICENSE="HBRL"
KEYWORDS="-* ~amd64 ~x86"
SLOT="0"
IUSE="win32codecs"
RDEPEND="win32codecs? ( >=media-libs/win32codecs-20071007-r4 )
x86? ( =virtual/libstdc++-3.3* )
amd64? ( app-emulation/emul-linux-x86-compat )
!<media-video/realplayer-11.0.1.1056-r2"
S="${WORKDIR}/opt/real/RealPlayer"
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
has_multilib_profile && ABI="x86"
}
src_install() {
dodir /opt/RealPlayer/
fperms 644 codecs/*
insinto "/opt/RealPlayer/codecs"
doins codecs/*
if use win32codecs; then
# We need symlinks to older codecs so that RealPlayer
# can play some streams, bug 240417
dosym /usr/$(get_libdir)/real/ddnt.so.6.0 \
/opt/RealPlayer/codecs/ddnt.so.6.0
dosym /usr/$(get_libdir)/real/dnet.so.6.0 \
/opt/RealPlayer/codecs/dnet.so.6.0
dosym /opt/RealPlayer/codecs/ddnt.so.6.0 \
/opt/RealPlayer/codecs/ddnt.so
dosym /opt/RealPlayer/codecs/dnet.so.6.0 \
/opt/RealPlayer/codecs/dnet.so
fi
}

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/realcodecs/realcodecs-11.0.1.1056.ebuild,v 1.2 2008/10/30 20:56:05 zmedico Exp $
inherit eutils rpm multilib
EAPI="1"
DESCRIPTION="Real Player audio and video binary codecs"
HOMEPAGE="http://www.real.com/ http://player.helixcommunity.org/"
SRC_URI="http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm"
RESTRICT="mirror strip test binchecks"
LICENSE="HBRL"
KEYWORDS="-* ~amd64 ~x86"
SLOT="0"
IUSE=""
RDEPEND=">=media-libs/win32codecs-20071007-r4
x86? ( =virtual/libstdc++-3.3* )
amd64? ( app-emulation/emul-linux-x86-compat )
!<media-video/realplayer-11.0.1.1056-r2"
S="${WORKDIR}/opt/real/RealPlayer"
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
has_multilib_profile && ABI="x86"
}
src_install() {
dodir /opt/RealPlayer/
fperms 644 codecs/*
insinto "/opt/RealPlayer/codecs"
doins codecs/*
# We need symlinks to older codecs so that RealPlayer
# can play some streams, bug 240417
dosym /usr/$(get_libdir)/real/ddnt.so.6.0 \
/opt/RealPlayer/codecs/ddnt.so.6.0
dosym /usr/$(get_libdir)/real/dnet.so.6.0 \
/opt/RealPlayer/codecs/dnet.so.6.0
dosym /opt/RealPlayer/codecs/ddnt.so.6.0 \
/opt/RealPlayer/codecs/ddnt.so
dosym /opt/RealPlayer/codecs/dnet.so.6.0 \
/opt/RealPlayer/codecs/dnet.so
}

View File

@@ -0,0 +1,243 @@
# ChangeLog for media-libs/win32codecs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/win32codecs/ChangeLog,v 1.51 2008/10/29 17:02:03 beandog Exp $
*win32codecs-20071007-r4 (29 Oct 2008)
29 Oct 2008; Steve Dibb <beandog@gentoo.org>
-win32codecs-20071007-r3.ebuild, +win32codecs-20071007-r4.ebuild:
Keep real use flag, drop realplayer dep
28 Oct 2008; Steve Dibb <beandog@gentoo.org>
win32codecs-20071007-r2.ebuild, win32codecs-20071007-r3.ebuild:
Minor QA cleanups
*win32codecs-20071007-r3 (28 Oct 2008)
28 Oct 2008; Steve Dibb <beandog@gentoo.org>
+win32codecs-20071007-r3.ebuild:
Drop realplayer support, security bug 232999, moving real codecs to
media-libs/realcodecs, bug 240341
21 Nov 2007; Steve Dibb <beandog@gentoo.org> -win32codecs-20050216.ebuild,
-win32codecs-20061022-r1.ebuild, -win32codecs-20071007-r1.ebuild:
Punt older versions, bug 150288
08 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
win32codecs-20071007-r2.ebuild:
stable x86, security bug 150288
*win32codecs-20071007-r2 (07 Nov 2007)
07 Nov 2007; Carsten Lohrke <carlo@gentoo.org>
+win32codecs-20071007-r2.ebuild:
Remove Quicktime support for now, bug #150288.
*win32codecs-20071007-r1 (29 Oct 2007)
29 Oct 2007; Steve Dibb <beandog@gentoo.org> -win32codecs-20071007.ebuild,
+win32codecs-20071007-r1.ebuild:
Fix install of reallibs, bug 197319
*win32codecs-20071007 (08 Oct 2007)
08 Oct 2007; Steve Dibb <beandog@gentoo.org> +win32codecs-20071007.ebuild:
Version bump
24 Apr 2007; Raúl Porcel <armin76@gentoo.org>
win32codecs-20061022-r1.ebuild:
x86 stable
*win32codecs-20061022-r1 (12 Jan 2007)
*win32codecs-20060611-r1 (12 Jan 2007)
12 Jan 2007; Steve Dibb <beandog@gentoo.org>
+win32codecs-20060611-r1.ebuild, +win32codecs-20061022-r1.ebuild:
Add realplayer support / dep for amd64
06 Jan 2007; Steve Dibb <beandog@gentoo.org> win32codecs-20061022.ebuild:
Fix QA_TEXTRELS, strip
*win32codecs-20061022 (06 Jan 2007)
06 Jan 2007; Steve Dibb <beandog@gentoo.org> +win32codecs-20061022.ebuild:
Version bump
03 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20060611.ebuild:
Use get_libdir to get the path to mask from revdep-rebuild.
02 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20060611.ebuild:
Mask the win32codecs directories from revdep-rebuild. Bug #139166.
28 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
-win32codecs-20050412.ebuild:
Remove old version.
21 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20050216.ebuild, win32codecs-20050412.ebuild,
win32codecs-20060611.ebuild:
Add missing dependency on libstdc++ 3.3 as per bug #137844, thanks to
Petteri Räty for reporting.
*win32codecs-20060611 (11 Jun 2006)
11 Jun 2006; Luca Barbato <lu_zero@gentoo.org>
+win32codecs-20060611.ebuild:
Updated collection
25 May 2006; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20050412.ebuild:
Add ~x86-fbsd keyword.
03 May 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Update metadata to list media-video@gentoo.org as maintainer.
09 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20050412.ebuild:
Restrict striping, as the package is binary.
07 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
win32codecs-20050216.ebuild, win32codecs-20050412.ebuild:
use mirror://mplayer/ to get the codecs.
12 Aug 2005; <dang@gentoo.org> win32codecs-20050412.ebuild:
Add multilib support. This makes the libs get installed in the correct spot
on amd64 to be used by 32-bit programs. x86 install locations are
unaffected. Also, mark ~amd64
04 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
-win32codecs-20050115.ebuild, win32codecs-20050412.ebuild:
stable on x86 (not really, ignore this entry - Flameeyes)
*win32codecs-20050412 (18 Apr 2005)
18 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
+win32codecs-20050412.ebuild:
new upstream version, fixes #89565
*win32codecs-20050216 (29 Mar 2005)
29 Mar 2005; Chris White <chriswhite@gentoo.org>
win32codecs-20050115.ebuild, win32codecs-20050216.ebuild:
Fixed the arch logic to -* [~x86,x86] instead of the long list of keywords
since it only works on x86.
13 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> :
version bump, fixes #85034. also corrected an permission issue, fixes #83221
08 Feb 2005; Chris White <chriswhite@gentoo.org>
-win32codecs-0.90.1-r1.ebuild, -win32codecs-0.90.1-r2.ebuild,
-win32codecs-20031001.ebuild, -win32codecs-20040427.ebuild,
-win32codecs-20040703.ebuild, -win32codecs-20040916-r1.ebuild,
-win32codecs-20040916.ebuild, win32codecs-20050115.ebuild:
get rid of some old ebuilds to make my life my sane and fix bug #80321 while
I'm at it.
08 Feb 2005; Chris White <chriswhite@gentoo.org>
win32codecs-20040916-r1.ebuild:
Fix bug #81122.
30 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
win32codecs-20040916-r1.ebuild, win32codecs-20050115.ebuild:
changed ~amd64 keyword to -amd64.
*win32codecs-20050115 (30 Jan 2005)
30 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
+win32codecs-20050115.ebuild:
new upstream release, fixes #72393
16 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
win32codecs-20040916-r1.ebuild:
added ~amd64 to KEYWORDS. fixes bug #78159
19 Dec 2004; Chris White <chriswhite@gentoo.org>
win32codecs-20040916-r1.ebuild:
Marked stable to prepare for mplayer security marking.
*win32codecs-20040916-r1 (26 Oct 2004)
26 Oct 2004; Patrick Kursawe <phosphan@gentoo.org>
+win32codecs-20040916-r1.ebuild:
Fixing bug #68962
23 Oct 2004; Chris White <chriswhite@gentoo.org>
win32codecs-20040916.ebuild:
Quicktime needs to actually be in /usr/lib/win32 for MPlayer to see it so,
back there it goes.
23 Oct 2004; Chris White <chriswhite@gentoo.org>
win32codecs-20040916.ebuild:
Fixed installation logic and gave real/quicktime seperate install folders.
*win32codecs-20040916 (23 Oct 2004)
23 Oct 2004; Chris White <chriswhite@gentoo.org>
+win32codecs-20040916.ebuild:
bumped to 20040916 which uses 1 tarball instead of 3. real and xanim USE flags
added onto the existing quicktime USE flag.
*win32codecs-20040703 (14 Aug 2004)
14 Aug 2004; Chris White <chriswhite@gentoo.org>
+win32codecs-20040703.ebuild:
Bumped to 20040703. Closes bug #60120.
*win32codecs-20040427 (24 Jun 2004)
24 Jun 2004; Martin Holzer <mholzer@gentoo.org> win32codecs-20040427.ebuild:
Version bumped. Closes 50420
20 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org>
win32codecs-0.90.1-r1.ebuild:
set -ppc
*win32codecs-20031001 (01 Oct 2003)
01 Oct 2003; Patrick Kursawe <phosphan@gentoo.org>
win32codecs-20031001.ebuild:
In response to bug 29972, the files are renamed with a date-based version
number and brought manually to the distfiles mirrors. The dmocodecs package
was removed, this seems to be in win32codecs.tar.bz2 now.
08 Jul 2003; Jason Wever <weeve@gentoo.org> win32codecs-0.90.1-r1.ebuild:
Added -sparc to keywords.
*win32codecs-0.90.1-r2 (29 Jan 2003)
29 Jan 2003; Nick Hadaway <raker@gentoo.org> win32codecs-0.90.1-r2.ebuild,
files/digest-win32codecs-0.90.1-r2 :
Now includes the extra Quicktime codecs plus WindowsMedia9 and
RealPlayer9 codec support. x86 should be the only platform
utilizing these codecs, changed arch accordingly.
*win32codecs-0.90.1-r1 (16 Dec 2002)
16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> :
Install QuickTime 6 dlls if 'quicktime' in USE.
*win32codecs-0.90.1 (16 Dec 2002)
16 Dec 2002; Martin Schlemmer <azarah@gentoo.org> :
Update to latest tarball that include WMA codecs, bug #11882.
*win32codecs-0.90 (24 Nov 2002)
24 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
Version Bump #11169
*win32codecs-0.60-r1 (3 May 2002)
3 May 2002; Donny Davies <woodchip@gentoo.org> :
Added LICENSE, SLOT.
*win32codecs-0.60 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@@ -0,0 +1,5 @@
DIST all-20071007.tar.bz2 13864479 RMD160 dd413908b3217346f33d7845b4bc275471a44fd5 SHA1 39f6dae4919ba90ce7b12e719396373bd8c48877 SHA256 7aae7fc658d7a9a1766002435fd75436fead9c2d45eac3d67588c313cde0d8da
EBUILD win32codecs-20071007-r2.ebuild 1428 RMD160 f2f4da6dfed9ff4019ed9a9c17e710cec63af4d4 SHA1 125647697046a4f8c5d4e0600607307a70d533d5 SHA256 f96d3c8a86a41ecd4d80ef203730dcdb3d1b80dd8952c0d7e8ba91f5617a6bdf
EBUILD win32codecs-20071007-r4.ebuild 1403 RMD160 639c92dd4c0e4285c8bdac771ee15574196fb777 SHA1 3ec7c22c8139a2931ff0c41840a1a356861f6c31 SHA256 1474a56b61be44da4f2716a6fc3e815828d8f19bd9bcbfc76fdcf2160f4a995f
MISC ChangeLog 8424 RMD160 f66f3bc98342418214792e012a574b93774ec643 SHA1 8371e66ad9404cc7ddc70735b492728d549bb5ad SHA256 722ec8a9df3256df80ecf085effb74750e5a98f75a989e457a0f8b8459f55910
MISC metadata.xml 310 RMD160 0c2f6d9d5785fbf91f9a561a5d4d2b7e716537fa SHA1 ac63b512710a04d6e4cd65aaa2bb5f1d8928004d SHA256 d150937ac3cddb33e42d1c1fcd17216cdf33cd80827b0df390de5e2c88ef04d9

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>video</herd>
<maintainer>
<email>media-video@gentoo.org</email>
</maintainer>
<use>
<flag name="real">Installs the real video codecs</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,58 @@
# 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-r2.ebuild,v 1.3 2008/10/28 18:34:31 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="real"
RDEPEND="real? ( =virtual/libstdc++-3.3*
amd64? ( media-video/realplayer ) )"
S="${WORKDIR}/all-${PV}"
RESTRICT="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() {
# see #83221
insopts -m0644
dodir /usr/$(get_libdir)/win32
if use real
then
dodir /usr/$(get_libdir)/real
insinto /usr/$(get_libdir)/real
doins *so.6.0
# copy newly introduced codecs from realplayer10
# see the ChangeLog online
doins *.so
# fix bug #80321
ln -s "${D}"/usr/$(get_libdir)/real/* "${D}"/usr/$(get_libdir)/win32/
fi
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)/real /usr/$(get_libdir)/win32"
EOF
}

View File

@@ -0,0 +1,57 @@
# 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-r4.ebuild,v 1.1 2008/10/29 17:02:03 beandog 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 ~x86-fbsd"
IUSE="real"
RDEPEND="real? ( =virtual/libstdc++-3.3* )"
S="${WORKDIR}/all-${PV}"
RESTRICT="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() {
# see #83221
insopts -m0644
dodir /usr/$(get_libdir)/win32
if use real
then
dodir /usr/$(get_libdir)/real
insinto /usr/$(get_libdir)/real
doins *so.6.0
# copy newly introduced codecs from realplayer10
# see the ChangeLog online
doins *.so
# fix bug #80321
ln -s "${D}"/usr/$(get_libdir)/real/* "${D}"/usr/$(get_libdir)/win32/
fi
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)/real /usr/$(get_libdir)/win32"
EOF
}