diff --git a/createimg.sh b/createimg.sh index 0fe0593..2f4910d 100755 --- a/createimg.sh +++ b/createimg.sh @@ -47,6 +47,9 @@ mount ${LOOPBACK} ${ROOT} packages=(musl mksh bmake gmake llvm libressl cmake curl rsync flex byacc om4 zlib samurai libffi python ca-certificates zlib expat gettext-tiny git kati netbsd-curses kakoune iglunix rust toybox busybox less file pci-ids e2fsprogs util-linux linux-pam kbd) cp_packages ${ROOT} +echo "Linked ld.lld (from llvm) to ld" +ln -s /usr/bin/ld.lld /usr/bin/ld + echo "Copying misc files & creating misc dirs for live-usb" mkdir ${ROOT}/proc/ mkdir ${ROOT}/dev/ diff --git a/pkgs/libdrm/build.sh b/pkgs/libdrm/build.sh index 12766d4..034705f 100644 --- a/pkgs/libdrm/build.sh +++ b/pkgs/libdrm/build.sh @@ -1,5 +1,6 @@ pkgver=2.4.103 pkgname=libdrm +dep="libpciaccess" bad="" ext="dev" diff --git a/pkgs/libpciaccess/build.sh b/pkgs/libpciaccess/build.sh new file mode 100644 index 0000000..58a11cc --- /dev/null +++ b/pkgs/libpciaccess/build.sh @@ -0,0 +1,30 @@ +pkgname=libpciaccess +pkgver=master + +fetch() { + curl "https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/archive/master/libpciaccess-master.tar.gz" -o $pkgname-$pkgver.tar.xz + tar -xf $pkgname-$pkgver.tar.xz + mkdir $pkgname-$pkgver/build +} + +build() { + cd $pkgname-$pkgver + cd build + meson .. \ + --buildtype=release \ + --prefix=/usr \ + --libexecdir=lib + samu +} + +package() { + cd $pkgname-$pkgver + cd build + DESTDIR=$pkgdir samu install +} + +license() { + cd $pkgname-$pkgver +# cat LICENSE + cat COPYING +} diff --git a/pkgs/mesa/build.sh b/pkgs/mesa/build.sh index a1eed96..b0dbceb 100644 --- a/pkgs/mesa/build.sh +++ b/pkgs/mesa/build.sh @@ -1,6 +1,6 @@ pkgname=mesa pkgver=build-byacc -deps="musl:wayland:wayland-protocols:llvm:zlib:expat:libffi:libdrm" +deps="musl:wayland:wayland-protocols:llvm:zlib:expat:libffi:libdrm:python-mako" ext=dev fetch() { diff --git a/pkgs/wayland-protocols/build.sh b/pkgs/wayland-protocols/build.sh index b70b6db..097c6c5 100644 --- a/pkgs/wayland-protocols/build.sh +++ b/pkgs/wayland-protocols/build.sh @@ -1,5 +1,6 @@ pkgname=wayland-protocols pkgver=1.20 +deps="pkgconf:wayland" fetch() { curl "https://wayland.freedesktop.org/releases/wayland-protocols-1.20.tar.xz" -o $pkgname-$pkgver.tar.xz diff --git a/pkgs/wayland/build.sh b/pkgs/wayland/build.sh index e02a3ad..6c8bcba 100644 --- a/pkgs/wayland/build.sh +++ b/pkgs/wayland/build.sh @@ -1,5 +1,6 @@ pkgname=wayland pkgver=1.19.0 +deps="libxml2" fetch() { curl "https://wayland.freedesktop.org/releases/wayland-1.19.0.tar.xz" -o $pkgname-$pkgver.tar.xz