diff options
author | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-09 14:35:52 +0100 |
commit | d1fc3393cca72e8e432f827f7624e38734fad6dc (patch) | |
tree | 7b971fbfc203ff017ad78852476bfcccee170971 | |
parent | ccc722b7ed330198d82a3cf28ead76d6d107a70a (diff) |
moved firmware to separate pacakges
122 files changed, 1425 insertions, 34 deletions
diff --git a/repo/adoptopenjdk11/adoptopenjdk11.xibuild b/repo/adoptopenjdk11/adoptopenjdk11.xibuild index 769ec57..01f04ca 100644 --- a/repo/adoptopenjdk11/adoptopenjdk11.xibuild +++ b/repo/adoptopenjdk11/adoptopenjdk11.xibuild @@ -4,16 +4,20 @@ NAME="adoptopenjdk11" DESC="AdoptOpenJDK Java 11 binaries" MAKEDEPS="make " -DEPS="less " +DEPS="default-jvm less " PKG_VER=11.0.15 RELEASE=10 SOURCE="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-$PKG_VER%2B10/OpenJDK${PKG_VER%%.*}U-jdk_x64_alpine-linux_hotspot_${PKG_VER}_${RELEASE}.tar.gz" package () { - out=$PKG_DEST/usr/lib/jvm/adoptopenjdk${PKG_VER%%.*} + out=$PKG_DEST/usr/lib/jvm/$NAME mkdir -p $out for f in NOTICE bin conf include jmods legal lib man release; do mv $f $out/ done } + +postinstall () { + default-jvm || default-jvm $NAME +} diff --git a/repo/adoptopenjdk16/adoptopenjdk16.xibuild b/repo/adoptopenjdk16/adoptopenjdk16.xibuild index 414caff..f5533b4 100644 --- a/repo/adoptopenjdk16/adoptopenjdk16.xibuild +++ b/repo/adoptopenjdk16/adoptopenjdk16.xibuild @@ -4,15 +4,20 @@ NAME="adoptopenjdk16" DESC="AdoptOpenJDK Java 16 binaries" MAKEDEPS="make " +DEPS="default-jvm" PKG_VER=16.0.2 RELEASE=7 SOURCE="https://github.com/adoptium/temurin16-binaries/releases/download/jdk-$PKG_VER%2B7/OpenJDK${PKG_VER%%.*}U-jdk_x64_alpine-linux_hotspot_${PKG_VER}_${RELEASE}.tar.gz" package () { - out=$PKG_DEST/usr/lib/jvm/adoptopenjdk${PKG_VER%%.*} + out=$PKG_DEST/usr/lib/jvm/$NAME mkdir -p $out for f in NOTICE bin conf include jmods legal lib man release; do mv $f $out/ done } + +postinstall () { + default-jvm || default-jvm $NAME +} diff --git a/repo/adoptopenjdk17/adoptopenjdk17.xibuild b/repo/adoptopenjdk17/adoptopenjdk17.xibuild index ea2928e..91008cd 100644 --- a/repo/adoptopenjdk17/adoptopenjdk17.xibuild +++ b/repo/adoptopenjdk17/adoptopenjdk17.xibuild @@ -4,6 +4,7 @@ NAME="adoptopenjdk17" DESC="AdoptOpenJDK Java 17 binaries" MAKEDEPS="make " +DEPS="default-jvm" PKG_VER=17.0.3 RELEASE=7 @@ -16,3 +17,7 @@ package () { mv $f $out/ done } + +postinstall () { + default-jvm || default-jvm $NAME +} diff --git a/repo/adoptopenjdk18/adoptopenjdk18.xibuild b/repo/adoptopenjdk18/adoptopenjdk18.xibuild index 984eb62..a2d2da1 100644 --- a/repo/adoptopenjdk18/adoptopenjdk18.xibuild +++ b/repo/adoptopenjdk18/adoptopenjdk18.xibuild @@ -4,7 +4,7 @@ NAME="adoptopenjdk18" DESC="AdoptOpenJDK Java 18 binaries" MAKEDEPS="make " -DEPS="less " +DEPS="default-jvm" PKG_VER=18.0.1 RELEASE=10 @@ -17,3 +17,7 @@ package () { mv $f $out/ done } + +postinstall () { + default-jvm || default-jvm $NAME +} diff --git a/repo/assimp/assimp.xibuild b/repo/assimp/assimp.xibuild new file mode 100644 index 0000000..045df31 --- /dev/null +++ b/repo/assimp/assimp.xibuild @@ -0,0 +1,44 @@ +#!/bin/sh + +NAME="assimp" +DESC="Open Asset Import Library imports and exports 3D model formats." + +MAKEDEPS=" cmake ninja zlib" + +PKG_VER=5.2.3 +SOURCE="https://github.com/assimp/assimp/archive/v$PKG_VER/assimp-v$PKG_VER.tar.gz" + +prepare() { + # fails for some unknown divine reason + sed -i \ + -e "/AssimpAPITest_aiQuaternion/d" \ + test/CMakeLists.txt + + # tests report correct values, but comparison fails + case $CARCH in + x86) + sed -i \ + -e "/AssimpAPITest_aiMatrix3x3/d" \ + -e "/AssimpAPITest_aiMatrix4x4/d" \ + -e "/utFastAtof/d" \ + test/CMakeLists.txt + ;; + esac +} + +build() { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DASSIMP_BUILD_TESTS=True \ + -DASSIMP_BUILD_MINIZIP=True # use vendored fork of minizip + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build + rm -f "$PKG_DEST"/usr/lib/libIrrXML.a +} + diff --git a/repo/http-parser/http-parser.xibuild b/repo/http-parser/http-parser.xibuild new file mode 100644 index 0000000..7255229 --- /dev/null +++ b/repo/http-parser/http-parser.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="http-parser" +DESC="HTTP request/response parser for C" + +MAKEDEPS="" + +PKG_VER=2.9.4 +SOURCE="https://github.com/nodejs/http-parser/archive/v$PKG_VER/http-parser-$PKG_VER.tar.gz" + +build() { + make library +} + +check() { + make test +} + +package() { + make install DESTDIR="$PKG_DEST" PREFIX="/usr" +} + diff --git a/repo/libgit/libgit.xibuild b/repo/libgit/libgit.xibuild new file mode 100644 index 0000000..f471d3b --- /dev/null +++ b/repo/libgit/libgit.xibuild @@ -0,0 +1,39 @@ +#!/bin/sh + +NAME="libgit" +DESC="linkable library for Git" + +MAKEDEPS="http-parser" + +PKG_VER=1.4.3 +SOURCE="https://github.com/libgit2/libgit2/archive/v$PKG_VER.tar.gz" + +prepare() { + mkdir -p "$BUILD_ROOT"/build +} + +build() { + cd "$BUILD_ROOT"/build + + cmake .. \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_HTTP_PARSER=system \ + -DUSE_HTTPS=OpenSSL \ + -DREGEX_BACKEND=pcre \ + -DUSE_BUNDLED_ZLIB=OFF \ + -DUSE_SSH=ON \ + -DCMAKE_C_FLAGS="$CFLAGS" + make +} + +check() { + cd "$BUILD_ROOT"/build + ctest -E 'offline|online' +} + +package() { + cd "$BUILD_ROOT" + make -C build DESTDIR="$PKG_DEST" install +} diff --git a/repo/linux-firmware/linux-firmware-3com.xibuild b/repo/linux-firmware/linux-firmware-3com.xibuild new file mode 100644 index 0000000..bf464ad --- /dev/null +++ b/repo/linux-firmware/linux-firmware-3com.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for 3com" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r 3com $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-RTL8192E.xibuild b/repo/linux-firmware/linux-firmware-RTL8192E.xibuild new file mode 100644 index 0000000..e6a55e9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-RTL8192E.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for RTL8192E" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r RTL8192E $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-acenic.xibuild b/repo/linux-firmware/linux-firmware-acenic.xibuild new file mode 100644 index 0000000..600a2d9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-acenic.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for acenic" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r acenic $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-adaptec.xibuild b/repo/linux-firmware/linux-firmware-adaptec.xibuild new file mode 100644 index 0000000..39827d1 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-adaptec.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for adaptec" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r adaptec $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-advansys.xibuild b/repo/linux-firmware/linux-firmware-advansys.xibuild new file mode 100644 index 0000000..d0a95cc --- /dev/null +++ b/repo/linux-firmware/linux-firmware-advansys.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for advansys" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r advansys $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-amd-ucode.xibuild b/repo/linux-firmware/linux-firmware-amd-ucode.xibuild new file mode 100644 index 0000000..257e65a --- /dev/null +++ b/repo/linux-firmware/linux-firmware-amd-ucode.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for amd-ucode" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r amd-ucode $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-amd.xibuild b/repo/linux-firmware/linux-firmware-amd.xibuild new file mode 100644 index 0000000..f73c691 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-amd.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for amd" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r amd $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-amdgpu.xibuild b/repo/linux-firmware/linux-firmware-amdgpu.xibuild new file mode 100644 index 0000000..c4b63e9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-amdgpu.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for amdgpu" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r amdgpu $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-amphion.xibuild b/repo/linux-firmware/linux-firmware-amphion.xibuild new file mode 100644 index 0000000..39671c1 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-amphion.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for amphion" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r amphion $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ar3k.xibuild b/repo/linux-firmware/linux-firmware-ar3k.xibuild new file mode 100644 index 0000000..1aec3e7 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ar3k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ar3k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ar3k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ath10k.xibuild b/repo/linux-firmware/linux-firmware-ath10k.xibuild new file mode 100644 index 0000000..759c26d --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ath10k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ath10k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ath10k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ath11k.xibuild b/repo/linux-firmware/linux-firmware-ath11k.xibuild new file mode 100644 index 0000000..5bd17e0 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ath11k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ath11k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ath11k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ath6k.xibuild b/repo/linux-firmware/linux-firmware-ath6k.xibuild new file mode 100644 index 0000000..9a08c80 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ath6k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ath6k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ath6k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ath9k_htc.xibuild b/repo/linux-firmware/linux-firmware-ath9k_htc.xibuild new file mode 100644 index 0000000..028d50f --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ath9k_htc.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ath9k_htc" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ath9k_htc $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-atmel.xibuild b/repo/linux-firmware/linux-firmware-atmel.xibuild new file mode 100644 index 0000000..536cb38 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-atmel.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for atmel" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r atmel $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-atusb.xibuild b/repo/linux-firmware/linux-firmware-atusb.xibuild new file mode 100644 index 0000000..24c5059 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-atusb.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for atusb" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r atusb $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-av7110.xibuild b/repo/linux-firmware/linux-firmware-av7110.xibuild new file mode 100644 index 0000000..95b8434 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-av7110.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for av7110" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r av7110 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-bnx2.xibuild b/repo/linux-firmware/linux-firmware-bnx2.xibuild new file mode 100644 index 0000000..4a3eff7 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-bnx2.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for bnx2" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r bnx2 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-bnx2x.xibuild b/repo/linux-firmware/linux-firmware-bnx2x.xibuild new file mode 100644 index 0000000..7c57a3d --- /dev/null +++ b/repo/linux-firmware/linux-firmware-bnx2x.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for bnx2x" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r bnx2x $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-brcm.xibuild b/repo/linux-firmware/linux-firmware-brcm.xibuild new file mode 100644 index 0000000..7ad90ac --- /dev/null +++ b/repo/linux-firmware/linux-firmware-brcm.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for brcm" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r brcm $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cadence.xibuild b/repo/linux-firmware/linux-firmware-cadence.xibuild new file mode 100644 index 0000000..78e8712 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cadence.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cadence" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cadence $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-carl9170fw.xibuild b/repo/linux-firmware/linux-firmware-carl9170fw.xibuild new file mode 100644 index 0000000..e2f5c65 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-carl9170fw.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for carl9170fw" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r carl9170fw $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cavium.xibuild b/repo/linux-firmware/linux-firmware-cavium.xibuild new file mode 100644 index 0000000..e4cb963 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cavium.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cavium" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cavium $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cis.xibuild b/repo/linux-firmware/linux-firmware-cis.xibuild new file mode 100644 index 0000000..f21083b --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cis.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cis" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cis $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cnm.xibuild b/repo/linux-firmware/linux-firmware-cnm.xibuild new file mode 100644 index 0000000..7797d9e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cnm.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cnm" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cnm $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cpia2.xibuild b/repo/linux-firmware/linux-firmware-cpia2.xibuild new file mode 100644 index 0000000..6e842f9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cpia2.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cpia2" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cpia2 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cxgb3.xibuild b/repo/linux-firmware/linux-firmware-cxgb3.xibuild new file mode 100644 index 0000000..3713548 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cxgb3.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cxgb3" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cxgb3 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cxgb4.xibuild b/repo/linux-firmware/linux-firmware-cxgb4.xibuild new file mode 100644 index 0000000..14c3e25 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cxgb4.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cxgb4" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cxgb4 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-cypress.xibuild b/repo/linux-firmware/linux-firmware-cypress.xibuild new file mode 100644 index 0000000..97f0971 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-cypress.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for cypress" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r cypress $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-dabusb.xibuild b/repo/linux-firmware/linux-firmware-dabusb.xibuild new file mode 100644 index 0000000..82c0b0e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-dabusb.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for dabusb" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r dabusb $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-dpaa2.xibuild b/repo/linux-firmware/linux-firmware-dpaa2.xibuild new file mode 100644 index 0000000..81603cd --- /dev/null +++ b/repo/linux-firmware/linux-firmware-dpaa2.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for dpaa2" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r dpaa2 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-dsp56k.xibuild b/repo/linux-firmware/linux-firmware-dsp56k.xibuild new file mode 100644 index 0000000..c646760 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-dsp56k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for dsp56k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r dsp56k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-e100.xibuild b/repo/linux-firmware/linux-firmware-e100.xibuild new file mode 100644 index 0000000..1ef6e1c --- /dev/null +++ b/repo/linux-firmware/linux-firmware-e100.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for e100" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r e100 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-edgeport.xibuild b/repo/linux-firmware/linux-firmware-edgeport.xibuild new file mode 100644 index 0000000..9f1ec9e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-edgeport.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for edgeport" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r edgeport $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-emi26.xibuild b/repo/linux-firmware/linux-firmware-emi26.xibuild new file mode 100644 index 0000000..7d9e716 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-emi26.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for emi26" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r emi26 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-emi62.xibuild b/repo/linux-firmware/linux-firmware-emi62.xibuild new file mode 100644 index 0000000..cbbd278 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-emi62.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for emi62" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r emi62 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ene-ub6250.xibuild b/repo/linux-firmware/linux-firmware-ene-ub6250.xibuild new file mode 100644 index 0000000..04dc441 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ene-ub6250.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ene-ub6250" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ene-ub6250 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ess.xibuild b/repo/linux-firmware/linux-firmware-ess.xibuild new file mode 100644 index 0000000..def34dd --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ess.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ess" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ess $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-go7007.xibuild b/repo/linux-firmware/linux-firmware-go7007.xibuild new file mode 100644 index 0000000..30113aa --- /dev/null +++ b/repo/linux-firmware/linux-firmware-go7007.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for go7007" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r go7007 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-i915.xibuild b/repo/linux-firmware/linux-firmware-i915.xibuild new file mode 100644 index 0000000..16fd3f0 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-i915.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for i915" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r i915 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-imx.xibuild b/repo/linux-firmware/linux-firmware-imx.xibuild new file mode 100644 index 0000000..b61db99 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-imx.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for imx" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r imx $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-inside-secure.xibuild b/repo/linux-firmware/linux-firmware-inside-secure.xibuild new file mode 100644 index 0000000..98456ee --- /dev/null +++ b/repo/linux-firmware/linux-firmware-inside-secure.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for inside-secure" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r inside-secure $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-intel.xibuild b/repo/linux-firmware/linux-firmware-intel.xibuild new file mode 100644 index 0000000..84578a6 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-intel.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for intel" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r intel $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-isci.xibuild b/repo/linux-firmware/linux-firmware-isci.xibuild new file mode 100644 index 0000000..d16f8df --- /dev/null +++ b/repo/linux-firmware/linux-firmware-isci.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for isci" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r isci $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-kaweth.xibuild b/repo/linux-firmware/linux-firmware-kaweth.xibuild new file mode 100644 index 0000000..9f3fe0b --- /dev/null +++ b/repo/linux-firmware/linux-firmware-kaweth.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for kaweth" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r kaweth $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-keyspan.xibuild b/repo/linux-firmware/linux-firmware-keyspan.xibuild new file mode 100644 index 0000000..336e087 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-keyspan.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for keyspan" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r keyspan $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-keyspan_pda.xibuild b/repo/linux-firmware/linux-firmware-keyspan_pda.xibuild new file mode 100644 index 0000000..dc230cc --- /dev/null +++ b/repo/linux-firmware/linux-firmware-keyspan_pda.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for keyspan_pda" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r keyspan_pda $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-korg.xibuild b/repo/linux-firmware/linux-firmware-korg.xibuild new file mode 100644 index 0000000..f5c7493 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-korg.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for korg" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r korg $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-libertas.xibuild b/repo/linux-firmware/linux-firmware-libertas.xibuild new file mode 100644 index 0000000..510ffcd --- /dev/null +++ b/repo/linux-firmware/linux-firmware-libertas.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for libertas" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r libertas $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-liquidio.xibuild b/repo/linux-firmware/linux-firmware-liquidio.xibuild new file mode 100644 index 0000000..9ce91b1 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-liquidio.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for liquidio" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r liquidio $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-matrox.xibuild b/repo/linux-firmware/linux-firmware-matrox.xibuild new file mode 100644 index 0000000..8de36a3 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-matrox.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for matrox" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r matrox $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-mediatek.xibuild b/repo/linux-firmware/linux-firmware-mediatek.xibuild new file mode 100644 index 0000000..19b0b2f --- /dev/null +++ b/repo/linux-firmware/linux-firmware-mediatek.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for mediatek" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r mediatek $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-mellanox.xibuild b/repo/linux-firmware/linux-firmware-mellanox.xibuild new file mode 100644 index 0000000..90a97e5 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-mellanox.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for mellanox" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r mellanox $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-meson.xibuild b/repo/linux-firmware/linux-firmware-meson.xibuild new file mode 100644 index 0000000..9993b79 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-meson.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for meson" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r meson $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-microchip.xibuild b/repo/linux-firmware/linux-firmware-microchip.xibuild new file mode 100644 index 0000000..ab41843 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-microchip.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for microchip" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r microchip $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-moxa.xibuild b/repo/linux-firmware/linux-firmware-moxa.xibuild new file mode 100644 index 0000000..c07bc07 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-moxa.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for moxa" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r moxa $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-mrvl.xibuild b/repo/linux-firmware/linux-firmware-mrvl.xibuild new file mode 100644 index 0000000..a2955f0 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-mrvl.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for mrvl" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r mrvl $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-mwl8k.xibuild b/repo/linux-firmware/linux-firmware-mwl8k.xibuild new file mode 100644 index 0000000..f496c74 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-mwl8k.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for mwl8k" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r mwl8k $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-mwlwifi.xibuild b/repo/linux-firmware/linux-firmware-mwlwifi.xibuild new file mode 100644 index 0000000..3a770a5 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-mwlwifi.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for mwlwifi" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r mwlwifi $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-myricom.xibuild b/repo/linux-firmware/linux-firmware-myricom.xibuild new file mode 100644 index 0000000..1f9720f --- /dev/null +++ b/repo/linux-firmware/linux-firmware-myricom.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for myricom" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r myricom $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-netronome.xibuild b/repo/linux-firmware/linux-firmware-netronome.xibuild new file mode 100644 index 0000000..9ed83f9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-netronome.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for netronome" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r netronome $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-nvidia.xibuild b/repo/linux-firmware/linux-firmware-nvidia.xibuild new file mode 100644 index 0000000..b415e58 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-nvidia.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for nvidia" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r nvidia $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ositech.xibuild b/repo/linux-firmware/linux-firmware-ositech.xibuild new file mode 100644 index 0000000..383fe5a --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ositech.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ositech" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ositech $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-qca.xibuild b/repo/linux-firmware/linux-firmware-qca.xibuild new file mode 100644 index 0000000..6b99d33 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-qca.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for qca" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r qca $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-qcom.xibuild b/repo/linux-firmware/linux-firmware-qcom.xibuild new file mode 100644 index 0000000..8d34604 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-qcom.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for qcom" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r qcom $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-qed.xibuild b/repo/linux-firmware/linux-firmware-qed.xibuild new file mode 100644 index 0000000..849f76e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-qed.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for qed" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r qed $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-qlogic.xibuild b/repo/linux-firmware/linux-firmware-qlogic.xibuild new file mode 100644 index 0000000..cba9807 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-qlogic.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for qlogic" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r qlogic $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-r128.xibuild b/repo/linux-firmware/linux-firmware-r128.xibuild new file mode 100644 index 0000000..8a8027a --- /dev/null +++ b/repo/linux-firmware/linux-firmware-r128.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for r128" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r r128 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-radeon.xibuild b/repo/linux-firmware/linux-firmware-radeon.xibuild new file mode 100644 index 0000000..bd26ba8 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-radeon.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for radeon" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r radeon $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rockchip.xibuild b/repo/linux-firmware/linux-firmware-rockchip.xibuild new file mode 100644 index 0000000..df5f658 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rockchip.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rockchip" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rockchip $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rsi.xibuild b/repo/linux-firmware/linux-firmware-rsi.xibuild new file mode 100644 index 0000000..a581484 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rsi.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rsi" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rsi $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rtl_bt.xibuild b/repo/linux-firmware/linux-firmware-rtl_bt.xibuild new file mode 100644 index 0000000..9e70dd4 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rtl_bt.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rtl_bt" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rtl_bt $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rtl_nic.xibuild b/repo/linux-firmware/linux-firmware-rtl_nic.xibuild new file mode 100644 index 0000000..0a27f90 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rtl_nic.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rtl_nic" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rtl_nic $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rtlwifi.xibuild b/repo/linux-firmware/linux-firmware-rtlwifi.xibuild new file mode 100644 index 0000000..ded8858 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rtlwifi.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rtlwifi" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rtlwifi $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rtw88.xibuild b/repo/linux-firmware/linux-firmware-rtw88.xibuild new file mode 100644 index 0000000..ebee474 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rtw88.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rtw88" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rtw88 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-rtw89.xibuild b/repo/linux-firmware/linux-firmware-rtw89.xibuild new file mode 100644 index 0000000..8f5d0f7 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-rtw89.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for rtw89" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r rtw89 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-sb16.xibuild b/repo/linux-firmware/linux-firmware-sb16.xibuild new file mode 100644 index 0000000..1e6b254 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-sb16.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for sb16" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r sb16 $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-slicoss.xibuild b/repo/linux-firmware/linux-firmware-slicoss.xibuild new file mode 100644 index 0000000..6066c7e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-slicoss.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for slicoss" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r slicoss $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-sun.xibuild b/repo/linux-firmware/linux-firmware-sun.xibuild new file mode 100644 index 0000000..c433d11 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-sun.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for sun" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r sun $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-sxg.xibuild b/repo/linux-firmware/linux-firmware-sxg.xibuild new file mode 100644 index 0000000..c7d5004 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-sxg.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for sxg" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r sxg $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-tehuti.xibuild b/repo/linux-firmware/linux-firmware-tehuti.xibuild new file mode 100644 index 0000000..36f8650 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-tehuti.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for tehuti" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r tehuti $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ti-connectivity.xibuild b/repo/linux-firmware/linux-firmware-ti-connectivity.xibuild new file mode 100644 index 0000000..3d5546c --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ti-connectivity.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ti-connectivity" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ti-connectivity $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ti-keystone.xibuild b/repo/linux-firmware/linux-firmware-ti-keystone.xibuild new file mode 100644 index 0000000..70e59ad --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ti-keystone.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ti-keystone" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ti-keystone $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ti.xibuild b/repo/linux-firmware/linux-firmware-ti.xibuild new file mode 100644 index 0000000..f044048 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ti.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ti" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ti $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-tigon.xibuild b/repo/linux-firmware/linux-firmware-tigon.xibuild new file mode 100644 index 0000000..884226b --- /dev/null +++ b/repo/linux-firmware/linux-firmware-tigon.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for tigon" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r tigon $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ttusb-budget.xibuild b/repo/linux-firmware/linux-firmware-ttusb-budget.xibuild new file mode 100644 index 0000000..2c0c2dc --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ttusb-budget.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ttusb-budget" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ttusb-budget $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-ueagle-atm.xibuild b/repo/linux-firmware/linux-firmware-ueagle-atm.xibuild new file mode 100644 index 0000000..941296e --- /dev/null +++ b/repo/linux-firmware/linux-firmware-ueagle-atm.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for ueagle-atm" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r ueagle-atm $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-usbdux.xibuild b/repo/linux-firmware/linux-firmware-usbdux.xibuild new file mode 100644 index 0000000..33193a9 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-usbdux.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for usbdux" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r usbdux $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-vicam.xibuild b/repo/linux-firmware/linux-firmware-vicam.xibuild new file mode 100644 index 0000000..ae3f793 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-vicam.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for vicam" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r vicam $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-vxge.xibuild b/repo/linux-firmware/linux-firmware-vxge.xibuild new file mode 100644 index 0000000..ce56980 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-vxge.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for vxge" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r vxge $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-wfx.xibuild b/repo/linux-firmware/linux-firmware-wfx.xibuild new file mode 100644 index 0000000..c557527 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-wfx.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for wfx" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r wfx $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-yam.xibuild b/repo/linux-firmware/linux-firmware-yam.xibuild new file mode 100644 index 0000000..ca7855d --- /dev/null +++ b/repo/linux-firmware/linux-firmware-yam.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for yam" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r yam $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware-yamaha.xibuild b/repo/linux-firmware/linux-firmware-yamaha.xibuild new file mode 100644 index 0000000..2380c83 --- /dev/null +++ b/repo/linux-firmware/linux-firmware-yamaha.xibuild @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for yamaha" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r yamaha $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware.tmpl b/repo/linux-firmware/linux-firmware.tmpl new file mode 100644 index 0000000..bddcc5d --- /dev/null +++ b/repo/linux-firmware/linux-firmware.tmpl @@ -0,0 +1,9 @@ +#!/bin/sh + +DESC="linux firmware files for %folder%" +DEPS="" + +package () { + mkdir -p $PKG_DEST/usr/lib/firmware + cp -r %folder% $PKG_DEST/usr/lib/firmware/ +} diff --git a/repo/linux-firmware/linux-firmware.xibuild b/repo/linux-firmware/linux-firmware.xibuild index dc2a33a..9bdb308 100644 --- a/repo/linux-firmware/linux-firmware.xibuild +++ b/repo/linux-firmware/linux-firmware.xibuild @@ -3,13 +3,15 @@ MAKEDEPS="" DEPS="linux" -PKG_VER=5.18.1 +PKG_VER=5.18.2 SOURCE=https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git -BRANCH=0c6a7b3bf728b95c8b7b95328f94335e2bb2c967 +BRANCH=02c69863c885db963f8c0121b533f2816ef5be3b DESC="All firmware files for linux" package () { - mkdir -p $PKG_DEST/usr/lib/firmware - cp -r * $PKG_DEST/usr/lib/firmware + fw="$PKG_DEST/usr/lib/firmware" + mkdir -p $fw + cp *.bin *.fw *.txt *.inp *.ucode *.dat *.dlmem $fw/ + cp LICENSE.* $fw/ } diff --git a/repo/linux-headers/linux-headers.xibuild b/repo/linux-headers/linux-headers.xibuild index f96c3be..be97e70 100644 --- a/repo/linux-headers/linux-headers.xibuild +++ b/repo/linux-headers/linux-headers.xibuild @@ -4,7 +4,7 @@ MAKEDEPS="make cpio bc perl libelf kmod xmlto xz" DEPS="pahole" DESC="Linux kernel headers" -PKG_VER=5.18.1 +PKG_VER=5.18.2 SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz build () { diff --git a/repo/linux-libre/linux-libre.xibuild b/repo/linux-libre/linux-libre.xibuild index 1135426..a4b883f 100644 --- a/repo/linux-libre/linux-libre.xibuild +++ b/repo/linux-libre/linux-libre.xibuild @@ -1,9 +1,9 @@ #!/bin/sh -MAKEDEPS="make bc" +MAKEDEPS="make bc linux-headers cpio" DEPS="sbase kmod" -PKG_VER=5.18.1 +PKG_VER=5.18.2 SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz ADDITIONAL=" fix-sbase-coreutils.patch diff --git a/repo/linux/linux.xibuild b/repo/linux/linux.xibuild index f7be5c4..6571211 100644 --- a/repo/linux/linux.xibuild +++ b/repo/linux/linux.xibuild @@ -1,9 +1,9 @@ #!/bin/sh -MAKEDEPS="make bc" +MAKEDEPS="make bc cpio linux-headers" DEPS="sbase kmod" -PKG_VER=5.18.1 +PKG_VER=5.18.2 SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz ADDITIONAL=" fix-sbase-coreutils.patch diff --git a/repo/lshw/15565229509455527de9ce7cbb9530e2b31d043b.patch b/repo/lshw/15565229509455527de9ce7cbb9530e2b31d043b.patch new file mode 100644 index 0000000..0d9c65d --- /dev/null +++ b/repo/lshw/15565229509455527de9ce7cbb9530e2b31d043b.patch @@ -0,0 +1,59 @@ +From 15565229509455527de9ce7cbb9530e2b31d043b Mon Sep 17 00:00:00 2001 +From: Lyonel Vincent <lyonel@ezix.org> +Date: Wed, 27 May 2020 01:07:16 +0200 +Subject: [PATCH] clean-up JSON output + +--- + src/core/hw.cc | 29 +++++++++++++++++++++++++---- + 1 file changed, 25 insertions(+), 4 deletions(-) + +diff --git a/src/core/hw.cc b/src/core/hw.cc +index ab345fe..6aea7cf 100644 +--- a/src/core/hw.cc ++++ b/src/core/hw.cc +@@ -1650,13 +1650,20 @@ string hwNode::asJSON(unsigned level) + resources.clear(); + } + +- for (unsigned int i = 0; i < countChildren(); i++) ++ if(!::enabled("output:list") && countChildren()>0) + { +- out << getChild(i)->asJSON(visible(getClassName()) ? level + 2 : 1); +- if (visible(getChild(i)->getClassName())) ++ out << "," << endl; ++ out << spaces(2*level+2); ++ out << "\"children\" : ["; ++ for (unsigned int i = 0; i < countChildren(); i++) + { +- out << "," << endl; ++ out << getChild(i)->asJSON(visible(getClassName()) ? level + 2 : 1); ++ if (visible(getChild(i)->getClassName()) && i<countChildren()-1) ++ { ++ out << "," << endl; ++ } + } ++ out << "]"; + } + + if(visible(getClassName())) +@@ -1665,6 +1672,20 @@ string hwNode::asJSON(unsigned level) + out << "}"; + } + ++ if(::enabled("output:list") && countChildren()>0) ++ { ++ bool needcomma = visible(getClassName()); ++ for (unsigned int i = 0; i < countChildren(); i++) ++ { ++ string json = getChild(i)->asJSON(visible(getClassName()) ? level + 2 : 1); ++ ++ if(needcomma && strip(json)!="") ++ out << "," << endl; ++ out << getChild(i)->asJSON(visible(getClassName()) ? level + 2 : 1); ++ needcomma |= strip(json)!=""; ++ } ++ } ++ + if (::enabled("output:list") && level == 0) + { + out << endl << "]" << endl; diff --git a/repo/lshw/2b1c730b493d647bbab4854713571458e82a81e7.patch b/repo/lshw/2b1c730b493d647bbab4854713571458e82a81e7.patch new file mode 100644 index 0000000..57dccb5 --- /dev/null +++ b/repo/lshw/2b1c730b493d647bbab4854713571458e82a81e7.patch @@ -0,0 +1,46 @@ +From 2b1c730b493d647bbab4854713571458e82a81e7 Mon Sep 17 00:00:00 2001 +From: Lyonel Vincent <lyonel@ezix.org> +Date: Tue, 26 May 2020 01:00:37 +0200 +Subject: [PATCH] JSON output clean-up (list/object) + +--- + src/core/hw.cc | 5 ++--- + src/lshw.cc | 1 + + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/core/hw.cc b/src/core/hw.cc +index aca424c..ab345fe 100644 +--- a/src/core/hw.cc ++++ b/src/core/hw.cc +@@ -1400,7 +1400,7 @@ string hwNode::asJSON(unsigned level) + config = getConfigKeys(); + resources = getResources("\" value=\""); + +- if (level == 0) ++ if (::enabled("output:list") && level == 0) + { + out << "[" << endl; + } +@@ -1665,9 +1665,8 @@ string hwNode::asJSON(unsigned level) + out << "}"; + } + +- if (level == 0) ++ if (::enabled("output:list") && level == 0) + { +- out.seekp(-2, std::ios_base::end); + out << endl << "]" << endl; + } + +diff --git a/src/lshw.cc b/src/lshw.cc +index 219a008..571b1c3 100644 +--- a/src/lshw.cc ++++ b/src/lshw.cc +@@ -84,6 +84,7 @@ char **argv) + + disable("isapnp"); + ++ disable("output:list"); + disable("output:json"); + disable("output:db"); + disable("output:xml"); diff --git a/repo/lshw/fix-musl-sc_long_bit.patch b/repo/lshw/fix-musl-sc_long_bit.patch new file mode 100644 index 0000000..b409dfe --- /dev/null +++ b/repo/lshw/fix-musl-sc_long_bit.patch @@ -0,0 +1,14 @@ +--- a/src/core/abi.cc ++++ b/src/core/abi.cc +@@ -21,7 +21,11 @@ + { + // are we compiled as 32- or 64-bit process ? + long sc = sysconf(LONG_BIT); ++#ifdef _SC_LONG_BIT + if(sc==-1) sc = sysconf(_SC_LONG_BIT); ++#else ++ if(sc==-1) sc = (CHAR_BIT * sizeof(long)); ++#endif + if(sc!=-1) system.setWidth(sc); + + pushd(PROC_SYS); diff --git a/repo/lshw/lshw.xibuild b/repo/lshw/lshw.xibuild new file mode 100644 index 0000000..9316489 --- /dev/null +++ b/repo/lshw/lshw.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="lshw" +DESC="Hardware Lister" + +MAKEDEPS="sqlite3 linux-headers" + +PKG_VER=B.02.19.2 +SOURCE="https://ezix.org/software/files/lshw-$PKG_VER.tar.gz" + +ADDITIONAL=" +15565229509455527de9ce7cbb9530e2b31d043b.patch +2b1c730b493d647bbab4854713571458e82a81e7.patch +fix-musl-sc_long_bit.patch +wrapper-for-basename.patch +" + +prepare () { + apply_patches + sed -i 's/install -p/install/' src/Makefile +} + +build() { + make RPM_OPT_FLAGS=-DNONLS +} + +check() { + ./src/lshw -version +} + +package() { + make DESTDIR="$PKG_DEST" install +} + diff --git a/repo/lshw/wrapper-for-basename.patch b/repo/lshw/wrapper-for-basename.patch new file mode 100644 index 0000000..dabfa79 --- /dev/null +++ b/repo/lshw/wrapper-for-basename.patch @@ -0,0 +1,107 @@ +From 49a2c103c7d1127045ced8e8c887279a36a3f357 Mon Sep 17 00:00:00 2001 +From: Felix Janda <felix.janda@posteo.de> +Date: Wed, 12 Apr 2017 21:29:11 -0400 +Subject: [PATCH 1/2] Add wrapper for basename + +basename comes in two variants. A GNU and a POSIX version. Currently, +the GNU version is mostly used, but this breaks compilation on systems +without glibc. + +Switch to the portable version. Because this variant modifies its +argument, similarly to dirname, a wrapper is needed. +--- + src/core/osutils.cc | 10 ++++++++++ + src/core/osutils.h | 1 + + src/core/pci.cc | 4 ++-- + src/core/sysfs.cc | 8 ++++---- + 5 files changed, 19 insertions(+), 8 deletions(-) + +diff --git a/src/core/osutils.cc b/src/core/osutils.cc +index e93b79e..1624ab1 100644 +--- a/src/core/osutils.cc ++++ b/src/core/osutils.cc +@@ -426,6 +426,16 @@ string dirname(const string & path) + return result; + } + ++string basename(const string & path) ++{ ++ size_t len = path.length(); ++ char *buffer = new char[len + 1]; ++ path.copy(buffer, len); ++ buffer[len] = '\0'; ++ string result = basename(buffer); ++ delete[] buffer; ++ return result; ++} + + string spaces(unsigned int count, const string & space) + { +diff --git a/src/core/osutils.h b/src/core/osutils.h +index 549258e..55f5548 100644 +--- a/src/core/osutils.h ++++ b/src/core/osutils.h +@@ -15,6 +15,7 @@ bool samefile(const std::string & path1, const std::string & path2); + std::string readlink(const std::string & path); + std::string realpath(const std::string & path); + std::string dirname(const std::string & path); ++std::string basename(const std::string & path); + bool loadfile(const std::string & file, std::vector < std::string > &lines); + + size_t splitlines(const std::string & s, +diff --git a/src/core/pci.cc b/src/core/pci.cc +index d1625cf..1163ad2 100644 +--- a/src/core/pci.cc ++++ b/src/core/pci.cc +@@ -1131,9 +1131,9 @@ bool scan_pci(hwNode & n) + string drivername = readlink(string(devices[i]->d_name)+"/driver"); + string modulename = readlink(string(devices[i]->d_name)+"/driver/module"); + +- device->setConfig("driver", basename(const_cast<char *>(drivername.c_str()))); ++ device->setConfig("driver", basename(drivername)); + if(exists(modulename)) +- device->setConfig("module", basename(const_cast<char *>(modulename.c_str()))); ++ device->setConfig("module", basename(modulename)); + + if(exists(string(devices[i]->d_name)+"/rom")) + { +diff --git a/src/core/sysfs.cc b/src/core/sysfs.cc +index 97dbab5..0fc4855 100644 +--- a/src/core/sysfs.cc ++++ b/src/core/sysfs.cc +@@ -99,7 +99,7 @@ static string sysfs_getbustype(const string & path) + { + devname = + string(fs.path + "/bus/") + string(namelist[i]->d_name) + +- "/devices/" + basename(path.c_str()); ++ "/devices/" + basename(path); + + if (samefile(devname, path)) + return string(namelist[i]->d_name); +@@ -139,7 +139,7 @@ static string sysfstobusinfo(const string & path) + + if (bustype == "virtio") + { +- string name = basename(path.c_str()); ++ string name = basename(path); + if (name.compare(0, 6, "virtio") == 0) + return "virtio@" + name.substr(6); + else +@@ -207,7 +207,7 @@ string entry::driver() const + string driverlink = This->devpath + "/driver"; + if (!exists(driverlink)) + return ""; +- return basename(readlink(driverlink).c_str()); ++ return basename(readlink(driverlink)); + } + + +@@ -288,7 +288,7 @@ string entry::name_in_class(const string & classname) const + + string entry::name() const + { +- return basename(This->devpath.c_str()); ++ return basename(This->devpath); + } + + diff --git a/repo/monero-gui/monero-gui.xibuild b/repo/monero-gui/monero-gui.xibuild index 8cb1dd9..e35fe63 100644 --- a/repo/monero-gui/monero-gui.xibuild +++ b/repo/monero-gui/monero-gui.xibuild @@ -3,8 +3,8 @@ NAME="monero-gui" DESC="QT GUI wallet for Monero: the secure, private, untraceable peer-to-peer currency" -MAKEDEPS="cmake monero git qt5-qtquickcontrols2 qt5-qtdeclarative qt5-qtbase qt5-qtsvg libgpg-error" -DEPS="musl " +MAKEDEPS="cmake monero git qt5-qtquickcontrols qt5-qtdeclarative qt5-qtbase qt5-qtsvg libgpg-error qt5-qttools" +DEPS="musl qt5-qtquickcontrols qt5-qtxmlpatterns " PKG_VER=musl SOURCE="https://github.com/monero-project/monero-gui" diff --git a/repo/onefetch/onefetch.xibuild b/repo/onefetch/onefetch.xibuild new file mode 100644 index 0000000..de74793 --- /dev/null +++ b/repo/onefetch/onefetch.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="onefetch" +DESC="Git repository summary on your terminal" + +MAKEDEPS="cargo libgit zlib" + +PKG_VER=2.12.0 +SOURCE="https://crates.io/api/v1/crates/onefetch/$PKG_VER/download" + +build() { + cargo build --release --locked +} + +check() { + cargo test --release --locked +} + +package() { + install -Dm0755 target/release/onefetch "$PKG_DEST"/usr/bin/onefetch +} + diff --git a/repo/polymc/polymc.xibuild b/repo/polymc/polymc.xibuild new file mode 100644 index 0000000..8d0b612 --- /dev/null +++ b/repo/polymc/polymc.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="polymc" +DESC="Custom launcher for Minecraft" + +MAKEDEPS="cmake qt5-qtbase qt5-qttools adoptopenjdk11" + +PKG_VER=1.3.1 +SOURCE="https://github.com/PolyMC/PolyMC/releases/download/${PKG_VER}/PolyMC-${PKG_VER}.tar.gz" + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} diff --git a/repo/python-jsonschema.xibuild b/repo/python-jsonschema.xibuild deleted file mode 100644 index 4c33edd..0000000 --- a/repo/python-jsonschema.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -MAKEDEPS="python" -DEPS="%deps%" - -PKG_VER= -SOURCE= -DESC="" - -build() { - python setup.py build -} - -package () { - python setup.py install --root="$PKG_DEST" --optimize=1 -} diff --git a/repo/qt5-qtquick3d/qt5-qtquick3d.xibuild b/repo/qt5-qtquick3d/qt5-qtquick3d.xibuild new file mode 100644 index 0000000..34b6187 --- /dev/null +++ b/repo/qt5-qtquick3d/qt5-qtquick3d.xibuild @@ -0,0 +1,42 @@ +#!/bin/sh + +NAME="qt5-qtquick3d" +DESC="Qt module and API for defining 3D content in Qt Quick" + +MAKEDEPS=" assimp qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20210104 +_commit="68b30bb23e34426e7d6a4c243a42ae57dfe45c6b" +SOURCE="https://invent.kde.org/qt/qt/qtquick3d/-/archive/$_commit/qtquick3d-$_commit.tar.gz" + +ADDITIONAL=" +qtquick3d-assimp.patch +" + +prepare() { + apply_patches + + # We need to make the build system think we're running in a git repository + # so it correctly symlinks during the build + mkdir .git +} + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +package() { + make INSTALL_ROOT="$PKG_DEST" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$PKG_DEST/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$PKG_DEST"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtquick3d +} diff --git a/repo/qt5-qtquick3d/qtquick3d-assimp.patch b/repo/qt5-qtquick3d/qtquick3d-assimp.patch new file mode 100644 index 0000000..d70f501 --- /dev/null +++ b/repo/qt5-qtquick3d/qtquick3d-assimp.patch @@ -0,0 +1,13 @@ +diff --git a/src/plugins/assetimporters/assimp/assimp.pro b/src/plugins/assetimporters/assimp/assimp.pro +index ca5c499..174a075 100644 +--- a/src/plugins/assetimporters/assimp/assimp.pro ++++ b/src/plugins/assetimporters/assimp/assimp.pro +@@ -10,7 +10,7 @@ QT_FOR_CONFIG += assetimporters-private + include($$OUT_PWD/../qtassetimporters-config.pri) + + qtConfig(system-assimp):!if(cross_compile:host_build) { +- QMAKE_USE_PRIVATE += assimp ++ QMAKE_USE_PRIVATE += quick3d-assimp + } else { + include(../../../3rdparty/assimp/assimp.pri) + } diff --git a/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild b/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild new file mode 100644 index 0000000..14009d4 --- /dev/null +++ b/repo/qt5-qtquickcontrols/qt5-qtquickcontrols.xibuild @@ -0,0 +1,35 @@ +#!/bin/sh + +NAME="qt5-qtquickcontrols" +DESC="Qt5 - module with set of QtQuick controls" + +MAKEDEPS="qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201110 +_commit="cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420" +SOURCE="https://invent.kde.org/qt/qt/qtquickcontrols/-/archive/$_commit/qtquickcontrols-$_commit.tar.gz" + +prepare() { + mkdir .git +} + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +package() { + make INSTALL_ROOT="$PKG_DEST" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$PKG_DEST/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$PKG_DEST"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtquickcontrols +} + diff --git a/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild b/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild new file mode 100644 index 0000000..2cd8a2a --- /dev/null +++ b/repo/qt5-qtxmlpatterns/qt5-qtxmlpatterns.xibuild @@ -0,0 +1,35 @@ +#!/bin/sh + +NAME="qt5-qtxmlpatterns" +DESC="Qt5 - QtXmlPatterns component" + +MAKEDEPS=" qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201028 +_commit="189e28d0aff1f3d7960228ba318b83e3cadac98c" +SOURCE="https://invent.kde.org/qt/qt/qtxmlpatterns/-/archive/$_commit/qtxmlpatterns-$_commit.tar.gz" + +prepare() { + mkdir .git +} + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +package() { + make INSTALL_ROOT="$PKG_DEST" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$PKG_DEST/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$PKG_DEST"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtxmlpatterns +} + diff --git a/repo/xibuild/xibuild.xibuild b/repo/xibuild/xibuild.xibuild index af87409..6880b90 100644 --- a/repo/xibuild/xibuild.xibuild +++ b/repo/xibuild/xibuild.xibuild @@ -3,7 +3,7 @@ MAKEDEPS="make" DEPS="xiutils parseconf tar unzip hbar" -PKG_VER=1.5 +PKG_VER=1.5.1 SOURCE=https://git.davidovski.xyz/xilinux/xibuild.git BRANCH=v$PKG_VER diff --git a/repo/xipkg/xipkg.xibuild b/repo/xipkg/xipkg.xibuild index 2e84306..f9106bb 100644 --- a/repo/xipkg/xipkg.xibuild +++ b/repo/xipkg/xipkg.xibuild @@ -3,7 +3,7 @@ MAKEDEPS="make" DEPS="openssl curl dash xiutils findutils diffutils sed xichroot grep base64 sort hbar parseconf xiutils" -PKG_VER=1.5.5 +PKG_VER=1.5.6 SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git BRANCH="v$PKG_VER" diff --git a/repo/xiutils/default-jvm.xibuild b/repo/xiutils/default-jvm.xibuild new file mode 100644 index 0000000..8bb173a --- /dev/null +++ b/repo/xiutils/default-jvm.xibuild @@ -0,0 +1,7 @@ +#!/bin/sh + +DESC="helperscript to select which jvm to use by default" + +package () { + make DESTDIR=$PKG_DEST install-default-jvm +} diff --git a/repo/xiutils/xiutils.xibuild b/repo/xiutils/xiutils.xibuild index a00d99f..cbda059 100644 --- a/repo/xiutils/xiutils.xibuild +++ b/repo/xiutils/xiutils.xibuild @@ -3,7 +3,7 @@ MAKEDEPS="make gcc" DEPS="musl sh" -PKG_VER=1.5.1 +PKG_VER=1.6.1 SOURCE=https://git.davidovski.xyz/xilinux/xiutils.git BRANCH="v$PKG_VER" |