Fix build and install on Darwin 32-bit.diff -r1.128 -r1.129 pkgsrc/multimedia/xine-lib/Makefile
(jperkin)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.128 2014/06/27 12:17:22 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.129 2014/06/30 13:41:00 jperkin Exp $ | |
2 | 2 | |||
3 | .include "Makefile.common" | 3 | .include "Makefile.common" | |
4 | 4 | |||
5 | COMMENT= Multimedia player library | 5 | COMMENT= Multimedia player library | |
6 | PKGREVISION= 3 | 6 | PKGREVISION= 3 | |
7 | 7 | |||
8 | CONFLICTS+= xine-xcb-[0-9]* | 8 | CONFLICTS+= xine-xcb-[0-9]* | |
9 | 9 | |||
10 | CONFIGURE_ARGS+= --disable-v4l | 10 | CONFIGURE_ARGS+= --disable-v4l | |
11 | CONFIGURE_ARGS+= --disable-v4l2 | 11 | CONFIGURE_ARGS+= --disable-v4l2 | |
12 | CONFIGURE_ARGS+= --disable-real-codecs | 12 | CONFIGURE_ARGS+= --disable-real-codecs | |
13 | CONFIGURE_ARGS+= --disable-aalib | 13 | CONFIGURE_ARGS+= --disable-aalib | |
14 | CONFIGURE_ARGS+= --disable-mlib | 14 | CONFIGURE_ARGS+= --disable-mlib | |
@@ -23,26 +23,31 @@ SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSA | @@ -23,26 +23,31 @@ SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSA | |||
23 | SUBST_SED.oss+= -e "s,\"dsp\",\"audio\",g" | 23 | SUBST_SED.oss+= -e "s,\"dsp\",\"audio\",g" | |
24 | .endif | 24 | .endif | |
25 | SUBST_MESSAGE.oss= Fixing hardcoded audio device. | 25 | SUBST_MESSAGE.oss= Fixing hardcoded audio device. | |
26 | 26 | |||
27 | SUBST_CLASSES+= w32path | 27 | SUBST_CLASSES+= w32path | |
28 | SUBST_STAGE.w32path= post-patch | 28 | SUBST_STAGE.w32path= post-patch | |
29 | SUBST_FILES.w32path= src/libw32dll/common.c | 29 | SUBST_FILES.w32path= src/libw32dll/common.c | |
30 | SUBST_SED.w32path= -e "s,@W32PATH@,${PREFIX}/lib/win32," | 30 | SUBST_SED.w32path= -e "s,@W32PATH@,${PREFIX}/lib/win32," | |
31 | SUBST_MESSAGE.w32path= Fixing win32 dll path. | 31 | SUBST_MESSAGE.w32path= Fixing win32 dll path. | |
32 | 32 | |||
33 | # Needed to fix build problems under, at least, NetBSD/amd64. | 33 | # Needed to fix build problems under, at least, NetBSD/amd64. | |
34 | BUILDLINK_API_DEPENDS.libcdio+= libcdio>=0.75 | 34 | BUILDLINK_API_DEPENDS.libcdio+= libcdio>=0.75 | |
35 | 35 | |||
36 | PLIST_VARS+= qtw32 | |||
37 | .if empty(MACHINE_PLATFORM:MDarwin-*-i386) | |||
38 | PLIST.qtw32= yes | |||
39 | .endif | |||
40 | ||||
36 | .if ${OPSYS} == "SunOS" | 41 | .if ${OPSYS} == "SunOS" | |
37 | PLIST_VARS+= oss | 42 | PLIST_VARS+= oss | |
38 | .if ${OS_VERSION} == "5.11" | 43 | .if ${OS_VERSION} == "5.11" | |
39 | PLIST.oss= yes | 44 | PLIST.oss= yes | |
40 | .endif | 45 | .endif | |
41 | .endif | 46 | .endif | |
42 | 47 | |||
43 | CPPFLAGS.SunOS+= -D__u32=uint32_t -DHAVE_SYSI86 -DHAVE_MMX_FALSE | 48 | CPPFLAGS.SunOS+= -D__u32=uint32_t -DHAVE_SYSI86 -DHAVE_MMX_FALSE | |
44 | LDFLAGS.SunOS+= -lresolv | 49 | LDFLAGS.SunOS+= -lresolv | |
45 | 50 | |||
46 | # flac is supported internally; don't know what the plugin is good for | 51 | # flac is supported internally; don't know what the plugin is good for | |
47 | # but until autodetection is turned off, force external flac for now. | 52 | # but until autodetection is turned off, force external flac for now. | |
48 | .include "../../audio/flac/buildlink3.mk" | 53 | .include "../../audio/flac/buildlink3.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | @comment $NetBSD: PLIST.i386,v 1.8 2008/04/24 12:32:22 wiz Exp $ | 1 | @comment $NetBSD: PLIST.i386,v 1.9 2014/06/30 13:41:00 jperkin Exp $ | |
2 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_qt.a | 2 | ${PLIST.qtw32}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_qt.a | |
3 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_qt.so | 3 | ${PLIST.qtw32}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_qt.so | |
4 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_w32dll.a | 4 | ${PLIST.qtw32}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_w32dll.a | |
5 | lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_w32dll.so | 5 | ${PLIST.qtw32}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_decode_w32dll.so |
@@ -1,33 +1,33 @@ | @@ -1,33 +1,33 @@ | |||
1 | $NetBSD: distinfo,v 1.96 2014/06/27 12:17:22 jperkin Exp $ | 1 | $NetBSD: distinfo,v 1.97 2014/06/30 13:41:00 jperkin Exp $ | |
2 | 2 | |||
3 | SHA1 (xine-lib-1.2.5.tar.xz) = c7ef38fa8ee301e44ba28d6549220546d02d053d | 3 | SHA1 (xine-lib-1.2.5.tar.xz) = c7ef38fa8ee301e44ba28d6549220546d02d053d | |
4 | RMD160 (xine-lib-1.2.5.tar.xz) = bb9c3a06666f454e8dfda85471eb6605e2dcb685 | 4 | RMD160 (xine-lib-1.2.5.tar.xz) = bb9c3a06666f454e8dfda85471eb6605e2dcb685 | |
5 | Size (xine-lib-1.2.5.tar.xz) = 5007012 bytes | 5 | Size (xine-lib-1.2.5.tar.xz) = 5007012 bytes | |
6 | SHA1 (patch-ag) = a0edf812dd3fa4baf273950430fa47b7579ae53e | 6 | SHA1 (patch-ag) = a0edf812dd3fa4baf273950430fa47b7579ae53e | |
7 | SHA1 (patch-aj) = df1759c9aaedc00fe55ea03aa5a0800efd68b02d | 7 | SHA1 (patch-aj) = df1759c9aaedc00fe55ea03aa5a0800efd68b02d | |
8 | SHA1 (patch-at) = 9d83524bef9dacdb889b7d828053a3fef16a1689 | 8 | SHA1 (patch-at) = 9d83524bef9dacdb889b7d828053a3fef16a1689 | |
9 | SHA1 (patch-cb) = 708ee946dd1708a40baef5ac193a46dc22bff8b5 | 9 | SHA1 (patch-cb) = 708ee946dd1708a40baef5ac193a46dc22bff8b5 | |
10 | SHA1 (patch-cd) = 7cdb3c7b09ccb2ae1dd9245f0ab0b88ad753d7f1 | 10 | SHA1 (patch-cd) = 7cdb3c7b09ccb2ae1dd9245f0ab0b88ad753d7f1 | |
11 | SHA1 (patch-fa) = 9312a3bab4ae8482a208948277f1d11fb7eaaf8c | 11 | SHA1 (patch-fa) = 9312a3bab4ae8482a208948277f1d11fb7eaaf8c | |
12 | SHA1 (patch-include_xine_post.h) = 30629bff9486bf6b7ca889189cfad406eb242674 | 12 | SHA1 (patch-include_xine_post.h) = 30629bff9486bf6b7ca889189cfad406eb242674 | |
13 | SHA1 (patch-input_dvb.c) = c18aa1743f677f73b2a743d485952c171a346179 | 13 | SHA1 (patch-input_dvb.c) = c18aa1743f677f73b2a743d485952c171a346179 | |
14 | SHA1 (patch-na) = a02ae3bd178d34fdc1d584dcde992b8c328a3ea3 | 14 | SHA1 (patch-na) = a02ae3bd178d34fdc1d584dcde992b8c328a3ea3 | |
15 | SHA1 (patch-src-demuxers-demux_qt.c) = 19d9999cd2ff3e42cb3c56121e35cf795abcbd4b | 15 | SHA1 (patch-src-demuxers-demux_qt.c) = 19d9999cd2ff3e42cb3c56121e35cf795abcbd4b | |
16 | SHA1 (patch-src-post-audio-stretch.c) = 6f950bcd47fdf68b691744dc105f59f821748ce1 | 16 | SHA1 (patch-src-post-audio-stretch.c) = 6f950bcd47fdf68b691744dc105f59f821748ce1 | |
17 | SHA1 (patch-src-post-audio-upmix.c) = 70ca6babfa9a7add0ac70a6024fcff429e1bc49d | 17 | SHA1 (patch-src-post-audio-upmix.c) = 70ca6babfa9a7add0ac70a6024fcff429e1bc49d | |
18 | SHA1 (patch-src-post-audio-upmix_mono.c) = 2c70ded10118cbeed5be3c948886f7311ddb7bbd | 18 | SHA1 (patch-src-post-audio-upmix_mono.c) = 2c70ded10118cbeed5be3c948886f7311ddb7bbd | |
19 | SHA1 (patch-src-post-audio-volnorm.c) = b110542ae4c21762cf369a4cf2b6c66343c3b761 | 19 | SHA1 (patch-src-post-audio-volnorm.c) = b110542ae4c21762cf369a4cf2b6c66343c3b761 | |
20 | SHA1 (patch-src-post-deinterlace-plugins-greedy2frame.c) = 884561ed21c8a3d636339ff4d42cbc6fb389669a | 20 | SHA1 (patch-src-post-deinterlace-plugins-greedy2frame.c) = bc9d23257043d239ded2d7a28de74ac8a23c6148 | |
21 | SHA1 (patch-src-post-deinterlace-xine_plugin.c) = 536365d479b5cd0354365a53db4f19f8404788ac | 21 | SHA1 (patch-src-post-deinterlace-xine_plugin.c) = 536365d479b5cd0354365a53db4f19f8404788ac | |
22 | SHA1 (patch-src-post-goom-mmx.h) = dfcb3269de02849ee3875c89438338edcdd7faa6 | 22 | SHA1 (patch-src-post-goom-mmx.h) = dfcb3269de02849ee3875c89438338edcdd7faa6 | |
23 | SHA1 (patch-src-post-mosaico-mosaico.c) = 04f21603055b1e8e7490ba5d6e006ca5a9b683a3 | 23 | SHA1 (patch-src-post-mosaico-mosaico.c) = 04f21603055b1e8e7490ba5d6e006ca5a9b683a3 | |
24 | SHA1 (patch-src-post-mosaico-switch.c) = ff46e13acfbcaf0167943b536b12cb95ec7591d4 | 24 | SHA1 (patch-src-post-mosaico-switch.c) = ff46e13acfbcaf0167943b536b12cb95ec7591d4 | |
25 | SHA1 (patch-src-post-planar-boxblur.c) = 191ce5819fce39a247adaefe07e3302870c3d1c3 | 25 | SHA1 (patch-src-post-planar-boxblur.c) = 191ce5819fce39a247adaefe07e3302870c3d1c3 | |
26 | SHA1 (patch-src-post-planar-denoise3d.c) = e140ff0b7867fd850099ff073f67201b4649dcad | 26 | SHA1 (patch-src-post-planar-denoise3d.c) = e140ff0b7867fd850099ff073f67201b4649dcad | |
27 | SHA1 (patch-src-post-planar-eq.c) = 2c81fdb839456affa6882577479cea7934121619 | 27 | SHA1 (patch-src-post-planar-eq.c) = 2c81fdb839456affa6882577479cea7934121619 | |
28 | SHA1 (patch-src-post-planar-eq2.c) = d55acfe532088394c18f6a4be97f98d5c7fd3267 | 28 | SHA1 (patch-src-post-planar-eq2.c) = d55acfe532088394c18f6a4be97f98d5c7fd3267 | |
29 | SHA1 (patch-src-post-planar-expand.c) = 9d9ec1f5619f9a3d832bcace54d23011371f2067 | 29 | SHA1 (patch-src-post-planar-expand.c) = 9d9ec1f5619f9a3d832bcace54d23011371f2067 | |
30 | SHA1 (patch-src-post-planar-noise.c) = 2deabf5d80e2c45959a4f89bbf2528f7e1c9e1f5 | 30 | SHA1 (patch-src-post-planar-noise.c) = 2deabf5d80e2c45959a4f89bbf2528f7e1c9e1f5 | |
31 | SHA1 (patch-src-post-planar-pp.c) = f5bea421785132c5f1422ae9f0d468974fb0ae5d | 31 | SHA1 (patch-src-post-planar-pp.c) = f5bea421785132c5f1422ae9f0d468974fb0ae5d | |
32 | SHA1 (patch-src-post-planar-unsharp.c) = 9f29c624f96a91760df960343096247d8c09c58d | 32 | SHA1 (patch-src-post-planar-unsharp.c) = 9f29c624f96a91760df960343096247d8c09c58d | |
33 | SHA1 (patch-src_audio__out_Makefile.am) = 6c5ef1716e5874de0b43b794e2e4b86da922f029 | 33 | SHA1 (patch-src_audio__out_Makefile.am) = 6c5ef1716e5874de0b43b794e2e4b86da922f029 |
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | $NetBSD: patch-src-post-deinterlace-plugins-greedy2frame.c,v 1.2 2014/05/18 15:38:18 wiz Exp $ | 1 | $NetBSD: patch-src-post-deinterlace-plugins-greedy2frame.c,v 1.3 2014/06/30 13:41:00 jperkin Exp $ | |
2 | 2 | |||
3 | https://bugs.xine-project.org/show_bug.cgi?id=528 | 3 | https://bugs.xine-project.org/show_bug.cgi?id=528 | |
4 | 4 | |||
5 | --- src/post/deinterlace/plugins/greedy2frame.c.orig 2012-05-26 21:49:59.000000000 +0100 | 5 | --- src/post/deinterlace/plugins/greedy2frame.c.orig 2012-05-26 21:49:59.000000000 +0100 | |
6 | +++ src/post/deinterlace/plugins/greedy2frame.c 2012-08-15 08:08:27.000000000 +0100 | 6 | +++ src/post/deinterlace/plugins/greedy2frame.c 2012-08-15 08:08:27.000000000 +0100 | |
7 | @@ -59,6 +59,8 @@ | 7 | @@ -59,6 +59,8 @@ | |
8 | int bottom_field, int second_field, int width, int height ) | 8 | int bottom_field, int second_field, int width, int height ) | |
9 | 9 | |||
10 | { | 10 | { | |
11 | +#if defined(ARCH_X86) || defined(ARCH_X86_64) | 11 | +#if (!defined(__APPLE__) && defined(ARCH_X86)) || defined(ARCH_X86_64) | |
12 | + | 12 | + | |
13 | if (xine_mm_accel() & MM_ACCEL_X86_SSE2) { | 13 | if (xine_mm_accel() & MM_ACCEL_X86_SSE2) { | |
14 | if (((uintptr_t)output & 15) || (outstride & 15) || | 14 | if (((uintptr_t)output & 15) || (outstride & 15) || | |
15 | width & 7 || | 15 | width & 7 || | |
16 | @@ -82,6 +84,7 @@ | 16 | @@ -82,6 +84,7 @@ | |
17 | bottom_field, second_field, width, height ); | 17 | bottom_field, second_field, width, height ); | |
18 | /* could fall back to 3dnow/mmx here too */ | 18 | /* could fall back to 3dnow/mmx here too */ | |
19 | } | 19 | } | |
20 | +#endif /*ARCH_X86 */ | 20 | +#endif /*ARCH_X86 */ | |
21 | } | 21 | } | |
22 | 22 | |||
23 | 23 |