Compare commits

..

2 commits

Author SHA1 Message Date
9ea24ebc94
add missing patches
Some checks failed
/ lint (pull_request) Failing after 31s
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 5m53s
/ deploy-aarch64 (pull_request) Has been skipped
/ build-aarch64 (pull_request) Failing after 23m23s
2024-12-20 18:48:48 -05:00
85ac6a654d
user/lwjgl3: new aport
Some checks failed
/ lint (pull_request) Failing after 30s
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 1m25s
/ deploy-aarch64 (pull_request) Has been skipped
/ build-aarch64 (pull_request) Failing after 2m39s
2024-12-20 18:44:16 -05:00
36 changed files with 843 additions and 8307 deletions

View file

@ -7,7 +7,7 @@
set -eu -o pipefail
readonly APORTSDIR=$CI_PROJECT_DIR
readonly REPOS="backports user pmos"
readonly REPOS="backports user"
readonly ALPINE_REPOS="main community testing"
readonly ARCH=$(apk --print-arch)
# gitlab variables
@ -16,8 +16,6 @@ readonly BASEBRANCH=$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
: "${REPODEST:=$HOME/packages}"
: "${MIRROR:=https://ayakael.net/api/packages/forge/alpine}"
: "${ALPINE_MIRROR:=http://dl-cdn.alpinelinux.org/alpine}"
: "${PMOS_MIRROR:=http://mirror.postmarketos.org/postmarketos}"
: "${PMOS_KEY:=https://git.syndicate-lang.org/synit/pmbootstrap/raw/commit/8efee86388408c0d8de45c64fe383580ffd91700/pmb/data/keys/build.postmarketos.org.rsa.pub}"
: "${MAX_ARTIFACT_SIZE:=300000000}" #300M
: "${CI_DEBUG_BUILD:=}"
@ -110,7 +108,7 @@ set_repositories_for() {
[ "$repo" = "$target_repo" ] && break
done
doas sh -c "printf '%s\n' $repos >> /etc/apk/repositories"
doas apk update || true
doas apk update
}
apply_offset_limit() {
@ -139,22 +137,6 @@ setup_system() {
git config --global init.defaultBranch master
}
setup_pmos() {
local release
case $BASEBRANCH in
v3.21) release="v24.12";;
v3.20) release="v24.6";;
v3.19) release="v23.12";;
edge) release=master;;
*) die "Branch \"$BASEBRANCH\" not supported!"
esac
doas wget "$PMOS_KEY" -P /etc/apk/keys
doas sh -c "echo $PMOS_MIRROR/$release >> /etc/apk/repositories"
doas apk update || true
}
sysinfo() {
printf ">>> Host system information (arch: %s, release: %s) <<<\n" "$ARCH" "$(get_release)"
printf "- Number of Cores: %s\n" "$(nproc)"
@ -162,7 +144,6 @@ sysinfo() {
printf "- Free space: %s\n" "$(df -hP / | awk '/\/$/ {print $4}')"
}
copy_artifacts() {
cd "$APORTSDIR"
@ -223,7 +204,6 @@ build_limit=$CI_ALPINE_BUILD_LIMIT
for repo in $(changed_repos); do
set_repositories_for "$repo"
[ "$repo" == "pmos" ] && setup_pmos
built_aports=0
changed_aports_in_repo=$(changed_aports "$repo")
changed_aports_in_repo_count=$(echo "$changed_aports_in_repo" | wc -l)

View file

@ -5,14 +5,14 @@ Upstream: https://ayakael.net/forge/ayaports
This repository contains aports that are not yet merged in the official Alpine
Linux repository or dont adhere to Alpine polices. Packages are automatically
built using CI. Once built, they are deployed to a Forgejo repository, making
built using CI. Once built, they are deployed to a git-lfs repository, making
them available to apk.
Branches are matched to Alpine releases.
## Repositories
You can browse all the repositories at https://ayakael.net/forge/ayaports
You can browse all the repositories at https://codeberg.org/ayakael/ayaports
Affixed to each repository description is the appropriate link for use in
`/etc/apk/repositories`.

View file

@ -1,11 +0,0 @@
Section "InputClass"
Identifier "evdev touchscreen"
MatchProduct "tt21000"
MatchIsTouchscreen "on"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "RotateTouch"
MatchProduct "w9013"
Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
EndSection

View file

@ -1,9 +0,0 @@
ACTION=="remove", GOTO="libinput_device_group_end"
KERNEL!="event[0-9]*", GOTO="libinput_device_group_end"
ATTRS{phys}=="?*", ATTRS{name}=="cyttsp5", ENV{LIBINPUT_DEVICE_GROUP}="pinenotetouch"
ATTRS{phys}=="?*", ATTRS{name}=="w9013 2D1F:0095 Stylus", ENV{LIBINPUT_DEVICE_GROUP}="pinenotetouch"
ATTRS{phys}=="?*", ATTRS{name}=="cyttsp5", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
LABEL="libinput_device_group_end"

View file

@ -1,2 +0,0 @@
SUBSYSTEM=="module", KERNEL=="rockchip_ebc", RUN+="/bin/chgrp video /sys/module/%k/parameters/dclk_select /sys/module/%k/parameters/auto_refresh /sys/module/%k/parameters/bw_dither_invert /sys/module/%k/parameters/bw_threshold /sys/module/%k/parameters/bw_mode /sys/module/%k/parameters/diff_mode /sys/module/%k/parameters/direct_mode /sys/module/%k/parameters/limit_fb_blits /sys/module/%k/parameters/panel_reflection /sys/module/%k/parameters/refresh_threshold /sys/module/%k/parameters/refresh_waveform /sys/module/%k/parameters/skip_reset /sys/module/%k/parameters/split_area_limit /sys/module/%k/parameters/default_waveform", RUN+="/bin/chmod g+w /sys/module/%k/parameters/bw_threshold /sys/module/%k/parameters/bw_mode /sys/module/%k/parameters/default_waveform /sys/module/%k/parameters/diff_mode /sys/module/%k/parameters/direct_mode /sys/module/%k/parameters/limit_fb_blits /sys/module/%k/parameters/panel_reflection /sys/module/%k/parameters/refresh_threshold /sys/module/%k/parameters/refresh_waveform /sys/module/%k/parameters/skip_reset /sys/module/%k/parameters/auto_refresh /sys/module/%k/parameters/bw_dither_invert /sys/module/%k/parameters/split_area_limit"
DRIVER=="rockchip-ebc", RUN+="/bin/chgrp video /sys/%p/power/control", RUN+="/bin/chmod g+w /sys/%p/power/control"

View file

@ -1,77 +0,0 @@
# Maintainer: Petr Hodina <phodina@protonmail.com>
pkgname=device-pine64-pinenote
pkgdesc="Pine64 PineNote"
pkgver=2
pkgrel=9
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
u-boot-pine64-pinenote
linux-pine64-pinenote
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
phoc.ini
local-overrides.quirks
50-touchscreen.conf
81-libinput-pinenote.rules
82-ebc-rockchip.rules
panfrost.conf
rockchip_ebc.conf
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/local-overrides.quirks \
-t "$pkgdir"/etc/libinput/
install -Dm644 "$srcdir"/50-touchscreen.conf \
-t "$pkgdir"/etc/X11/xorg.conf.d
install -Dm644 "$srcdir"/81-libinput-pinenote.rules \
-t "$pkgdir"/usr/lib/udev/rules.d
install -Dm644 "$srcdir"/82-ebc-rockchip.rules \
"$pkgdir"/usr/lib/udev/rules.d
install -Dm644 "$srcdir"/panfrost.conf \
-t "$pkgdir"/etc/modprobe.d
install -Dm644 "$srcdir"/rockchip_ebc.conf \
"$pkgdir"/etc/modprobe.d
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel phosh"
depends="postmarketos-theme"
install -Dm644 "$srcdir"/phoc.ini \
-t "$subpkgdir"/etc/phosh
}
nonfree_firmware() {
pkgdesc="WiFi, Bluetooth and display firmware"
depends="firmware-pine64-pinenote linux-firmware"
mkdir "$subpkgdir"
}
sha512sums="
5829b9b52206a7520066e4bb3c08c2535d98002a3940664a0239344f5e7522fe7b6a9cb0c0074f9846c7e42c40746f2991f6aeeefeba8efa9140c16630b2893e deviceinfo
473accb3497244742dd9fd15f8a02957a13e08fa4d4393fec185ecbb27f1f17726e4b5ece22da861151f9d358d3266206c647def8aa75adb672b6f1f1904c66f modules-initfs
4bf5158fbd53274a7429e825bb66225001f2403a4851e2d6803323b77d9095738ee3e5340ac85baf3e86bb4f47d38af8cbd78d8a5055c59a62f5b06e722e19cb phoc.ini
1123720962c9c8fec3c50302ca6a3dd56e2907dc9eea361a7b8eb4201b042476633d41a0ee4f6ab61d9c60eeccc894f83491ba9fa309a9bce2f1db0b0341d79d local-overrides.quirks
ac433eebbc35a48561837495997aee4e55510b979bc0d8e3bafb761bc1be5b4bdeed2f456369dcbc582688aefd07c63966b0d72b6ffa99e84cfd868e677f02c8 50-touchscreen.conf
2bc51f200baefc37abfaaad368a911244999e906bdca4b728ac233f49a8fb3ae7206ee3c95cdb20d7dceae2a31d25a57f4e1da4fd67057fd64724b8232e42aed 81-libinput-pinenote.rules
19e922eec89dba419798c4e1dc9b39c040db33986d0969a39a8220c642fa081763f15ff2418115d5a748af4054a1be0784927d1712ea79942c2b237ebab47728 82-ebc-rockchip.rules
6ba6638754e00908243de2f73ed6898dac03638a200dcf7b7cd9684757355ee1eb0ac874af0f971ad2e054c1a8c471867bdaea4d9aaf7eea6d3cf81ac7dd73a2 panfrost.conf
b52d2e7f0c62d7c313b6db9aeb706cdb2596b6aa637aeddb862abf1e256103377fb6267e38cd4285e25d32112acf8d03bbf32ecff7be3dfbb9176209ea7ae283 rockchip_ebc.conf
"

View file

@ -1,37 +0,0 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Pine64 PineNote"
deviceinfo_manufacturer="Pine64"
deviceinfo_codename="pine64-pinenote"
deviceinfo_year="2021"
deviceinfo_dtb="rockchip/rk3566-pinenote-v1.2"
deviceinfo_arch="aarch64"
deviceinfo_gpu_accelerated="true"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="false"
deviceinfo_screen_width="1404"
deviceinfo_screen_height="1872"
deviceinfo_getty="ttyS2;1500000"
# initfs
# Bootloader related
deviceinfo_flash_method="rkdeveloptool"
deviceinfo_flash_sparse="true"
deviceinfo_boot_part_start="65536"
deviceinfo_sd_embed_firmware="u-boot/pine64-pinenote/u-boot-rockchip.bin:1"
deviceinfo_sd_embed_firmware_step_size="32768"
deviceinfo_flash_rk_partition_kernel="boot"
deviceinfo_flash_rk_partition_rootfs="os1"
deviceinfo_generate_extlinux_config="true"
deviceinfo_kernel_cmdline="drm.debug=0x0 vt.color=0xf earlycon console=tty0 console=ttyS2,1500000n8 PMOS_FORCE_PARTITION_RESIZE"

View file

@ -1,5 +0,0 @@
[PineNote]
MatchName=cyttsp5
AttrPalmPressureThreshold=28
AttrThumbPressureThreshold=27
AttrSizeHint=210x157

View file

@ -1,5 +0,0 @@
tps65185-regulator
rockchip_ebc
drm_kms_helper
drm_shmem_helper
pvi_waveform

View file

@ -1,2 +0,0 @@
softdep panfrost pre: rockchip_ebc
# blacklist rockchip_ebc

View file

@ -1,6 +0,0 @@
# /etc/phosh/phoc.ini
# Overwrites values set in /usr/share/phosh/phoc.ini
# e-ink is an "Unknown" display type for now in mainline
[output:Unknown-1]
scale = 2.0

View file

@ -1,5 +0,0 @@
# rockchip-rga will crash the kernel on unload at the moment
blacklist rockchip-rga
blacklist ws8100_pen
options rockchip_ebc direct_mode=0 auto_refresh=1 refresh_threshold=60 split_area_limit=0 panel_reflection=1 prepare_prev_before_a2=0 dclk_select=0

View file

@ -1,59 +0,0 @@
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/(CHANGEME!)
pkgname=linux-pine64-pinenote
pkgver=6.12.0
pkgrel=0
pkgdesc="Pine64 PineNote kernel fork"
arch="aarch64"
_carch="arm64"
_flavor="pine64-pinenote"
url="https://kernel.org"
license="GPL-2.0-only"
options="!strip !check !tracedeps pmb:cross-native"
makedepends="
bash
bc
bison
devicepkg-dev
findutils
flex
openssl-dev
perl
"
# Source
_repository="linux"
_commit="9d066a65f5cbaa8cd3bfc73a1b54fbac2d0f76ac"
_config="config-$_flavor.$arch"
source="
$pkgname-$_commit.tar.gz::https://github.com/m-weigand/linux/archive/$_commit.tar.gz
$_config
"
builddir="$srcdir/$_repository-$_commit"
prepare() {
default_prepare
REPLACE_GCCH=0 \
. downstreamkernel_prepare
}
build() {
unset LDFLAGS
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
}
package() {
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
make modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
}
sha512sums="
d3c2510f9f835a0570fbb812cec2f9e12e402878c1f9f214364ae1918bc4c00f69a1fc5e005cf6b85c0690e6fd5f6ce9e61efd88145a83725ed12b6b8c07b97e linux-pine64-pinenote-9d066a65f5cbaa8cd3bfc73a1b54fbac2d0f76ac.tar.gz
99294bd6c53b1cf3832addbc80ea23b9089bb03463e2a9ebe93ab5feb1b2ff9ee38f158032705429230765bae2df23bb3401ec14902134c80d9dd6e58e188be5 config-pine64-pinenote.aarch64
"

File diff suppressed because it is too large Load diff

View file

@ -1,34 +0,0 @@
# Maintainer: Petr Hodina <phodina@protonmail.com>
pkgname=pinenote-dbus-service
pkgver=0.2.2_pre5
_gittag=0.2.2-dev5
pkgrel=1
pkgdesc="Dbus daemon for controlling driver aspects on Pine64 Pinenote"
url="https://github.com/m-weigand/pinenote_dbus_service"
arch="aarch64"
license="MIT"
makedepends="cargo"
depends="dbus-dev"
source="
pinenote-dbus-service-$_gittag.tar.gz::https://github.com/m-weigand/pinenote_dbus_service/archive/refs/tags/v$_gittag.tar.gz
pinenote.initd
"
builddir="$srcdir/pinenote_dbus_service-$_gittag"
build() {
cargo build --release --locked
}
package() {
cargo install --path . --root="$pkgdir/usr"
install -Dm644 dbus_security_configuration/pinenote.conf -t "$pkgdir"/usr/share/dbus-1/system.d/
install -Dm755 "$srcdir"/pinenote.initd $pkgdir/etc/init.d/pinenote
rm "$pkgdir"/usr/.crates.toml
rm "$pkgdir"/usr/.crates2.json
}
sha512sums="
10cf05f9e1e8affec97b532611a9bffb86928cabe4eb9bd321b66e8dba340e6a7916fa0c8286f81300bfa655d5596bba09f0316abcafa6c55128823c78acb807 pinenote-dbus-service-0.2.2-dev5.tar.gz
362c20218610e7a5349eef40d54463a05906e258157e590ad1635591a548ddc60050142cfab41a0423797182e5ae392a7fe6476fc71b9c01cece384351e6f148 pinenote.initd
"

View file

@ -1,10 +0,0 @@
#!/sbin/openrc-run
description="Launch DBus service for driver aspects"
command="/usr/bin/pinenote_dbus_service"
command_background=yes
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need dbus
}

