bye bye libressl
This commit is contained in:
parent
879ade0254
commit
4f387bcb0b
47 changed files with 963 additions and 37 deletions
23
gui/alsa-sndio/build.sh
Normal file
23
gui/alsa-sndio/build.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgname=alsa-sndio
|
||||
pkgver=0.2
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/Duncaen/alsa-sndio/archive/refs/tags/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir PREFIX=/usr
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
|
@ -2,7 +2,7 @@ pkgname=ffmpeg
|
|||
pkgver=4.4
|
||||
|
||||
fetch() {
|
||||
curl "https://ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
curl "https://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ build() {
|
|||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DGLFW_USE_WAYLAND=1 \
|
||||
-DGLFW_BUILD_DOCS=0 \
|
||||
-DGLFW_BUILD_EXAMPLES=1 \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
samu
|
||||
}
|
||||
|
|
28
gui/imagemagick/build.sh
Normal file
28
gui/imagemagick/build.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=ImageMagick
|
||||
pkgver=7.1.0
|
||||
|
||||
fetch() {
|
||||
curl "https://download.imagemagick.org/ImageMagick/download/ImageMagick.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
|
||||
}
|
|
@ -10,8 +10,8 @@ build() {
|
|||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE \
|
||||
--disable-asm
|
||||
|
||||
make
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pkgname=libepoxy
|
||||
pkgver=1.5.8
|
||||
pkgver=1.5.9
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
pkgname=libudev-zero
|
||||
pkgver=0.4.7
|
||||
pkgver=0.5.2
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/illiliti/libudev-zero/archive/0.4.7.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
curl -L "https://github.com/illiliti/libudev-zero/archive/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,7 @@ package() {
|
|||
make install PREFIX=/usr DESTDIR=$pkgdir
|
||||
install -d $pkgdir/usr/sbin
|
||||
install -Dm755 ./contrib/libudev-zero-hotplug-helper $pkgdir/usr/sbin/
|
||||
install -Dm755 ./contrib/helper.sh $pkgdir/usr/sbin/libudev-zero-hotplug-helper.sh
|
||||
}
|
||||
|
||||
license() {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
pkgname=mesa
|
||||
pkgver=21.2.1
|
||||
#pkgver=21.2.1
|
||||
pkgver=v3dv-vk-ext-vertex-attribute-divisor
|
||||
deps="musl:wayland:wayland-protocols:llvm:zlib-ng:expat:libffi:libdrm:python-mako"
|
||||
ext=dev
|
||||
|
||||
fetch() {
|
||||
curl "https://archive.mesa3d.org/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.gz
|
||||
curl "https://gitlab.freedesktop.org/Ella-0/mesa/-/archive/v3dv-vk-ext-vertex-attribute-divisor/mesa-v3dv-vk-ext-vertex-attribute-divisor.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
mkdir $pkgname-$pkgver/build
|
||||
cp ../byacc-out-mid-build.patch .
|
||||
|
|
36
gui/qtbase/build.sh
Normal file
36
gui/qtbase/build.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
pkgname=qtbase
|
||||
pkgver=5.15
|
||||
|
||||
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++ \
|
||||
-prefix /usr
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
gmake INSTALL_ROOT=$pkgdir install
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE*
|
||||
# cat COPYING
|
||||
}
|
11
gui/qtbase/musl-socket.patch
Normal file
11
gui/qtbase/musl-socket.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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
|
95
gui/qtbase/qplatformdefs.h
Normal file
95
gui/qtbase/qplatformdefs.h
Normal file
|
@ -0,0 +1,95 @@
|
|||
/****************************************************************************
|
||||
**
|
||||
** 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
|
26
gui/qtdeclarative/build.sh
Normal file
26
gui/qtdeclarative/build.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
pkgname=qtdeclarative
|
||||
pkgver=5.15
|
||||
|
||||
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
|
||||
}
|
26
gui/qtwayland/build.sh
Normal file
26
gui/qtwayland/build.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
pkgname=qtwayland
|
||||
pkgver=5.15
|
||||
|
||||
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
|
||||
}
|
30
gui/ribidi/build.sh
Normal file
30
gui/ribidi/build.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
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
|
||||
}
|
51
gui/sndio/build.sh
Normal file
51
gui/sndio/build.sh
Normal file
|
@ -0,0 +1,51 @@
|
|||
pkgname=sndio
|
||||
pkgver=1.8.1
|
||||
ext="dev:doc"
|
||||
|
||||
fetch() {
|
||||
curl -L "https://sndio.org/sndio-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-alsa
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
|
||||
rm -rf $pkgdir/usr/share/man
|
||||
|
||||
rm -rf $pkgdir/usr/include
|
||||
rm -rf $pkgdir/usr/lib/pkgconfig
|
||||
}
|
||||
|
||||
package_dev() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
|
||||
rm -rf $pkgdir/usr/bin
|
||||
rm -rf $pkgdir/usr/share/man
|
||||
rm -rf $pkgdir/usr/lib/*.so*
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
|
||||
rm -rf $pkgdir/usr/lib
|
||||
rm -rf $pkgdir/usr/bin
|
||||
rm -rf $pkgdir/usr/include
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
31
gui/webkit/build.sh
Normal file
31
gui/webkit/build.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
pkgname=webkit
|
||||
pkgver=master
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/iglunix/WebKit/archive/refs/heads/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
mkdir $pkgname-$pkgver/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
cmake -G Ninja ../ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DPORT=JSCOnly
|
||||
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