2011-01-16 19:33:47 +08:00
|
|
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
_pkgbasename=libxvmc
|
|
|
|
pkgname=lib32-$_pkgbasename
|
2012-11-20 21:16:27 +08:00
|
|
|
pkgver=1.0.7
|
2011-01-16 19:33:47 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="X11 Video Motion Compensation extension library (32-bit)"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://xorg.freedesktop.org/"
|
|
|
|
license=('custom')
|
2012-11-20 21:16:27 +08:00
|
|
|
depends=('lib32-libxv' $_pkgbasename=$pkgver)
|
2011-01-16 19:33:47 +08:00
|
|
|
makedepends=('pkgconfig' gcc-multilib)
|
|
|
|
options=('!libtool')
|
|
|
|
source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.bz2)
|
2012-11-20 21:16:27 +08:00
|
|
|
sha1sums=('b8ee482514dfdf226694c830bdf292cc14e1cb91')
|
2011-01-16 19:33:47 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
export CC="gcc -m32"
|
|
|
|
export CXX="g++ -m32"
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
|
|
|
|
cd ${srcdir}/libXvMC-${pkgver}
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/libXvMC-${pkgver}
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
|
|
|
mkdir -p "$pkgdir/usr/share/licenses"
|
|
|
|
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
|
|
|
|
|
|
|
}
|