View file

@ -0,0 +1,108 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=craftbukkit-plugin-essentialx
_pkgver=2.19.2
_buildver=release
_buildcommit=0
pkgrel=2
pkgdesc="EssentialsX is the essential plugin suite for Minecraft servers, with over 130 commands for servers of all size and scale."
options=!check
arch='noarch'
url="https://essentialsx.net/"
license="GPL-3.0"
depends="craftbukkit>=1.8.8 craftbukkit<=1.18.1"
if _buildver=release; then
pkgver=$_pkgver
_url=https://github.com/EssentialsX/Essentials/releases/download/$pkgver
_filename="$pkgver.jar"
else
pkgver=$_pkgver.$_buildver
_url=https://ci.ender.zone/job/EssentialsX/lastSuccessfulBuild/artifact/jars
_filename="$_pkgver-dev+$_buildver-$_buildcommit.jar"
fi
source="
$_url/EssentialsX-$_filename
$_url/EssentialsXChat-$_filename
$_url/EssentialsXSpawn-$_filename
$_url/EssentialsXAntiBuild-$_filename
$_url/EssentialsXDiscord-$_filename
$_url/EssentialsXGeoIP-$_filename
$_url/EssentialsXProtect-$_filename
$_url/EssentialsXXMPP-$_filename
"
subpackages="$pkgname-core $pkgname-chat $pkgname-spawn $pkgname-antibuild $pkgname-discord $pkgname-geo $pkgname-protect $pkgname-xmpp"
package() {
mkdir -p "$pkgdir"
}
core() {
pkgdesc="Core functionality: teleports, private messages, homes, warps and more"
install -Dm644 "$srcdir"/EssentialsX-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/Essentials.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/Essentials.jar
}
chat() {
pkgdesc="Chat formatting, local chat"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXChat-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsChat.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsChat.jar
}
spawn() {
pkgdesc="Spawnpoint control, per-player spawns"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXSpawn-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsSpawn.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsSpawn.jar
}
antibuild() {
pkgdesc="Simple permissions-based building control"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXAntiBuild-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsAntiBuild.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsAntiBuild.jar
}
discord() {
pkgdesc="Lightweight chat, messaging and command integration with Discord"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXDiscord-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsDiscord.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsDiscord.jar
}
geo() {
pkgdesc="Geographical player lookup (formerly EssentialsX GeoIP)"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXGeoIP-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsGeo.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsGeo.jar
}
protect() {
pkgdesc="Configurable world protection and control"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXProtect-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsProtect.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsProtect.jar
}
xmpp() {
pkgdesc="Lightweight chat, messaging and server log integration with Jabber/XMPP services"
depends="$pkgname-core"
install -Dm644 "$srcdir"/EssentialsXXMPP-*.jar "$subpkgdir/var/lib/craftbukkit/plugins/EssentialsXMPP.jar"
chown craftbukkit:craftbukkit "$subpkgdir"/var/lib/craftbukkit/plugins/EssentialsXMPP.jar
}
sha512sums="
c91c0905c11482d93b1565f8b9dce7b6f939567b4cb2756b112ee408bdcca1fece04742f9b7b0876d5b2e84cebdbc555d35cf783e9e86ab12fafb9dc02bc6008 EssentialsX-2.19.2.jar
e2df6f242db38689579501b34763ad7d4b5e8ddd87b7b57956c6b5cc667f1b34af6b1289d668a64761da63f8ae8507eb9687ca490cc715a3eff6338770963240 EssentialsXChat-2.19.2.jar
24e41168428f20bd6506282b9920718c43f7e5227bf35e174522e49859e294048a1d979ae42044bdbdba45c8a1109f4db6ffd0e24d5f3e909d0f9a3ac31e21d3 EssentialsXSpawn-2.19.2.jar
326ec004241b526965cb67ae0f0245dfa960da2fdb4b59d867eb08e5196fceb468f9314cb838c8a0bc513cc55f43cf58023d11b18ed98e472be7089838538f97 EssentialsXAntiBuild-2.19.2.jar
211c575adde17c3f2f901144e5c31beb2918df7e6e15f8ebe16805d3b53214a4756b87ec84466790ebf1dacb41e1aea97b6a9ba8ed39e85092293a821044d579 EssentialsXDiscord-2.19.2.jar
7845e7666f983d3e793528a7085ced7c9f1bf881740bcc68b6a54fea74e31c3c0c2a52e26fc20330ba7d4a190dad0a1b27195fed0e1417a48494c5fa2ac60d92 EssentialsXGeoIP-2.19.2.jar
e74ed72a15b5e6cd3c5f61d032a26c151865e3197638c9059237dc2d1144b0cb15668545532fc532ac8ec247bdf9b9ee6843b8f4af7506aef86d155dd5672c5f EssentialsXProtect-2.19.2.jar
8d35009499557700f49c27ca3132e866f511a200791dbcfd2f595396977058cc2fc9349d0b4eaa0eb67b27331e91e6209df6ed57a766c06fd3b3325718462478 EssentialsXXMPP-2.19.2.jar
"

