Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Arm-specific features of pixman #1985

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 25 additions & 13 deletions extra/pixman/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

pkgname=pixman
pkgver=0.42.2
pkgrel=1
pkgrel=1.1
pkgdesc="The pixel-manipulation library for X and cairo"
arch=(x86_64)
url="https://cgit.freedesktop.org/pixman/"
Expand All @@ -21,18 +21,30 @@ sha512sums=('3476e2676e66756b1af61b1e532cd80c985c191fb7956eb01702b419726cce99e79
#validpgpkeys=('') # Maarten Lankhorst <[email protected]>

build() {
arch-meson $pkgbase-$pkgver build \
-D loongson-mmi=disabled \
-D vmx=disabled \
-D arm-simd=disabled \
-D neon=disabled \
-D a64-neon=disabled \
-D iwmmxt=disabled \
-D mmx=disabled \
-D sse2=disabled \
-D ssse3=disabled \
-D mips-dspr2=disabled \
-D gtk=disabled
if [ "${CARCH}" == aarch64 ]; then
arch-meson $pkgbase-$pkgver build \
-D loongson-mmi=disabled \
-D vmx=disabled \
-D arm-simd=disabled \
-D neon=disabled \
-D iwmmxt=disabled \
-D mmx=disabled \
-D sse2=disabled \
-D ssse3=disabled \
-D mips-dspr2=disabled \
-D gtk=disabled
else
arch-meson $pkgbase-$pkgver build \
-D loongson-mmi=disabled \
-D vmx=disabled \
-D a64-neon=disabled \
-D mmx=disabled \
-D sse2=disabled \
-D ssse3=disabled \
-D mips-dspr2=disabled \
-D gtk=disabled
fi

ninja -C build
}

Expand Down