summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/btrfs-progs/APKBUILD43
-rw-r--r--user/clang/APKBUILD5
-rw-r--r--user/qt-creator/APKBUILD32
-rw-r--r--user/torcs/APKBUILD6
-rw-r--r--user/zstd/APKBUILD31
5 files changed, 112 insertions, 5 deletions
diff --git a/user/btrfs-progs/APKBUILD b/user/btrfs-progs/APKBUILD
new file mode 100644
index 000000000..9c1453b01
--- /dev/null
+++ b/user/btrfs-progs/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=btrfs-progs
+pkgver=4.17.1
+pkgrel=0
+pkgdesc="File system utilities for Btrfs"
+url="https://btrfs.wiki.kernel.org/index.php/Main_Page"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="asciidoctor attr-dev e2fsprogs-dev libexecinfo-dev lzo-dev
+ python3-dev util-linux-dev xmlto zlib-dev zstd-dev"
+subpackages="$pkgname-doc $pkgname-python"
+source="https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$pkgver.tar.xz"
+builddir="$srcdir"/$pkgname-v$pkgver
+
+build() {
+ cd "$builddir"
+ LIBS="-lexecinfo" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+python() {
+ pkgdesc="$pkgdesc (Python 3 bindings)"
+
+ cd "$builddir"
+ make DESTDIR="$subpkgdir" install_python
+}
+
+sha512sums="90f291e362b640a22b41036351619e7b8a793a3b57d0537e7865edf4b830d6dc57b3051c0aed9e1ff38b602441a20fea7f974ccff789a3b4a622a0ea57756538 btrfs-progs-v4.17.1.tar.xz"
diff --git a/user/clang/APKBUILD b/user/clang/APKBUILD
index 6d2a11703..331c96f56 100644
--- a/user/clang/APKBUILD
+++ b/user/clang/APKBUILD
@@ -74,6 +74,11 @@ package() {
done
popd
done
+
+ # needed for at least Qt Creator
+ mkdir -p "$pkgdir"/usr/include/llvm6
+ ln -s ../clang "$pkgdir"/usr/include/llvm6/clang
+ ln -s ../clang-c "$pkgdir"/usr/include/llvm6/clang-c
}
static() {
diff --git a/user/qt-creator/APKBUILD b/user/qt-creator/APKBUILD
new file mode 100644
index 000000000..84f7f2cb7
--- /dev/null
+++ b/user/qt-creator/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt-creator
+pkgver=4.7.2
+pkgrel=0
+pkgdesc="Cross-platform multi-language programming IDE"
+url="https://doc.qt.io/qtcreator/index.html"
+arch="all"
+options="!check" # No test suite.
+license="LGPL-2.0 WITH Qt-LGPL-exception-1.1"
+depends="qt5-qtquickcontrols"
+makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtserialport-dev
+ qt5-qtscript-dev qt5-qttools-dev clang-dev llvm6-dev python3
+ libexecinfo-dev"
+subpackages="$pkgname-dev"
+source="https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.gz"
+ldpath="/usr/lib/qtcreator"
+builddir="$srcdir/$pkgname-opensource-src-$pkgver"
+
+build() {
+ cd "$builddir"
+ export LLVM_INSTALL_DIR=/usr
+ qmake -r "QMAKE_CFLAGS += $CFLAGS" "QMAKE_CXXFLAGS += $CXXFLAGS" "QMAKE_LFLAGS += $LDFLAGS" "QMAKE_LIBS += -lexecinfo"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make install INSTALL_ROOT="$pkgdir"/usr
+}
+
+sha512sums="b7278a7882747acc9be0484e10426becd942746e9b7b9cea7d57e3af72c261c02431c8682e1f9d6e61c5884d5aa06e503716d22157e61d3787327c3c00a452bc qt-creator-opensource-src-4.7.2.tar.gz"
diff --git a/user/torcs/APKBUILD b/user/torcs/APKBUILD
index 9f4f24a38..e24f2794b 100644
--- a/user/torcs/APKBUILD
+++ b/user/torcs/APKBUILD
@@ -6,6 +6,7 @@ pkgrel=0
pkgdesc="The Open Racing Car Simulator"
url="http://torcs.sourceforge.net/"
arch="all"
+options="!check" # No test suite.
license="GPL-2.0+"
depends=""
makedepends="freealut-dev freeglut-dev libogg-dev libpng-dev libsm-dev
@@ -33,11 +34,6 @@ build() {
make -j1
}
-check() {
- cd "$builddir"
- make check
-}
-
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
diff --git a/user/zstd/APKBUILD b/user/zstd/APKBUILD
new file mode 100644
index 000000000..b930a1a1e
--- /dev/null
+++ b/user/zstd/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=zstd
+pkgver=1.3.7
+pkgrel=0
+pkgdesc="Fast real-time compression algorithm"
+url="https://facebook.github.io/zstd/"
+arch="all"
+license="BSD-3-Clause AND GPL-2.0-only"
+depends=""
+depends_dev=""
+makedepends="$depends_dev lz4-dev xz-dev zlib-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/facebook/zstd/releases/download/v$pkgver/zstd-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ make PREFIX="/usr"
+}
+
+check() {
+ cd "$builddir"
+ make PREFIX="/usr" check
+}
+
+package() {
+ cd "$builddir"
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+}
+
+sha512sums="fb9ac61b79b22a628e602e68f7c59c85a00020f7f25b8653076895da7589ca1203adc7fe3d9b865f36648bc30d765b9630cf0955f970596253da74c089b97af1 zstd-1.3.7.tar.gz"