View file

@ -0,0 +1,23 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=craftbukkit-plugin-luckperms
_pkgver=5.3.89
_buildver=1389
pkgver=$_pkgver.$_buildver
pkgrel=1
pkgdesc="An advanced permissions plugin for Bukkit/Spigot, BungeeCord and Sponge."
options=!check
arch='noarch'
url="https://github.com/lucko/LuckPerms"
license="MIT"
depends="craftbukkit>=1.8.8 craftbukkit<=1.18.1"
source="https://ci.lucko.me/job/LuckPerms/$_buildver/artifact/bukkit/loader/build/libs/LuckPerms-Bukkit-$_pkgver.jar"
package() {
install -Dm644 "$srcdir"/LuckPerms-Bukkit-$_pkgver.jar "$pkgdir/var/lib/craftbukkit/plugins/LuckPerms.jar"
chown craftbukkit:craftbukkit "$pkgdir"/var/lib/craftbukkit/plugins/LuckPerms.jar
}
sha512sums="
7e146616cdf7f667c483bbe2112439c85f32427e9aa3714f0b0e869abf0cde6aacc7341d8d9e6a72ddcf8f35af840f4ba678c4690222912113f497cafce11154 LuckPerms-Bukkit-5.3.89.jar
"

View file

@ -0,0 +1,22 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=craftbukkit-plugin-worldedit
pkgver=7.2.8
_pkgver=$pkgver
pkgrel=1
pkgdesc="WorldEdit is an easy-to-use in-game Minecraft map editor"
options=!check
arch='noarch'
url="https://dev.bukkit.org/projects/worldedit"
license="GPL-3.0"
depends="craftbukkit>=1.13.2 craftbukkit<=1.18.1"
source="https://media.forgecdn.net/files/3559/523/worldedit-bukkit-7.2.8.jar"
package() {
install -Dm644 "$srcdir"/worldedit-bukkit-$_pkgver.jar "$pkgdir/var/lib/craftbukkit/plugins/WorldEdit.jar"
chown craftbukkit:craftbukkit $pkgdir/var/lib/craftbukkit/plugins/WorldEdit.jar
}
sha512sums="
b57eacf7a2d90461f996f71cf55aa2e328d7b75c724291f11bcd1ab0f7e64e980db7ae3a2a56fffdf2bc31bfbcf68dda89b7c6f2ffa32ee430b8016020d796e3 worldedit-bukkit-7.2.8.jar
"

View file

@ -0,0 +1,22 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=craftbukkit-plugin-worldedit
pkgver=7.0.6
_pkgver=$pkgver
pkgrel=3
pkgdesc="WorldGuard lets you and players guard areas of land against griefers and undesirables"
options=!check
arch='noarch'
url="https://dev.bukkit.org/projects/worldguard"
license="GPL-3.0"
depends="craftbukkit>=1.17.0 craftbukkit<=1.18.1"
source="https://media.forgecdn.net/files/3461/546/worldguard-bukkit-7.0.6-dist.jar"
package() {
install -Dm644 "$srcdir"/worldguard-bukkit-$_pkgver-dist.jar "$pkgdir/var/lib/craftbukkit/plugins/WorldGuard.jar"
chown craftbukkit:craftbukkit $pkgdir/var/lib/craftbukkit/plugins/WorldGuard.jar
}
sha512sums="
f2f857ffbbe7896b8986d5944564d7ab01e51d86476e05c66067a57d83dcb2ee60019ab9d75b16d551e9cfe102d29a602de41f316da57d7743d2595d6a11d839 worldguard-bukkit-7.0.6-dist.jar
"

236
user/lwjgl3/APKBUILD Normal file
View file

