mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 09:27:16 +08:00
libxcursor, libxrender changes, lib32
This commit is contained in:
parent
8488fd1268
commit
b33a6dc152
@ -3,21 +3,36 @@
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
_pkgsourcename=libxcursor
|
||||
pkgname=lib32-$_pkgsourcename
|
||||
_pkgbasename=libxcursor
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.1.10
|
||||
pkgrel=1
|
||||
pkgdesc="X cursor management library"
|
||||
pkgrel=2
|
||||
pkgdesc="X cursor management library (32-bit)"
|
||||
arch=(x86_64)
|
||||
url="http://xorg.freedesktop.org/"
|
||||
license=('custom')
|
||||
arch=('x86_64')
|
||||
groups=('lib32')
|
||||
depends=('lib32-libxfixes' 'lib32-libxrender')
|
||||
source=(http://chakra-project.org/repo/platform/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz)
|
||||
depends=('lib32-libxfixes' 'lib32-libxrender' $_pkgbasename)
|
||||
makedepends=('xorg-util-macros' gcc-multilib)
|
||||
options=('!libtool')
|
||||
source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2)
|
||||
md5sums=('7dcdad1c10daea872cb3355af414b2ca')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
mkdir -p $pkgdir/opt/lib32/usr/lib
|
||||
cp -dp usr/lib/*.so* $pkgdir/opt/lib32/usr/lib
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
cd "${srcdir}/libXcursor-${pkgver}"
|
||||
./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/libXcursor-${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"
|
||||
}
|
||||
md5sums=('526c92c173b284157f14543b8807ba00')
|
||||
|
@ -1,21 +0,0 @@
|
||||
|
||||
Copyright © 2001,2003 Keith Packard
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of Keith Packard not be used in
|
||||
advertising or publicity pertaining to distribution of the software without
|
||||
specific, written prior permission. Keith Packard makes no
|
||||
representations about the suitability of this software for any purpose. It
|
||||
is provided "as is" without express or implied warranty.
|
||||
|
||||
KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
||||
EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
||||
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
|
@ -3,26 +3,35 @@
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
_pkgsourcename=libxrender
|
||||
pkgname=lib32-$_pkgsourcename
|
||||
_pkgbasename=libxrender
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=0.9.5
|
||||
pkgrel=1
|
||||
pkgdesc="X Rendering Extension client library"
|
||||
pkgrel=2
|
||||
pkgdesc="X Rendering Extension client library (32-bit)"
|
||||
arch=(x86_64)
|
||||
url="http://xorg.freedesktop.org/"
|
||||
license=('custom')
|
||||
arch=('x86_64')
|
||||
groups=('lib32')
|
||||
depends=('lib32-libx11')
|
||||
source=(http://chakra-project.org/repo/platform/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.xz \
|
||||
COPYING)
|
||||
depends=('lib32-libx11>=1.3.3' $_pkgbasename)
|
||||
makedepends=('pkgconfig' 'gcc-multilib' renderproto)
|
||||
options=('!libtool')
|
||||
source=(${url}/releases/individual/lib/libXrender-${pkgver}.tar.bz2)
|
||||
md5sums=('276dd9e85daf0680616cd9f132b354c9')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
mkdir -p $pkgdir/opt/lib32/usr/lib
|
||||
cp -dp usr/lib/*.so* $pkgdir/opt/lib32/usr/lib
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
install -Dm644 $srcdir/COPYING \
|
||||
$pkgdir/opt/lib32/usr/share/licenses/$_pkgsourcename/COPYING
|
||||
cd "${srcdir}/libXrender-${pkgver}"
|
||||
./configure --prefix=/usr --disable-static --libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/libXrender-${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"
|
||||
}
|
||||
md5sums=('b17b10c5a4ac32a6e330c602c512ecbf'
|
||||
'90b90b60eb30f65fc9c2673d7cf59e24')
|
||||
|
Loading…
Reference in New Issue
Block a user