summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2021-05-02 00:04:53 +0800
committerTing-Wei Lan <lantw44@gmail.com>2021-05-02 00:04:53 +0800
commit08f8aed571e5b374d1abfa00bdc26e9a15bcedf3 (patch)
tree5438283e7694640cda84d6f4995aecfd16c9f072
parent2ffbb07605a390c1b3a2717794725c8856897b24 (diff)
downloadAUR4-PKGBUILD-08f8aed571e5b374d1abfa00bdc26e9a15bcedf3.tar.gz
AUR4-PKGBUILD-08f8aed571e5b374d1abfa00bdc26e9a15bcedf3.tar.zst
AUR4-PKGBUILD-08f8aed571e5b374d1abfa00bdc26e9a15bcedf3.zip
mingw-w64-libepoxy: 1.5.4 -> 1.5.7
-rw-r--r--mingw-w64-libepoxy/.SRCINFO9
-rw-r--r--mingw-w64-libepoxy/PKGBUILD17
2 files changed, 12 insertions, 14 deletions
diff --git a/mingw-w64-libepoxy/.SRCINFO b/mingw-w64-libepoxy/.SRCINFO
index 3998f76..6d35f1c 100644
--- a/mingw-w64-libepoxy/.SRCINFO
+++ b/mingw-w64-libepoxy/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = mingw-w64-libepoxy
pkgdesc = A library for handling OpenGL function pointer management for you (mingw-w64)
- pkgver = 1.5.4
+ pkgver = 1.5.7
pkgrel = 1
url = https://github.com/anholt/libepoxy
arch = any
license = MIT
makedepends = mingw-w64-gcc
- makedepends = mingw-w64-configure
+ makedepends = mingw-w64-meson
makedepends = python
- makedepends = xorg-util-macros
depends = mingw-w64-crt
options = !strip
options = !buildflags
options = staticlibs
- source = https://github.com/anholt/libepoxy/releases/download/1.5.4/libepoxy-1.5.4.tar.xz
- sha256sums = 0bd2cc681dfeffdef739cb29913f8c3caa47a88a451fd2bc6e606c02997289d2
+ source = https://github.com/anholt/libepoxy/releases/download/1.5.7/libepoxy-1.5.7.tar.xz
+ sha256sums = 9479cc0146ffb395fdecf9bd2a5930834fd0bce490cbcc4681ffd716bb3a0763
pkgname = mingw-w64-libepoxy
diff --git a/mingw-w64-libepoxy/PKGBUILD b/mingw-w64-libepoxy/PKGBUILD
index 70c8446..1c43c4c 100644
--- a/mingw-w64-libepoxy/PKGBUILD
+++ b/mingw-w64-libepoxy/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: lantw44 at gmail dot com
pkgname=mingw-w64-libepoxy
-pkgver=1.5.4
+pkgver=1.5.7
pkgrel=1
pkgdesc="A library for handling OpenGL function pointer management for you (mingw-w64)"
arch=('any')
@@ -9,25 +9,24 @@ url="https://github.com/anholt/libepoxy"
license=('MIT')
makedepends=(
'mingw-w64-gcc'
- 'mingw-w64-configure'
- 'python'
- 'xorg-util-macros')
+ 'mingw-w64-meson'
+ 'python')
depends=(
'mingw-w64-crt')
options=('!strip' '!buildflags' 'staticlibs')
source=("https://github.com/anholt/libepoxy/releases/download/${pkgver}/libepoxy-${pkgver}.tar.xz")
-sha256sums=('0bd2cc681dfeffdef739cb29913f8c3caa47a88a451fd2bc6e606c02997289d2')
+sha256sums=('9479cc0146ffb395fdecf9bd2a5930834fd0bce490cbcc4681ffd716bb3a0763')
_architectures=('i686-w64-mingw32' 'x86_64-w64-mingw32')
build() {
cd "${srcdir}/libepoxy-${pkgver}"
- NOCONFIGURE=1 ./autogen.sh
for _arch in "${_architectures[@]}"; do
mkdir -p "build-${_arch}"
cd "build-${_arch}"
- "${_arch}-configure"
- make
+ "${_arch}-meson" \
+ --default-library both
+ ninja
cd ..
done
}
@@ -36,7 +35,7 @@ package() {
cd "${srcdir}/libepoxy-${pkgver}"
for _arch in "${_architectures[@]}"; do
cd "build-${_arch}"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja install
find "$pkgdir/usr/${_arch}" -name '*.exe' -exec "${_arch}-strip" '{}' ';'
find "$pkgdir/usr/${_arch}" -name '*.dll' -exec "${_arch}-strip" --strip-unneeded '{}' ';'
find "$pkgdir/usr/${_arch}" '(' -name '*.a' -o -name '*.dll' ')' -exec "${_arch}-strip" -g '{}' ';'