[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Wednesday, December 28, 2011 @ 05:34:48 Author: jgc Revision: 145706 Fix typos (FS#27733) Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-12-28 10:31:01 UTC (rev 145705) +++ PKGBUILD2011-12-28 10:34:48 UTC (rev 145706) @@ -10,8 +10,8 @@ url="http://libmpeg2.sourceforge.net/"; depends=('glibc') makedepends=('sdl' 'libxv') -optdepends=('sdl: requiered for mpeg2dec' -'libxv:requiered for mpeg2dec') +optdepends=('sdl: required for mpeg2dec' +'libxv: required for mpeg2dec') source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz libmpeg2-0.5.1-gcc4.6.patch) license=('GPL2')
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Monday, February 4, 2013 @ 09:35:10 Author: jgc Revision: 177014 upgpkg: libmpeg2 0.5.1-4 Use package function Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-02-04 08:31:55 UTC (rev 177013) +++ PKGBUILD2013-02-04 08:35:10 UTC (rev 177014) @@ -4,7 +4,7 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('i686' 'x86_64') url="http://libmpeg2.sourceforge.net/"; @@ -31,5 +31,9 @@ make OPT_CFLAGS="${CFLAGS}" \ MPEG2DEC_CFLAGS="${CFLAGS}" \ LIBMPEG2_CFLAGS="" +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Tuesday, August 2, 2011 @ 14:27:34 Author: jgc Revision: 134269 upgpkg: libmpeg2 0.5.1-2 Fix makedepends to include libxv/sdl, hack away libsm Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-02 18:15:51 UTC (rev 134268) +++ PKGBUILD2011-08-02 18:27:34 UTC (rev 134269) @@ -4,13 +4,13 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=1 -pkgdesc="libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams." +pkgrel=2 +pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('i686' 'x86_64') url="http://libmpeg2.sourceforge.net/"; depends=('glibc') +makedepends=('sdl' 'libxv') optdepends=('sdl: requiered for mpeg2dec' -'libsm:requiered for mpeg2dec' 'libxv:requiered for mpeg2dec') source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz) license=('GPL2') @@ -19,10 +19,13 @@ md5sums=('0f92c7454e58379b4a5a378485bbd8ef') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --enable-shared --disable-static || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + sed '/AC_PATH_XTRA/d' -i configure.ac + autoreconf --force --install + + ./configure --prefix=/usr --enable-shared --disable-static make OPT_CFLAGS="${CFLAGS}" \ MPEG2DEC_CFLAGS="${CFLAGS}" \ - LIBMPEG2_CFLAGS="" || return 1 - make DESTDIR=${pkgdir} install || return 1 + LIBMPEG2_CFLAGS="" + make DESTDIR="${pkgdir}" install }
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Tuesday, July 1, 2014 @ 15:24:06 Author: fyan Revision: 216043 upgpkg: libmpeg2 0.5.1-5 mtree rebuild Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-07-01 13:22:50 UTC (rev 216042) +++ PKGBUILD2014-07-01 13:24:06 UTC (rev 216043) @@ -4,7 +4,7 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=4 +pkgrel=5 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('i686' 'x86_64') url="http://libmpeg2.sourceforge.net/";
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Saturday, May 16, 2020 @ 12:31:26 Author: foutrelis Revision: 384556 upgpkg: libmpeg2 0.5.1-7: reproducibility rebuild Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-05-16 12:31:18 UTC (rev 384555) +++ PKGBUILD2020-05-16 12:31:26 UTC (rev 384556) @@ -3,7 +3,7 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=6 +pkgrel=7 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('x86_64') url="http://libmpeg2.sourceforge.net/";
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD)
Date: Sunday, June 3, 2018 @ 21:48:35 Author: jgc Revision: 325727 upgpkg: libmpeg2 0.5.1-6 Modified: libmpeg2/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-06-03 21:43:12 UTC (rev 325726) +++ PKGBUILD2018-06-03 21:48:35 UTC (rev 325727) @@ -4,7 +4,7 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=5 +pkgrel=6 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('x86_64') url="http://libmpeg2.sourceforge.net/"; @@ -16,16 +16,19 @@ libmpeg2-0.5.1-gcc4.6.patch) license=('GPL2') provides=('mpeg2dec') -md5sums=('0f92c7454e58379b4a5a378485bbd8ef' - '8b36660297e6ffde6aa9733136bff405') +sha256sums=('dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4' +'763e188eea36ee3cdfb31e7877bbead00676b5766c25175ec6a7eb20884926d1') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/libmpeg2-0.5.1-gcc4.6.patch" sed '/AC_PATH_XTRA/d' -i configure.ac autoreconf --force --install +} +build() { + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --enable-shared --disable-static make OPT_CFLAGS="${CFLAGS}" \ MPEG2DEC_CFLAGS="${CFLAGS}" \
[arch-commits] Commit in libmpeg2/trunk (PKGBUILD libmpeg2-0.5.1-gcc4.6.patch)
Date: Wednesday, August 3, 2011 @ 03:11:36 Author: jgc Revision: 134366 upgpkg: libmpeg2 0.5.1-3 Fix build with gcc 4.6: https://bugs.archlinux.org/task/25370 https://qa.mandriva.com/show_bug.cgi?id=63279 Added: libmpeg2/trunk/libmpeg2-0.5.1-gcc4.6.patch Modified: libmpeg2/trunk/PKGBUILD -+ PKGBUILD| 10 ++- libmpeg2-0.5.1-gcc4.6.patch | 128 ++ 2 files changed, 135 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-03 06:57:12 UTC (rev 134365) +++ PKGBUILD2011-08-03 07:11:36 UTC (rev 134366) @@ -4,7 +4,7 @@ pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=2 +pkgrel=3 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('i686' 'x86_64') url="http://libmpeg2.sourceforge.net/"; @@ -12,14 +12,18 @@ makedepends=('sdl' 'libxv') optdepends=('sdl: requiered for mpeg2dec' 'libxv:requiered for mpeg2dec') -source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz) +source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz +libmpeg2-0.5.1-gcc4.6.patch) license=('GPL2') options=(!libtool) provides=('mpeg2dec') -md5sums=('0f92c7454e58379b4a5a378485bbd8ef') +md5sums=('0f92c7454e58379b4a5a378485bbd8ef' + '8b36660297e6ffde6aa9733136bff405') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/libmpeg2-0.5.1-gcc4.6.patch" + sed '/AC_PATH_XTRA/d' -i configure.ac autoreconf --force --install Added: libmpeg2-0.5.1-gcc4.6.patch === --- libmpeg2-0.5.1-gcc4.6.patch (rev 0) +++ libmpeg2-0.5.1-gcc4.6.patch 2011-08-03 07:11:36 UTC (rev 134366) @@ -0,0 +1,128 @@ +--- libmpeg2-0.5.1/libmpeg2/idct_mmx.c.orig2011-05-13 09:23:02.557758717 -0300 libmpeg2-0.5.1/libmpeg2/idct_mmx.c 2011-05-13 09:23:06.346778580 -0300 +@@ -39,7 +39,6 @@ + #define rounder(bias) {round (bias), round (bias)} + #define rounder_sse2(bias) {round (bias), round (bias), round (bias), round (bias)} + +- + #if 0 + /* C row IDCT - it is just here to document the MMXEXT and MMX versions */ + static inline void idct_row (int16_t * row, int offset, +@@ -464,10 +463,10 @@ static inline void sse2_idct_col (int16_ + /* Almost identical to mmxext version: */ + /* just do both 4x8 columns in paraller */ + +-static const short t1_vector[] ATTR_ALIGN(16) = {T1,T1,T1,T1,T1,T1,T1,T1}; +-static const short t2_vector[] ATTR_ALIGN(16) = {T2,T2,T2,T2,T2,T2,T2,T2}; +-static const short t3_vector[] ATTR_ALIGN(16) = {T3,T3,T3,T3,T3,T3,T3,T3}; +-static const short c4_vector[] ATTR_ALIGN(16) = {C4,C4,C4,C4,C4,C4,C4,C4}; ++static/* const*/ short t1_vector[] ATTR_ALIGN(16) = {T1,T1,T1,T1,T1,T1,T1,T1}; ++static/* const*/ short t2_vector[] ATTR_ALIGN(16) = {T2,T2,T2,T2,T2,T2,T2,T2}; ++static/* const*/ short t3_vector[] ATTR_ALIGN(16) = {T3,T3,T3,T3,T3,T3,T3,T3}; ++static/* const*/ short c4_vector[] ATTR_ALIGN(16) = {C4,C4,C4,C4,C4,C4,C4,C4}; + + #if defined(__x86_64__) + +@@ -710,10 +709,10 @@ static inline void sse2_idct_col (int16_ + /* MMX column IDCT */ + static inline void idct_col (int16_t * const col, const int offset) + { +-static const short t1_vector[] ATTR_ALIGN(8) = {T1,T1,T1,T1}; +-static const short t2_vector[] ATTR_ALIGN(8) = {T2,T2,T2,T2}; +-static const short t3_vector[] ATTR_ALIGN(8) = {T3,T3,T3,T3}; +-static const short c4_vector[] ATTR_ALIGN(8) = {C4,C4,C4,C4}; ++static/* const*/ short t1_vector[] ATTR_ALIGN(8) = {T1,T1,T1,T1}; ++static/* const*/ short t2_vector[] ATTR_ALIGN(8) = {T2,T2,T2,T2}; ++static/* const*/ short t3_vector[] ATTR_ALIGN(8) = {T3,T3,T3,T3}; ++static/* const*/ short c4_vector[] ATTR_ALIGN(8) = {C4,C4,C4,C4}; + + /* column code adapted from peter gubanov */ + /* http://www.elecard.com/peter/idct.shtml */ +@@ -847,33 +846,33 @@ static inline void idct_col (int16_t * c + } + + +-static const int32_t rounder0[] ATTR_ALIGN(8) = ++static/* const*/ int32_t rounder0[] ATTR_ALIGN(8) = + rounder ((1 << (COL_SHIFT - 1)) - 0.5); +-static const int32_t rounder4[] ATTR_ALIGN(8) = rounder (0); +-static const int32_t rounder1[] ATTR_ALIGN(8) = ++static/* const*/ int32_t rounder4[] ATTR_ALIGN(8) = rounder (0); ++static/* const*/ int32_t rounder1[] ATTR_ALIGN(8) = + rounder (1.25683487303); /* C1*(C1/C4+C1+C7)/2 */ +-static const int32_t rounder7[] ATTR_ALIGN(8) = ++static/* const*/ int32_t rounder7[] ATTR_ALIGN(8) = + rounder (-0.25); /* C1*(C7/C4+C7-C1)/2 */ +-static const int32_t rounder2[] ATTR_ALIGN(8) = ++static/* const*/ int32_t rounder2[] ATTR_ALIGN(8) = + rounder (0.60355339059); /* C2 * (C6+C2)/2 */ +-static const int32_t rounder6[] ATTR_ALIGN(8) = ++static/* const*/ int32_t rounder6[] ATTR_ALIGN(8) = + rounder (-0.25);