@ -0,0 +1,236 @@
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer: knuxify <knuxify@gmail.com>
pkgname=lwjgl3
pkgver=3.3.1
pkgrel=0
pkgdesc="LWJGL - Lightweight Java Game Library 3"
url="https://www.lwjgl.org/"
# Not officialy available for other architectures
arch="x86 x86_64 armhf armv7 aarch64"
# lwjgl3 itself is BSD-3-Clause, remaining licenses are for included libraries
license="BSD-3-Clause AND Zlib AND LGPL-2.0-or-later AND BSD-2-Clause"
makedepends="bash
openjdk8
apache-ant
libffi-dev
gtk+3.0-dev
glib-dev
glfw-dev
jemalloc-dev
opus-dev
"
case $CARCH in
armhf|armv7|x86) ;;
*) depends="openjdk17-jre"; makedepends="$makedepends openjdk17";;
esac
source="https://github.com/LWJGL/lwjgl3/archive/refs/tags/$pkgver/lwjgl3-$pkgver.tar.gz
remove-preadv2.patch
ffi-patches.patch
force-use-of-system-libffi.patch
disable-remotery.patch
add-missing-include-for-nfd.patch
remove-gcc-prefixes-for-aarch64-arm32.patch"
options="!check" # test suite fails
subpackages="$pkgname-dev"
# Java dependencies
_kotlin_compiler_ver=1.6.20-M1
_jsr305_version=3.0.2
_testng_version=7.4.0
_jcommander_version=1.78
_jquery_version=3.5.1
_joml_version=1.10.4
_jmh_core_version=1.33
_jmh_generator_annprocess_version=1.33
_jopt_simple_version=5.0.4
_commons_math3_version=3.6.1
# https://repo.maven.apache.org/maven2/@{group}/@{artifact}/@{version}/@{artifact}-@{version}@{classifier}.jar
# https://repo.maven.apache.org/maven2/@{group}/@{artifact}/@{version}/@{artifact}-@{version}-sources.jar
source="$source
https://github.com/JetBrains/kotlin/releases/download/v$_kotlin_compiler_ver/kotlin-compiler-$_kotlin_compiler_ver.zip
https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/$_jsr305_version/jsr305-$_jsr305_version.jar
https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/$_jsr305_version/jsr305-$_jsr305_version-sources.jar
https://repo.maven.apache.org/maven2/org/testng/testng/$_testng_version/testng-$_testng_version.jar
https://repo.maven.apache.org/maven2/org/testng/testng/$_testng_version/testng-$_testng_version-sources.jar
https://repo.maven.apache.org/maven2/com/beust/jcommander/$_jcommander_version/jcommander-$_jcommander_version.jar
https://repo.maven.apache.org/maven2/org/webjars/jquery/$_jquery_version/jquery-$_jquery_version.jar
https://repo.maven.apache.org/maven2/org/joml/joml/$_joml_version/joml-$_joml_version.jar
https://repo.maven.apache.org/maven2/org/joml/joml/$_joml_version/joml-$_joml_version-sources.jar
https://repo.maven.apache.org/maven2/org/openjdk/jmh/jmh-core/$_jmh_core_version/jmh-core-$_jmh_core_version.jar
https://repo.maven.apache.org/maven2/org/openjdk/jmh/jmh-core/$_jmh_core_version/jmh-core-$_jmh_core_version-sources.jar
https://repo.maven.apache.org/maven2/org/openjdk/jmh/jmh-generator-annprocess/$_jmh_generator_annprocess_version/jmh-generator-annprocess-$_jmh_generator_annprocess_version.jar
https://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/$_jopt_simple_version/jopt-simple-$_jopt_simple_version.jar
https://repo.maven.apache.org/maven2/org/apache/commons/commons-math3/$_commons_math3_version/commons-math3-$_commons_math3_version.jar
"
# Static dependencies; see https://github.com/LWJGL-CI for commit sources
# The build process refuses to build working native libraries without them
_glfw_commit="203b8a711fdfb8814d499b84891224ebe032076c"
_openal_soft_commit="b9601498e8c017fd9b219bad18b5cb068741edd5"
_jemalloc_commit="9104a8ad776eaf6445195b478405cd4a29d5dddf"
# glfw makedepends
makedepends="$makedepends libxinerama-dev linux-headers mesa-dev cmake samurai
libx11-dev libxcursor-dev libxrandr-dev libxi-dev"
# openal-soft makedepends (except cmake, samurai, linux-headers)
makedepends="$makedepends alsa-lib-dev jack-dev libsndfile-dev portaudio-dev
qt5-qtbase-dev"
# jemalloc makedepends
makedepends="$makedepends autoconf"
source="$source
https://github.com/LWJGL-CI/glfw/archive/$_glfw_commit.tar.gz
https://github.com/LWJGL-CI/openal-soft/archive/$_openal_soft_commit.tar.gz
https://github.com/LWJGL-CI/jemalloc/archive/$_jemalloc_commit.tar.gz
"
prepare() {
default_prepare
mkdir -p "$builddir"/bin/libs/
mv "$srcdir"/kotlinc "$builddir"/bin/libs/
mkdir -p "$builddir"/bin/libs/java
for dep in "$srcdir"/*-sources.jar; do
_dep=${dep%%.*}
mv $dep "$builddir"/bin/libs/java/"$(basename ${_dep%-*})"-sources.jar
done
for dep in "$srcdir"/*.jar; do
mv $dep "$builddir"/bin/libs/java/"$(basename ${dep%-*})".jar
done
}
# Build and copy static dependencies
build_glfw() {
cd "$srcdir"/glfw-$_glfw_commit
cmake -G Ninja -B build \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DBUILD_SHARED_LIBS=ON \
-DGLFW_BUILD_TESTS=OFF \
-DGLFW_BUILD_EXAMPLES=OFF
cmake --build build
mkdir -p "$builddir"/bin/libs/native/linux/x64/org/lwjgl/glfw
cp build/src/libglfw.so.3 "$builddir"/bin/libs/native/linux/x64/org/lwjgl/glfw/libglfw.so
cd "$builddir"
}
build_openal() {
cd "$srcdir"/openal-soft-$_openal_soft_commit
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DBUILD_SHARED_LIBS=OFF
ninja -C build
mkdir -p "$builddir"/bin/libs/native/linux/x64/org/lwjgl/openal
cp build/libopenal.so "$builddir"/bin/libs/native/linux/x64/org/lwjgl/openal
cd "$builddir"
}
build_jemalloc() {
cd "$srcdir"/jemalloc-$_jemalloc_commit
local _pgs
case "$CARCH" in
x86|x86_64) _pgs=12 ;;
ppc64le) export CPPFLAGS="$CPPFLAGS -maltivec -mabi=altivec" && _pgs=16 ;;
*) _pgs=16 ;;
esac
autoconf
./configure \
--enable-xmalloc \
--with-lg-page="$_pgs" \
--with-lg-hugepage=21
make all dist
mkdir -p "$builddir"/bin/libs/native/linux/x64/org/lwjgl/jemalloc
cp lib/libjemalloc.so "$builddir"/bin/libs/native/linux/x64/org/lwjgl/jemalloc
cd "$builddir"
}
build() {
build_glfw
build_openal
build_jemalloc
export LWJGL_BUILD_OFFLINE=true
export JAVA8_HOME="/usr/lib/jvm/java-1.8-openjdk"
ant init
ant compile-templates
ant generate
touch "$builddir"/bin/libs/touch.txt
touch "$builddir"/bin/libs/native/linux/x64/touch.txt
ant compile-native
ant -Djavadoc.skip=true release
}
check() {
ant tests
}
package() {
mkdir -p "$pkgdir"/usr/lib/lwjgl/$pkgver
mv "$builddir"/bin/RELEASE/* "$pkgdir"/usr/lib/lwjgl/$pkgver
mv "$builddir"/bin/libs/native/linux/x64/org/lwjgl/liblwjgl.so "$pkgdir"/usr/lib
# Remove arm native libraries from non-arm systems
# (TODO: Do these do anything on ARM, or can it use the regular jars?)
for file in $(find $pkgdir/usr/lib/lwjgl -name '*natives-linux-arm32.jar'); do
rm "$file"
done
}
dev() {
pkgdesc="$pkgdesc (source jars)"
cd "$pkgdir"
for file in "$(find usr/lib/lwjgl -name '*-sources.jar')"; do
amove "$file"
done
}
sha512sums="
4c87383a6329aa7a6c0e7bc7d607a196bdcaba1f59adab62fcc98c3c806d51c8d7c7f54911f341f4ad3111643287430f7405c0f660ad2077673b1f6e3f675642 lwjgl3-3.3.1.tar.gz
0f52edb7b57ec967a2d8d6efae913a9a0430cbf5482dcf190c069572d1b58bd4c1dccab48bcdda26ac0788a68b9a65c773139444ea9f614e955f03d8f770ef7a remove-preadv2.patch
797eafb2efa75c4d065d10fedf1943422af1d22231ccf804e62ddf8f9273b241ae5342c08e9872867577933b767ee244a7eff96fc0a9e1ab0597fc29e60289bc ffi-patches.patch
1ca9bceecbd33a84ee708e45d718bec45788a2c382ed7ab73ff49f659c9df33ace8cc976a4cecd51bbe110df934648542a20346058b06475a4b1ac3db8b7e17e force-use-of-system-libffi.patch
55c3f5aeb366994c99bc7159c8ddab1b0c1d280f766791eb75bc8f700baf434f2c21958d990ee08c3fdaf5c6dd3628b4948934b62ec5b50d5c7573a2f38519a9 disable-remotery.patch
d8f68ed3d88e1948cf4560f32da27f5c8f0d80e11d3abd64eec3cf921e2539370202ebfa365e7b38b543def72d5755d276e843fccd22840ad0ae5562fed8b03d add-missing-include-for-nfd.patch
c3e49e7d4fa2313f6e3c2778d2b55ed90f4852c59099937acfa0d2ff6ae15e0caba79507b1cae0888f7407a731fa53de4057889147858a764cfbd73487f0b730 remove-gcc-prefixes-for-aarch64-arm32.patch
b42e47d3d93bc71d89589d54640104055b3196078908e11d7d8d652ede1f1253515cc4d2745354593c009e021c9e4d39e719d3a518b8a4b613afe94378235ec3 kotlin-compiler-1.6.20-M1.zip
bb09db62919a50fa5b55906013be6ca4fc7acb2e87455fac5eaf9ede2e41ce8bbafc0e5a385a561264ea4cd71bbbd3ef5a45e02d63277a201d06a0ae1636f804 jsr305-3.0.2.jar
02327071dde09470c8cd0fe39405263146d7e86b15312bc3f909c6a6fa9b11c730bdb833b6cdbdf1aee0c6553e519cecd0257a296947f94636650e88cd8c5b79 jsr305-3.0.2-sources.jar
4a0239524b0d5dbcd957d01a465d1958529a1cfe5e37d1bfecacb7d855a0251be762316ef98987de49c16292ef92a33bead603132bacf575fb886e6a740e093c testng-7.4.0.jar
e7cf92e6045b43c0768bb3004e2902a287d507e3a781b13e7f6e09df30f224cef4b88b54db2bfe17c61ede22dbbf91d6e2482339efc40554de8b4b0bad4f43b9 testng-7.4.0-sources.jar
5ee2ef4c12888a48d7c830189d06ee8a653c7664a53c9b6fa935d4e7866b0454111f8092d7ece086ec80c61edab2856187a1e247873e5c8e4724efb02c37504b jcommander-1.78.jar
9f560415b36875958ff1d3c6d37fa79d6d134c5f5fc7719dd21db36d1f24dec39787834b2a9ffb104ec6b56e725ccc524a8ff9b189ced3d68e24296b2daae720 jquery-3.5.1.jar
01e97f749902a7f7904ee1a11051948022796904136d7496fcba63c1d82e791626c4fdb769761b9595ef7b96f9380f5ba04ff682e949b6423c6793080a921579 joml-1.10.4.jar
4d6c65bdd7be66352d7d834c6e22e5c467b27edd8dcd6efcca71be34f49f5ac8b230961470f568bc859ef234b951e04f5b6ec2990de29f9d0d6dd5661e8136f5 joml-1.10.4-sources.jar
016dcab45f7bbfda9bdc8aeafef86abfbd53a83141e491db76956150e5a7cb21e8f8c03f8cbf28acdca85667c6ab3005aa83d257350d69de6087b62a1e91c493 jmh-core-1.33.jar
ee257caaa076af83775ec5e691e6348212614a47758fd960f3d0b7d035341b9a804e1be54ba18023a16a8e9ad0eaae66bf99eb8d1659418268d2cbdf93feaeae jmh-core-1.33-sources.jar
a117fc0cba413990c2ba409dd8c8759bcf75aad009dc36a2f58a146bf3263c9998b7ed7aafc4d159e844e5cd9386b539eb48ff95074cf8972f3439e1f9816ab8 jmh-generator-annprocess-1.33.jar
cbc27e0b6da6ae4b6245353d6626d2e3c171c3026a555fa21e8ef61b30714e286db85086d1a57c167016e8a7f07be2a243e34b3ab504b1877806f3bcec5df986 jopt-simple-5.0.4.jar
8bc2438b3b4d9a6be4a47a58410b2d4d0e56e05787ab24badab8cbc9075d61857e8d2f0bffedad33f18f8a356541d00f80a8597b5dedb995be8480d693d03226 commons-math3-3.6.1.jar
0404cf3a2aea284dd89e87c502e80115a72014a33e0b85e1472e85ce1cf1604b4e87a9e0a443b011cf37392485476dec9bf00d8bda7442e7138c535b9a893b8c 203b8a711fdfb8814d499b84891224ebe032076c.tar.gz
b7174fa1982710d579a96093badc4a4130c7083d052b52f7a8a7176ce51b0fbe3f3d9a948fe0254319fa619ed249885e4d785b0ecdaf24a9cd5692da346bc00b b9601498e8c017fd9b219bad18b5cb068741edd5.tar.gz
8f8598d0dd33a897fcdbe595891d628c62acc9a4ba4cfdcf5a8021b79a7cf6976a77aac59bc4ebbc37a24720268d00313683ef98130fdd8a48587c059ce474d9 9104a8ad776eaf6445195b478405cd4a29d5dddf.tar.gz
"

View file

@ -0,0 +1,25 @@
From f0aa43a634fd86732e3653be0cf117f9f69f5df7 Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Sun, 11 Dec 2022 16:13:22 +0100
Subject: [PATCH] add missing include for nfd
---
config/linux/build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/linux/build.xml b/config/linux/build.xml
index 5098004..6acd46a 100644
--- a/config/linux/build.xml
+++ b/config/linux/build.xml
@@ -262,7 +262,7 @@
<condition property="linux.triplet" value="aarch64-linux-gnu"><isset property="build.arch.arm64"/></condition>
<compile>
- <arg line="-I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/${linux.triplet}/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0"/>
+ <arg line="-I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0"/>
<arg value="-I${src.main.rel}"/>
<arg value="-I${src.main.rel}/include"/>
<fileset dir="." includes="${src.main}/nfd_common.c"/>
--
2.38.1

View file

@ -0,0 +1,30 @@
From 80a7bdc48ff5150208c3417c2d0aadf3bc2e5498 Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Sun, 11 Dec 2022 16:12:10 +0100
Subject: [PATCH] disable remotery
---
config/build-bindings.xml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/config/build-bindings.xml b/config/build-bindings.xml
index 7a458f1..8db9186 100644
--- a/config/build-bindings.xml
+++ b/config/build-bindings.xml
@@ -49,12 +49,7 @@ This script is included in /config/build-definitions.xml.
<property name="binding.openxr" value="true"/>
<property name="binding.opus" value="true"/>
<property name="binding.par" value="true"/>
- <condition property="binding.remotery" value="false" else="true">
- <and>
- <isset property="platform.windows"/>
- <isset property="build.arch.arm"/>
- </and>
- </condition>
+ <property name="binding.remotery" value="false"/>
<property name="binding.rpmalloc" value="true"/>
<property name="binding.shaderc" value="true"/>
<property name="binding.spvc" value="true"/>
--
2.38.1

View file

@ -0,0 +1,257 @@
From 48a3172ef8f3a0dc0538cec1c4305bcdf9c31016 Mon Sep 17 00:00:00 2001
From: Ioannis Tsakpinis <iotsakp@gmail.com>
Date: Mon, 3 Oct 2022 01:26:12 +0300
Subject: [PATCH] feat(libffi) update to 3.4.3
---
.../java/org/lwjgl/system/libffi/LibFFI.java | 4 +-
modules/lwjgl/core/src/main/c/libffi/ffi.h | 68 +++++++++++--------
.../core/src/main/c/libffi/x86/ffitarget.h | 7 +-
.../kotlin/core/libffi/templates/LibFFI.kt | 19 +++---
4 files changed, 55 insertions(+), 43 deletions(-)
diff --git a/modules/lwjgl/core/src/generated/java/org/lwjgl/system/libffi/LibFFI.java b/modules/lwjgl/core/src/generated/java/org/lwjgl/system/libffi/LibFFI.java
index 465295188d..a3485820c7 100644
--- a/modules/lwjgl/core/src/generated/java/org/lwjgl/system/libffi/LibFFI.java
+++ b/modules/lwjgl/core/src/generated/java/org/lwjgl/system/libffi/LibFFI.java
@@ -102,12 +102,14 @@ public class LibFFI {
* <li>{@link #FFI_OK OK}</li>
* <li>{@link #FFI_BAD_TYPEDEF BAD_TYPEDEF}</li>
* <li>{@link #FFI_BAD_ABI BAD_ABI}</li>
+ * <li>{@link #FFI_BAD_ARGTYPE BAD_ARGTYPE}</li>
* </ul>
*/
public static final int
FFI_OK = 0,
FFI_BAD_TYPEDEF = 1,
- FFI_BAD_ABI = 2;
+ FFI_BAD_ABI = 2,
+ FFI_BAD_ARGTYPE = 3;
protected LibFFI() {
throw new UnsupportedOperationException();
diff --git a/modules/lwjgl/core/src/main/c/libffi/ffi.h b/modules/lwjgl/core/src/main/c/libffi/ffi.h
index 5b5efd2697..6c16184a77 100644
--- a/modules/lwjgl/core/src/main/c/libffi/ffi.h
+++ b/modules/lwjgl/core/src/main/c/libffi/ffi.h
@@ -1,6 +1,7 @@
/* -----------------------------------------------------------------*-C-*-
- libffi @VERSION@ - Copyright (c) 2011, 2014, 2019 Anthony Green
- - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
+ libffi @VERSION@
+ - Copyright (c) 2011, 2014, 2019, 2021, 2022 Anthony Green
+ - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@@ -62,6 +63,31 @@ extern "C" {
#define FFI_EXEC_TRAMPOLINE_TABLE 0
#endif
+/* If these change, update src/mips/ffitarget.h. */
+#define FFI_TYPE_VOID 0
+#define FFI_TYPE_INT 1
+#define FFI_TYPE_FLOAT 2
+#define FFI_TYPE_DOUBLE 3
+#if HAVE_LONG_DOUBLE
+#define FFI_TYPE_LONGDOUBLE 4
+#else
+#define FFI_TYPE_LONGDOUBLE FFI_TYPE_DOUBLE
+#endif
+#define FFI_TYPE_UINT8 5
+#define FFI_TYPE_SINT8 6
+#define FFI_TYPE_UINT16 7
+#define FFI_TYPE_SINT16 8
+#define FFI_TYPE_UINT32 9
+#define FFI_TYPE_SINT32 10
+#define FFI_TYPE_UINT64 11
+#define FFI_TYPE_SINT64 12
+#define FFI_TYPE_STRUCT 13
+#define FFI_TYPE_POINTER 14
+#define FFI_TYPE_COMPLEX 15
+
+/* This should always refer to the last type code (for sanity checks). */
+#define FFI_TYPE_LAST FFI_TYPE_COMPLEX
+
#include <ffitarget.h>
#ifndef LIBFFI_ASM
@@ -224,7 +250,8 @@ FFI_EXTERN ffi_type ffi_type_complex_longdouble;
typedef enum {
FFI_OK = 0,
FFI_BAD_TYPEDEF,
- FFI_BAD_ABI
+ FFI_BAD_ABI,
+ FFI_BAD_ARGTYPE
} ffi_status;
typedef struct {
@@ -317,11 +344,17 @@ typedef struct {
void *trampoline_table;
void *trampoline_table_entry;
#else
- char tramp[FFI_TRAMPOLINE_SIZE];
+ union {
+ char tramp[FFI_TRAMPOLINE_SIZE];
+ void *ftramp;
+ };
#endif
ffi_cif *cif;
void (*fun)(ffi_cif*,void*,void**,void*);
void *user_data;
+#if defined(_MSC_VER) && defined(_M_IX86)
+ void *padding;
+#endif
} ffi_closure
#ifdef __GNUC__
__attribute__((aligned (8)))
@@ -362,7 +395,7 @@ ffi_prep_closure_loc (ffi_closure*,
ffi_cif *,
void (*fun)(ffi_cif*,void*,void**,void*),
void *user_data,
- void*codeloc);
+ void *codeloc);
#ifdef __sgi
# pragma pack 8
@@ -498,31 +531,6 @@ ffi_status ffi_get_struct_offsets (ffi_abi abi, ffi_type *struct_type,
#endif
-/* If these change, update src/mips/ffitarget.h. */
-#define FFI_TYPE_VOID 0
-#define FFI_TYPE_INT 1
-#define FFI_TYPE_FLOAT 2
-#define FFI_TYPE_DOUBLE 3
-#if HAVE_LONG_DOUBLE
-#define FFI_TYPE_LONGDOUBLE 4
-#else
-#define FFI_TYPE_LONGDOUBLE FFI_TYPE_DOUBLE
-#endif
-#define FFI_TYPE_UINT8 5
-#define FFI_TYPE_SINT8 6
-#define FFI_TYPE_UINT16 7
-#define FFI_TYPE_SINT16 8
-#define FFI_TYPE_UINT32 9
-#define FFI_TYPE_SINT32 10
-#define FFI_TYPE_UINT64 11
-#define FFI_TYPE_SINT64 12
-#define FFI_TYPE_STRUCT 13
-#define FFI_TYPE_POINTER 14
-#define FFI_TYPE_COMPLEX 15
-
-/* This should always refer to the last type code (for sanity checks). */
-#define FFI_TYPE_LAST FFI_TYPE_COMPLEX
-
#ifdef __cplusplus
}
#endif
diff --git a/modules/lwjgl/core/src/main/c/libffi/x86/ffitarget.h b/modules/lwjgl/core/src/main/c/libffi/x86/ffitarget.h
index 60caf0db97..3cc1b29b44 100644
--- a/modules/lwjgl/core/src/main/c/libffi/x86/ffitarget.h
+++ b/modules/lwjgl/core/src/main/c/libffi/x86/ffitarget.h
@@ -203,9 +203,11 @@ typedef enum ffi_abi {
# define FFI_NATIVE_RAW_API 1 /* x86 has native raw api support */
#endif
-#if !defined(GENERATE_LIBFFI_MAP) && defined(__ASSEMBLER__) \
- && defined(__CET__)
+#if !defined(GENERATE_LIBFFI_MAP) && defined(__CET__)
# include <cet.h>
+# if (__CET__ & 1) != 0
+# define ENDBR_PRESENT
+# endif
# define _CET_NOTRACK notrack
#else
# define _CET_ENDBR
@@ -213,4 +215,3 @@ typedef enum ffi_abi {
#endif
#endif
-
diff --git a/modules/lwjgl/core/src/templates/kotlin/core/libffi/templates/LibFFI.kt b/modules/lwjgl/core/src/templates/kotlin/core/libffi/templates/LibFFI.kt
index 18f922c12e..28d2dafc38 100644
--- a/modules/lwjgl/core/src/templates/kotlin/core/libffi/templates/LibFFI.kt
+++ b/modules/lwjgl/core/src/templates/kotlin/core/libffi/templates/LibFFI.kt
@@ -62,7 +62,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
val ABI = EnumConstant(
"""
ABI enumeration.
-
+
<b>LWJGL note</b>: ABIs that are not applicable to the current platform will have a value of -1 and should not be used.
""",
@@ -107,7 +107,8 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"OK".enum,
"BAD_TYPEDEF".enum,
- "BAD_ABI".enum
+ "BAD_ABI".enum,
+ "BAD_ARGTYPE".enum
)
macro..Address..ffi_type.p("type_void", "The {@code ffi_type_void} struct.", void())
@@ -140,7 +141,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"prep_cif",
"""
Initializes the specified Call Interface (CIF) according to the given parameters.
-
+
The resulting {@code ffi_cif} holds pointers to all the {@code ffi_type} objects that were used during initialization. You must ensure that these type
objects have a lifetime at least as long as that of the {@code ffi_cif}.
""",
@@ -195,7 +196,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"call",
"""
Calls the function {@code fn} according to the description given in {@code cif}.
-
+
{@code cif} must have already been prepared using #prep_cif().
""",
@@ -208,7 +209,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"rvalue",
"""
a pointer to a chunk of memory that will hold the result of the function call.
-
+
This must be large enough to hold the result, no smaller than the system register size (generally 32 or 64 bits), and must be suitably aligned; it
is the caller's responsibility to ensure this. If CIF declares that the function returns {@code void} (using #type_void), then {@code rvalue} is
ignored.
@@ -223,7 +224,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"avalues",
"""
a vector of {@code void *} pointers that point to the memory locations holding the argument values for a call.
-
+
If {@code cif} declares that the function has no arguments (i.e., {@code nargs} was 0), then {@code avalues} is ignored. Note that argument values
may be modified by the callee (for instance, structs passed by value); the burden of copying pass-by-value arguments is placed on the caller.
@@ -260,7 +261,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"closure_alloc",
"""
Allocates a chunk of memory holding {@code size} bytes.
-
+
Returns a pointer to the writable address, and sets {@code *code} to the corresponding executable address.
""",
@@ -281,7 +282,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"prep_closure_loc",
"""
Prepares a closure function.
-
+
After calling {@code ffi_prep_closure_loc,} you can cast {@code codeloc} to the appropriate pointer-to-function type.
""",
@@ -295,7 +296,7 @@ typedef void (*FFI_CLOSURE_FUN)(ffi_cif*, void*, void**, void*);""")
"{@code cif} - The {@code ffi_cif} passed to {@code ffi_prep_closure_loc}.",
"""
{@code ret} - a pointer to the memory used for the function's return value.
-
+
If the function is declared as returning {@code void}, then this value is garbage and should not be used.
Otherwise, {@code fun} must fill the object to which this points, following the same special promotion behavior as {@code ffi_call}. That is,

View file

@ -0,0 +1,38 @@
From 6fc0c85eabffd4208221d74868702b52a6a3d17e Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Sun, 11 Dec 2022 16:04:23 +0100
Subject: [PATCH] force use of system libffi
---
config/linux/build.xml | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/config/linux/build.xml b/config/linux/build.xml
index 299ca65..5098004 100644
--- a/config/linux/build.xml
+++ b/config/linux/build.xml
@@ -187,13 +187,8 @@
<include name="${module.lwjgl}/jawt/src/generated/c/*.c" if:true="${binding.jawt}"/>
</fileset>
</source>
- <beforeLink>
- <parallel threadsPerProcessor="2" failonany="true" unless:set="lib-dependencies-uptodate">
- <update-dependency module="core" artifact="core/libffi.a"/>
- </parallel>
- </beforeLink>
<link>
- <fileset dir="${lib.native}/org/lwjgl">
+ <fileset dir="/usr/lib">
<include name="libffi.a"/>
</fileset>
<arg value="-ldl"/>
@@ -476,4 +471,4 @@
<touch file="${lib.native}/touch.txt" verbose="false"/>
</sequential>
</target>
-</project>
\ No newline at end of file
+</project>
--
2.38.1

View file

@ -0,0 +1,26 @@
From 1b5ccef4539d7a1dadac4c35112cdc5a1fbf4e90 Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Sun, 5 Feb 2023 16:19:58 +0100
Subject: [PATCH] remove prefixes for aarch64/arm32
---
config/linux/build.xml | 5 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/config/linux/build.xml b/config/linux/build.xml
index 299ca65..e2fe8fe 100644
--- a/config/linux/build.xml
+++ b/config/linux/build.xml
@@ -5,9 +5,6 @@
<project name="native-linux" basedir="../.." xmlns:if="ant:if" xmlns:unless="ant:unless">
<import file="../build-definitions.xml"/>
- <property name="gcc.prefix" value="aarch64-linux-gnu-" if:set="build.arch.arm64"/>
- <property name="gcc.prefix" value="arm-linux-gnueabihf-" if:set="build.arch.arm32"/>
-
<condition property="gcc.prefix" value="${gcc.prefix}" else="">
<isset property="gcc.prefix"/>
</condition>
--
2.39.1

View file

@ -0,0 +1,52 @@
From 77cce2fea2c6bf657a3d3fddecc731f596fe14dc Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Sat, 26 Nov 2022 10:06:53 +0100
Subject: [PATCH] rip preadv2 out of this file we don't have it
---
.../kotlin/core/linux/templates/uio.kt | 24 +------------------
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/modules/lwjgl/core/src/templates/kotlin/core/linux/templates/uio.kt b/modules/lwjgl/core/src/templates/kotlin/core/linux/templates/uio.kt
index 2d8f9bf..da03b03 100644
--- a/modules/lwjgl/core/src/templates/kotlin/core/linux/templates/uio.kt
+++ b/modules/lwjgl/core/src/templates/kotlin/core/linux/templates/uio.kt
@@ -67,28 +67,6 @@ val uio = "UIO".nativeClass(Module.CORE_LINUX, nativeSubPath = "linux") {
off_t("__offset", "")
)
- SaveErrno..ssize_t(
- "preadv2",
- "",
-
- int("__fd", ""),
- iovec.const.p("__iovec", ""),
- int("__count", ""),
- off_t("__offset", ""),
- int("__flags", "")
- )
-
- SaveErrno..ssize_t(
- "pwritev2",
- "",
-
- int("__fd", ""),
- iovec.const.p("__iovec", ""),
- int("__count", ""),
- off_t("__offset", ""),
- int("__flags", "")
- )
-
SaveErrno..ssize_t(
"process_vm_readv",
"Read from another process' address space.",
@@ -112,4 +90,4 @@ val uio = "UIO".nativeClass(Module.CORE_LINUX, nativeSubPath = "linux") {
unsigned_long_int("__riovcnt", ""),
unsigned_long_int("__flags", "")
)
-}
\ No newline at end of file
+}
--
2.38.1

View file

@ -1,79 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-essentialsx
pkgver=2.21.0_pre151
_gittag=f2af9528b0f99f2ff121dda2607e51d391a2a8bf
pkgrel=0
pkgdesc="EssentialsX is the essential plugin suite for Minecraft servers, with over 130 commands for servers of all size and scale."
arch='noarch'
url="https://essentialsx.net/"
license="GPL-3.0"
depends="
papermc>=1.8.8
papermc-plugin-luckperms
papermc-plugin-vault
"
makedepends="openjdk21-jdk"
source="$pkgname-$_gittag.tar.gz::https://github.com/EssentialsX/Essentials/archive/$_gittag.tar.gz"
builddir="$srcdir"/Essentials-$_gittag
subpackages="$pkgname-chat $pkgname-spawn $pkgname-antibuild $pkgname-discord $pkgname-geo $pkgname-protect $pkgname-xmpp"
build() {
./gradlew build
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/jars/EssentialsX-*.jar "$pkgdir/var/lib/papermc/plugins/Essentials.jar"
}
chat() {
pkgdesc="Chat formatting, local chat"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXChat-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsChat.jar"
}
spawn() {
pkgdesc="Spawnpoint control, per-player spawns"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXSpawn-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsSpawn.jar"
}
antibuild() {
pkgdesc="Simple permissions-based building control"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXAntiBuild-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsAntiBuild.jar"
}
discord() {
pkgdesc="Lightweight chat, messaging and command integration with Discord"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXDiscord-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsDiscord.jar"
install -Dm644 "$builddir"/jars/EssentialsXDiscordLink-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsDiscordLink.jar"
}
geo() {
pkgdesc="Geographical player lookup (formerly EssentialsX GeoIP)"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXGeoIP-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsGeo.jar"
}
protect() {
pkgdesc="Configurable world protection and control"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXProtect-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsProtect.jar"
}
xmpp() {
pkgdesc="Lightweight chat, messaging and server log integration with Jabber/XMPP services"
depends="$pkgname"
install -Dm644 "$builddir"/jars/EssentialsXXMPP-*.jar "$subpkgdir/var/lib/papermc/plugins/EssentialsXMPP.jar"
}
sha512sums="
5fabf6b2091f7182ff23ca02e2f93ff22527668d55bbf60977ad414881c201bdc4608fe3618ca0d1312beb8fe8768f36cd792099817a0205f791ab2f9b212e04 papermc-plugin-essentialsx-f2af9528b0f99f2ff121dda2607e51d391a2a8bf.tar.gz
"

View file

@ -1,34 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-luckperms
pkgver=5.4.151
_gittag=0fef481d480737528491fc0b3b8487eb1612f955
pkgrel=0
pkgdesc="An advanced permissions plugin for Bukkit/Spigot, BungeeCord and Sponge."
arch='noarch'
url="https://github.com/lucko/LuckPerms"
license="MIT"
depends="papermc>=1.8.8"
makedepends="openjdk21-jdk"
source="$pkgname-$_gittag.tar.gz::https://github.com/LuckPerms/LuckPerms/archive/$_gittag.tar.gz"
builddir="$srcdir"/LuckPerms-$_gittag
prepare() {
default_prepare
sed -i "s|project.ext.patchVersion = determinePatchVersion()|project.ext.patchVersion = '${pkgver##*.}'|" build.gradle
}
build() {
./gradlew build
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/bukkit/loader/build/libs/LuckPerms-Bukkit-*.jar "$pkgdir/var/lib/papermc/plugins/LuckPerms.jar"
}
sha512sums="
e016d2a161472974cc75151e1a6cb3495881d4db7e0aa75d81a1c54fd16d191fe721b1f9fadeaac0bef7ec4a7c47329a2cf367cf3a7577b284077ec173db0579 papermc-plugin-luckperms-0fef481d480737528491fc0b3b8487eb1612f955.tar.gz
"

View file

@ -1,33 +0,0 @@
From 2022cb08922caa42aa77faca254c9b7d7506bee8 Mon Sep 17 00:00:00 2001
From: Geolykt <admin@geolykt.de>
Date: Mon, 27 Jun 2022 12:02:49 +0200
Subject: [PATCH] Support newer JDKs for building
Apparently the ancient version of lombok used
by a dependency is not compatible with newer
versions of java. As Vault proper did not make
use of lombok, it can be safely removed without
declaring an alternative.
This commit allows Vault to build under Java 17.
---
pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index 5b8a6dfd..17c189fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,12 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
<artifactId>craftconomy3</artifactId>
<version>3.2.2-SNAPSHOT</version>
<optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.crystalyx.bukkit.simplyperms</groupId>

View file

@ -1,37 +0,0 @@
From 52df9d3287e8d593d0e4d999c6d5daaebe947ca1 Mon Sep 17 00:00:00 2001
From: Ricardo Boss <mail@ricardoboss.de>
Date: Tue, 28 Jun 2022 18:50:18 +0200
Subject: [PATCH] Add option to silence "no update" logs (#823)
* Added "silent-no-update" config option
Added switch to turn off messages if no update is available.
* Set default value for "silent-no-update"
* Removed any "no update available" option and message
---
src/net/milkbowl/vault/Vault.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java
index ef8b5578..fd2a9787 100644
--- a/src/net/milkbowl/vault/Vault.java
+++ b/src/net/milkbowl/vault/Vault.java
@@ -171,8 +171,6 @@ public void run() {
log.warning("Update at: https://dev.bukkit.org/projects/vault");
} else if (currentVersion > newVersion) {
log.info("Stable Version: " + newVersionTitle + " | Current Version: " + currentVersionTitle);
- } else {
- log.info("No new version available");
}
} catch (Exception e) {
// ignore exceptions
@@ -182,7 +180,6 @@ public void run() {
}, 0, 432000);
}
-
});
// Load up the Plugin metrics

