aboutsummaryrefslogtreecommitdiffstats
path: root/main/libepoxy
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-09 23:36:46 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:53:38 +0000
commit57871c1a66d8799abed3564fc4afc27a7db9b4d7 (patch)
tree4e308b67251b5203b3616625ea71d4963c69863d /main/libepoxy
parente52c525b4a9379228fe6d3b93c0d45fb0e140d84 (diff)
downloadaports-57871c1a66d8799abed3564fc4afc27a7db9b4d7.tar.bz2
aports-57871c1a66d8799abed3564fc4afc27a7db9b4d7.tar.xz
main/libepoxy: modernise, use preferred Python 3, disable broken tests
Diffstat (limited to 'main/libepoxy')
-rw-r--r--main/libepoxy/APKBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/main/libepoxy/APKBUILD b/main/libepoxy/APKBUILD
index 1ef4b793ce..d4fde0c84c 100644
--- a/main/libepoxy/APKBUILD
+++ b/main/libepoxy/APKBUILD
@@ -2,28 +2,22 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libepoxy
pkgver=1.4.3
-pkgrel=0
+pkgrel=1
pkgdesc="Direct Rendering Manager runtime library"
url="http://github.com/anholt/libepoxy"
arch="all"
license="MIT"
+options="!check" # Requires dlvsym
depends=""
depends_dev="libx11-dev mesa-dev"
-makedepends="$depends_dev autoconf automake libtool util-macros python2"
+makedepends="$depends_dev autoconf automake libtool util-macros python3"
install=""
subpackages="$pkgname-dev"
-source="libepoxy-$pkgver.tar.gz::https://codeload.github.com/anholt/libepoxy/tar.gz/v$pkgver"
source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz"
-builddir="$srcdir"/libepoxy-$pkgver
prepare() {
- local i
cd "$builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare
autoreconf -vif
}
@@ -35,14 +29,18 @@ build() {
--prefix=/usr \
--mandir=/usr/share/man \
--disable-static \
- --enable-shared \
- || return 1
- make || return 1
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make install DESTDIR="$pkgdir" || return 1
+ make install DESTDIR="$pkgdir"
}
sha512sums="f5d9fc74b062a0a90aea3abd7621ee4e2e27db359b82cacfbc8df64bceb4b7e4910755a078b46793b25e89d2e87ecb75556313dbad986aa4346f763dd43d2749 libepoxy-1.4.3.tar.xz"