Compare commits
No commits in common. "64c678714b84f8385ee00d01aee16b31ce2f19e0" and "eb66aa482edf52bf9d234ef6f43888c8d33a2c8a" have entirely different histories.
64c678714b
...
eb66aa482e
5
.SRCINFO
5
.SRCINFO
@ -1,12 +1,11 @@
|
||||
pkgbase = directx-headers-git
|
||||
pkgdesc = DirectX headers for using D3D12
|
||||
pkgver = r181.34c9866
|
||||
pkgver = r164.e87eade
|
||||
pkgrel = 1
|
||||
url = https://github.com/microsoft/DirectX-Headers
|
||||
arch = aarch64
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = meson
|
||||
makedepends = git
|
||||
provides = directx-headers
|
||||
conflicts = directx-headers
|
||||
source = DirectX-Headers::git+https://github.com/microsoft/DirectX-Headers.git
|
||||
|
44
Jenkinsfile
vendored
44
Jenkinsfile
vendored
@ -1,44 +0,0 @@
|
||||
pipeline {
|
||||
agent {
|
||||
label 'aarch64 && archlinux'
|
||||
}
|
||||
stages {
|
||||
stage('Download Config') {
|
||||
steps {
|
||||
dir('jenkins-utils') {
|
||||
git 'https://gitlab.classfun.cn:4443/renegade-project/jenkins-utils'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Cleanup packages') {
|
||||
steps {
|
||||
sh 'rm -f *.pkg.tar.*'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --force --noconfirm'
|
||||
}
|
||||
}
|
||||
stage('Signature packages') {
|
||||
steps {
|
||||
withCredentials([
|
||||
file(credentialsId: 'gpg-file', variable: 'GPG_FILE'),
|
||||
string(credentialsId: 'gpg-secret', variable: 'GPG_SECRET')
|
||||
]) {
|
||||
sh 'python3 jenkins-utils/sign-pkg.py -d . -k "$GPG_FILE" -p "$GPG_SECRET"'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Upload packages') {
|
||||
steps {
|
||||
sh 'python3 jenkins-utils/upload-pkg.py -d . -a aarch64'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '*.pkg.tar.*', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
30
PKGBUILD
30
PKGBUILD
@ -2,10 +2,10 @@
|
||||
|
||||
pkgname=directx-headers-git
|
||||
pkgdesc="DirectX headers for using D3D12"
|
||||
pkgver=r203.48f2395
|
||||
pkgver=r164.e87eade
|
||||
pkgrel=1
|
||||
arch=('aarch64')
|
||||
makedepends=('meson' 'git')
|
||||
arch=('x86_64')
|
||||
makedepends=('meson')
|
||||
provides=('directx-headers')
|
||||
conflicts=('directx-headers')
|
||||
url="https://github.com/microsoft/DirectX-Headers"
|
||||
@ -14,27 +14,21 @@ source=('DirectX-Headers::git+https://github.com/microsoft/DirectX-Headers.git')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd DirectX-Headers
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
cd DirectX-Headers
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
meson setup DirectX-Headers build \
|
||||
--prefix /usr \
|
||||
--libexecdir lib \
|
||||
--sbindir bin \
|
||||
--buildtype plain \
|
||||
--auto-features enabled \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=false \
|
||||
-D b_pie=true \
|
||||
-D build-test=false
|
||||
# LTO breaks mesa...
|
||||
export CXXFLAGS="$CXXFLAGS -fno-lto"
|
||||
|
||||
meson configure --no-pager build
|
||||
arch-meson DirectX-Headers build \
|
||||
-Dbuild-test=false
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" DirectX-Headers/LICENSE
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" DirectX-Headers/LICENSE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user