View file

@ -1,72 +0,0 @@
From 3f20655f0b1b9c7a0f69eb241c5bedd8e748b5c9 Mon Sep 17 00:00:00 2001
From: Leonardo Di Gianfelice Stornelli
<leonardo.digianfelicestornelli@gmail.com>
Date: Tue, 28 Jun 2022 00:34:40 +0200
Subject: [PATCH] Update bStats (#868)
---
pom.xml | 2 +-
src/net/milkbowl/vault/Vault.java | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 17c189fd..ccd8cde4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,7 +85,7 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
- <version>1.5</version>
+ <version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.gmail.bleedobsidian.miconomy</groupId>
diff --git a/src/net/milkbowl/vault/Vault.java b/src/net/milkbowl/vault/Vault.java
index 30f6f17f..ef8b5578 100644
--- a/src/net/milkbowl/vault/Vault.java
+++ b/src/net/milkbowl/vault/Vault.java
@@ -78,6 +78,7 @@
import net.milkbowl.vault.permission.plugins.Permission_KPerms;
import org.bstats.bukkit.Metrics;
+import org.bstats.charts.SimplePie;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.Command;
@@ -185,7 +186,7 @@ public void run() {
});
// Load up the Plugin metrics
- Metrics metrics = new Metrics(this);
+ Metrics metrics = new Metrics(this, 887);
findCustomData(metrics);
log.info(String.format("Enabled Version %s", getDescription().getVersion()));
@@ -581,7 +582,7 @@ private void findCustomData(Metrics metrics) {
econ = rspEcon.getProvider();
}
final String econName = econ != null ? econ.getName() : "No Economy";
- metrics.addCustomChart(new Metrics.SimplePie("economy", new Callable<String>() {
+ metrics.addCustomChart(new SimplePie("economy", new Callable<String>() {
@Override
public String call() {
return econName;
@@ -590,7 +591,7 @@ public String call() {
// Create our Permission Graph and Add our permission Plotters
final String permName = Bukkit.getServer().getServicesManager().getRegistration(Permission.class).getProvider().getName();
- metrics.addCustomChart(new Metrics.SimplePie("permission", new Callable<String>() {
+ metrics.addCustomChart(new SimplePie("permission", new Callable<String>() {
@Override
public String call() {
return permName;
@@ -604,7 +605,7 @@ public String call() {
chat = rspChat.getProvider();
}
final String chatName = chat != null ? chat.getName() : "No Chat";
- metrics.addCustomChart(new Metrics.SimplePie("chat", new Callable<String>() {
+ metrics.addCustomChart(new SimplePie("chat", new Callable<String>() {
@Override
public String call() {
return chatName;

View file

@ -1,42 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-vault
pkgver=1.7.3
pkgrel=0
pkgdesc="Vault of common APIs for Bukkit Plugins"
arch='noarch'
url="https://github.com/MilkBowl/Vault"
license="MIT"
depends="papermc>=1.8.8"
makedepends="
openjdk21-jdk
maven
"
source="
vault-$pkgver.tar.gz::https://github.com/MilkBowl/Vault/archive/refs/tags/1.7.3.tar.gz
2022cb0_support-newer-jdk-for-building.patch
868_update-bstats.patch
823_add-option-to-silence-no-update-logs.patch
1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
"
builddir="$srcdir"/Vault-$pkgver
build() {
mvn compile
mvn package
}
check() {
mvn test
}
package() {
install -Dm644 "$builddir"/target/Vault-$pkgver.jar "$pkgdir/var/lib/papermc/plugins/Vault.jar"
}
sha512sums="
3d154945e63b7824f0a0e0900fe6db7dc77c97f1967c29760d27a3322ca0b95d76965d8574c24b7cc0e86e822f9b5e3f860cb7167796351c9a921ddf5ef3d36b vault-1.7.3.tar.gz
8b7197b25acf06e545f10dd7dc5447aab6a73d3455bf89b01a4b466331eefa77c86152a47818348cfb901a0d65cff115b75ae37e0f8bb702c35cf13a3942a484 2022cb0_support-newer-jdk-for-building.patch
9124d0feef633f405c3aea6081d4b749df9828d99d0c93d09ba52adb680a781288523d2dfc71be566b8cafd58ac97f152258174ab02294c6e97020a033ee0faa 868_update-bstats.patch
b76b385ff62a955430db8d4d60592983e7475e1e63cd6a9e8c0be0a035662ec4472c6f9c8f09125745c198074695b3e04fe6ad96cbafa5faaba72bcf1bfee896 823_add-option-to-silence-no-update-logs.patch
ea5e36649e65ca690fd8a075bb5f251a8b449ab780a546007e242ec465c58c8c5ae346efac5f1b52e3287f4f400c658f745d130d1e361ecca3436dcf5cb46fb5 1996cfa_finish-removal-native-support-for-abandonned-economy-plugins.patch
"

View file

@ -1,29 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-worldedit
pkgver=7.3.9
_pkgver=$pkgver
pkgrel=1
pkgdesc="WorldEdit is an easy-to-use in-game Minecraft map editor"
arch='noarch !aarch64'
url="https://github.com/EngineHub/WorldEdit"
license="GPL-3.0"
depends="papermc>=1.13.2"
makedepends="openjdk21-jdk"
source="$pkgname-$pkgver.tar.gz::https://github.com/EngineHub/WorldEdit/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir"/WorldEdit-$pkgver
build() {
./gradlew build --parallel
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/worldedit-bukkit/build/libs/worldedit-bukkit-$pkgver-dist.jar "$pkgdir/var/lib/papermc/plugins/WorldEdit.jar"
}
sha512sums="
35eb83dfcd192884a86f9bec3cbe586af6141b8c10461937b2ef112bfb4d64f5f7c6e950108a7893dc5b1054f1d0206f74ec6b4702481c0da69bf89627dbfb06 papermc-plugin-worldedit-7.3.9.tar.gz
"

View file

@ -1,29 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=papermc-plugin-worldguard
pkgver=7.0.13_beta1
_gittag=2f13ae0444409376feb6c7674591142fe854e12e
pkgrel=0
pkgdesc="WorldGuard lets you and players guard areas of land against griefers and undesirables"
arch='noarch'
url="https://github.com/EngineHub/WorldGuard"
license="GPL-3.0"
depends="papermc>=1.17.0"
makedepends="openjdk21-jdk"
source="$pkgname-$_gittag.tar.gz::https://github.com/EngineHub/WorldGuard/archive/$_gittag.tar.gz"
builddir="$srcdir"/WorldGuard-$_gittag
build() {
./gradlew build
}
check() {
./gradlew test
}
package() {
install -Dm644 "$builddir"/worldguard-bukkit/build/libs/worldguard-bukkit-*dist.jar "$pkgdir/var/lib/papermc/plugins/WorldGuard.jar"
}
sha512sums="
755646330c17df22b1d4eb6f38fc8ea712eff86a0165f2dba6dc1bcd420d2d112547adf60a35f268f45730b8444e540d7d08a02a50df0238bf16c9ff7dc799ff papermc-plugin-worldguard-2f13ae0444409376feb6c7674591142fe854e12e.tar.gz
"