lots of stuff
This commit is contained in:
parent
32d66a7f56
commit
b859e777d0
91 changed files with 2156 additions and 532 deletions
28
pkgs/cava/build.sh
Normal file
28
pkgs/cava/build.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=cava
|
||||
pkgver=0.7.4
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/karlstav/cava/archive/refs/tags/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
32
pkgs/imv/build.sh
Normal file
32
pkgs/imv/build.sh
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgname=imv
|
||||
pkgver=4.2.0
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/eXeC64/imv/archive/refs/tags/v$pkgver.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 \
|
||||
-Dlibrsvg=disabled \
|
||||
-Dwindows=wayland
|
||||
samu
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR=$pkgdir samu install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
pkgname=kak-lsp
|
||||
pkgver=9.0.0
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/kak-lsp/kak-lsp/archive/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --locked --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm755 target/release/$pkgname $pkgdir/usr/bin/
|
||||
install -Dm644 rc/lsp.kak $pkgdir/usr/share/kak-lsp/rc/
|
||||
install -Dm644 kak-lsp.toml $pkgdir/usr/share/kak-lsp/examples/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat UNLICENSE
|
||||
}
|
31
pkgs/libslirp/build.sh
Normal file
31
pkgs/libslirp/build.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
pkgname=libslirp
|
||||
pkgver=4.6.1
|
||||
|
||||
fetch() {
|
||||
curl "https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v$pkgver/libslirp-v$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.bz2
|
||||
tar -xf $pkgname-$pkgver.tar.bz2
|
||||
mv $pkgname-v$pkgver $pkgname-$pkgver
|
||||
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
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
pkgname=qtbase
|
||||
pkgver=5.12
|
||||
|
||||
fetch() {
|
||||
curl "https://invent.kde.org/qt/qt/qtbase/-/archive/$pkgver/qtbase-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mkdir $pkgname-$pkgver/build
|
||||
mkdir $pkgname-$pkgver/.git
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
|
||||
../configure \
|
||||
-opensource \
|
||||
-confirm-license \
|
||||
-nomake examples \
|
||||
-nomake tests \
|
||||
-platform linux-clang-libc++ \
|
||||
-no-openssl \
|
||||
-prefix /usr
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
gmake INSTALL_ROOT=$pkgdir install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE*
|
||||
# cat COPYING
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
--- a/mkspecs/linux-clang/qplatformdefs.h
|
||||
+++ b/mkspecs/linux-clang/qplatformdefs.h
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
-#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
+#if defined(__GLIBC__) && (__GLIBC__ >= 2) || !defined(__GLIBC__)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
|
@ -1,95 +0,0 @@
|
|||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the qmake spec of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** Commercial License Usage
|
||||
** Licensees holding valid commercial Qt licenses may use this file in
|
||||
** accordance with the commercial license agreement provided with the
|
||||
** Software or, alternatively, in accordance with the terms contained in
|
||||
** a written agreement between you and The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 3 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 3 requirements
|
||||
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 2.0 or (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
// 1) need to reset default environment if _BSD_SOURCE is defined
|
||||
// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
|
||||
// 3) it seems older glibc need this to include the X/Open stuff
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
#include <features.h>
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2) || !defined(__GLIBC__)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
|
@ -1,26 +0,0 @@
|
|||
pkgname=qtwayland
|
||||
pkgver=5.12
|
||||
|
||||
fetch() {
|
||||
curl "https://invent.kde.org/qt/qt/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mkdir $pkgname-$pkgver/.git
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
qmake
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake INSTALL_ROOT=$pkgdir install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
pkgname=ribidi
|
||||
pkgver=main
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/iglunix/ribidi/archive/refs/heads/main.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm755 target/release/lib$pkgname.so $pkgdir/usr/lib/
|
||||
install -Dm644 include/ribidi.h $pkgdir/usr/include/ribidi/
|
||||
install -d $pkgdir/usr/include/fribidi
|
||||
ln -sr $pkgdir/usr/include/ribidi/ribidi.h $pkgdir/usr/include/fribidi/fribidi.h
|
||||
|
||||
|
||||
install -Dm644 $pkgname.pc $pkgdir/usr/lib/pkgconfig/
|
||||
install -Dm644 f$pkgname.pc $pkgdir/usr/lib/pkgconfig/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
28
pkgs/strace/build.sh
Normal file
28
pkgs/strace/build.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=strace
|
||||
pkgver=5.13
|
||||
|
||||
fetch() {
|
||||
curl "https://strace.io/files/$pkgver/strace-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
34
pkgs/vulkan-validation-layers/build.sh
Normal file
34
pkgs/vulkan-validation-layers/build.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
pkgname=vulkan-validation-layers
|
||||
pkgver=1.2.184
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mv Vulkan-ValidationLayers-$pkgver $pkgname-$pkgver
|
||||
mkdir $pkgname-$pkgver/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
../scripts/update_deps.py
|
||||
cmake -G Ninja ../ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_WSI_XLIB_SUPPORT=OFF \
|
||||
-DBUILD_WSI_XCB_SUPPORT=OFF
|
||||
samu
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR=$pkgdir samu install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue