Date: Monday, March 11, 2019 @ 12:48:48 Author: alucryd Revision: 439754
upgpkg: lib32-libtheora 1.1.1-12 Modified: lib32-libtheora/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-11 12:35:44 UTC (rev 439753) +++ PKGBUILD 2019-03-11 12:48:48 UTC (rev 439754) @@ -1,4 +1,4 @@ -# Maintainer: Maxime Gauduin <[email protected]> +# Maintainer: Maxime Gauduin <[email protected]> # Contributor: Nicky726 <[email protected]> # Contributor: Tom Killian <[email protected]> # Contributor: Rémy Oudompheng <[email protected]> @@ -5,25 +5,31 @@ pkgname=lib32-libtheora pkgver=1.1.1 -pkgrel=11 +pkgrel=12 pkgdesc='An open video codec developed by the Xiph.org' -arch=('x86_64') -url='https://www.xiph.org' -license=('BSD') -depends=('lib32-libogg' 'libtheora') -makedepends=('gcc-multilib' 'lib32-libvorbis') -source=("http://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2") -sha512sums=('9ab9b3af1c35d16a7d6d84f61f59ef3180132e30c27bdd7c0fa2683e0d00e2c791accbc7fd2c90718cc947d8bd10ee4a5940fb55f90f1fd7b0ed30583a47dbbd') +arch=(x86_64) +url=https://www.xiph.org +license=(BSD) +depends=( + lib32-libogg + libtheora +) +makedepends=( + git + lib32-libvorbis +) +source=(git+https://git.xiph.org/theora.git#tag=v${pkgver}) +sha256sums=(SKIP) prepare() { - cd libtheora-${pkgver} + cd theora - sed -i 's|AC_DEFINE(\[OC_X86_64_ASM\]|#AC_DEFINE(\[OC_X86_64_ASM\]| - s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac + sed 's/AC_DEFINE(\[OC_X86_64_ASM\]/#AC_DEFINE(\[OC_X86_64_ASM\]/ + s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac } build() { - cd libtheora-${pkgver} + cd theora export CC='gcc -m32' export CXX='g++ -m32' @@ -39,12 +45,11 @@ } package() { - cd libtheora-${pkgver} + cd theora make DESTDIR="${pkgdir}" install rm -rf "${pkgdir}"/usr/{include,share} -# License install -dm 755 "${pkgdir}"/usr/share/licenses ln -s libtheora "${pkgdir}"/usr/share/licenses/lib32-libtheora }
