summaryrefslogtreecommitdiff
path: root/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'experimental')
-rw-r--r--experimental/cython/APKBUILD30
-rw-r--r--experimental/erlang/APKBUILD57
-rw-r--r--experimental/erlang/fix-wx-linking.patch11
-rw-r--r--experimental/lmms/APKBUILD8
-rw-r--r--experimental/lmms/isinff.patch11
-rw-r--r--experimental/mariadb/APKBUILD110
-rw-r--r--experimental/mariadb/mariadb.initd40
-rw-r--r--experimental/mariadb/mariadb.pre-install4
-rw-r--r--experimental/nim/APKBUILD37
-rw-r--r--experimental/xf86-video-omap/APKBUILD35
10 files changed, 105 insertions, 238 deletions
diff --git a/experimental/cython/APKBUILD b/experimental/cython/APKBUILD
new file mode 100644
index 000000000..34bcf9a99
--- /dev/null
+++ b/experimental/cython/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=cython
+_pkgname=Cython
+pkgver=0.29.12
+pkgrel=0
+pkgdesc="C extension compiler for Python"
+url="https://pypi.org/project/Cython/"
+arch="all"
+license="Apache-2.0"
+depends=""
+makedepends="python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ mkdir -p "$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="502756331d8c3618a75a881fc1a20b7e871cd3412904070f3080d5bd0918440230fdae96f096c255fec6b32b81ffcf838f22953b8da23b8845527810f457be60 Cython-0.29.12.tar.gz"
diff --git a/experimental/erlang/APKBUILD b/experimental/erlang/APKBUILD
deleted file mode 100644
index 82832e96e..000000000
--- a/experimental/erlang/APKBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: A. Wilcox <awilfox@adelielinux.org>
-pkgname=erlang
-pkgver=21.2
-pkgrel=0
-pkgdesc="Soft real-time system programming language"
-url="https://www.erlang.org/"
-arch="all"
-license="Apache-2.0"
-depends=""
-makedepends="libxml2-utils libxslt-dev m4 ncurses-dev openssl-dev perl
- unixodbc-dev"
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://erlang.org/download/otp_src_$pkgver.tar.gz
- fix-wx-linking.patch
- "
-builddir="$srcdir/otp_src_$pkgver"
-
-build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --enable-shared-zlib \
- --enable-ssl=dynamic-ssl-lib \
- --enable-threads
- make
-}
-
-check() {
- local _header
-
- cd "$builddir"
- export ERL_TOP=$builddir
-
- make release_tests
-
- for _header in erl_fixed_size_int_types.h \
- ${CHOST}/erl_int_sizes_config.h \
- erl_memory_trace_parser.h; do
- cp erts/include/$_header erts/emulator/beam/
- done
- cd release/tests/test_server
- $ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="5707ef0d49a9af12cd9d93c3e4fd200092773645838bbe0163782d0fa40562d2b48bdb07f0e650311bfec896ed9e3c9621b4d0ba114c578d7ca3209c2a96ac24 otp_src_21.2.tar.gz
-5f1b05d8be71d5e3d7e8c5ad019329af8f68174251b5b6e0a9ee9cb3da51a10983b8696e23b3954c19de5d54783ec16f38c80c74724341dbafb22fcac83c77d4 fix-wx-linking.patch"
diff --git a/experimental/erlang/fix-wx-linking.patch b/experimental/erlang/fix-wx-linking.patch
deleted file mode 100644
index eb5649164..000000000
--- a/experimental/erlang/fix-wx-linking.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- otp_src_21.2/lib/wx/configure.old 2018-12-10 20:11:00.000000000 +0000
-+++ otp_src_21.2/lib/wx/configure 2019-02-24 22:16:37.340000000 +0000
-@@ -5765,7 +5765,7 @@
- // it isn't in too old wxWidgets versions
- wxString test = wxString::FromUTF8((const char *)"foo");
- wxStyledTextCtrl * foo = new wxStyledTextCtrl();
-- wxGLCanvas * bar = new wxGLCanvas((wxWindow *) NULL, -1,
-+ wxGLCanvas * bar = new wxGLCanvas((wxWindow *) NULL, -1, NULL,
- wxDefaultPosition,wxDefaultSize,0);
- return true;
- };
diff --git a/experimental/lmms/APKBUILD b/experimental/lmms/APKBUILD
index 0ab893cb8..5a045f66e 100644
--- a/experimental/lmms/APKBUILD
+++ b/experimental/lmms/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=lmms
-pkgver=1.2.0_rc7
+pkgver=1.2.0
pkgrel=0
pkgdesc="Music production software"
url="https://lmms.io/"
@@ -11,12 +11,11 @@ depends=""
makedepends="alsa-lib-dev cmake fftw-dev fltk-dev fluidsynth-dev lame-dev
libogg-dev libsamplerate-dev libsndfile-dev libvorbis-dev libxml2-dev
pulseaudio-dev qt5-qtbase-dev qt5-qttools-dev qt5-qtx11extras-dev
- extra-cmake-modules xcb-util-dev xcb-util-keysyms-dev"
+ sdl-dev extra-cmake-modules xcb-util-dev xcb-util-keysyms-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="lmms-${pkgver/_/-}.tar.gz::https://github.com/LMMS/lmms/archive/v${pkgver/_/-}.tar.gz
https://distfiles.adelielinux.org/source/qt5-x11embed-20171106.tar.xz
rpmalloc-1.3.1.tar.gz::https://github.com/rampantpixels/rpmalloc/archive/1.3.1.tar.gz
- isinff.patch
thread.patch
use-system-ecm.patch
"
@@ -58,9 +57,8 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="e16b5bd050a0a5f3ac9312654cd3ce65e497258dead836fb222918af4eb71ea23175292b7943bff495e0b53445b70e80d26bebe059e46724f39f8e8f29d37dd6 lmms-1.2.0-rc7.tar.gz
+sha512sums="55b338b68013645175f79fb8e68278cc31defdc04e6c069b4f9adbdb6f8aaf52a60087bbbef56caeceac179e19754b1fd341df201adee4b1ff90de6bbd49ef22 lmms-1.2.0.tar.gz
d00b5dfb2931ae1614b419b06f795c5627e51eb2159612eb058484c2b1c6817532d4e321ce514518ce2009d8c7f886e384d6cc8b8428b05b268db3f28bb90e63 qt5-x11embed-20171106.tar.xz
c9a42c635774285a8467eaa1931109528c08931c73873c366d0e4949921c8956a31db7422378cd548bbbaf24d0fcc41470ab6751e67238db53677832e5fb5db4 rpmalloc-1.3.1.tar.gz
-8896727616d361d22876ce353adeaa587a506f4fa649575f8444e89c5b86165c6e4c29b5862221530e5840023bd012bf6183666b958b7841dbf2cde1f2924353 isinff.patch
e6b5b87af969bf8c1c24cef2748485d86d58139704efdebf0645c376c9c40de54b0ff08d9fd3b41865670539c7dac50e4178d06dfb779e1d8d4fc7cdd08c4a32 thread.patch
70f1467340f7f5c9e94af702e036aa3355c036b13523a9d5183d5b0fb7c18f8878ec92c6d84a49837739b207bd0546ef5264a4e17f30ddf27b6f8eb9d09c4c76 use-system-ecm.patch"
diff --git a/experimental/lmms/isinff.patch b/experimental/lmms/isinff.patch
deleted file mode 100644
index 6c83c5052..000000000
--- a/experimental/lmms/isinff.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lmms-1.2.0-rc7/include/lmms_math.h.old 2018-09-25 07:47:51.000000000 +0000
-+++ lmms-1.2.0-rc7/include/lmms_math.h 2019-01-20 19:22:47.190000000 +0000
-@@ -34,7 +34,7 @@
- #include <cmath>
- using namespace std;
-
--#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__)
-+#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__) || (defined(LMMS_BUILD_LINUX) && !defined(__GLIBC__))
- #ifndef isnanf
- #define isnanf(x) isnan(x)
- #endif
diff --git a/experimental/mariadb/APKBUILD b/experimental/mariadb/APKBUILD
deleted file mode 100644
index a99de6b25..000000000
--- a/experimental/mariadb/APKBUILD
+++ /dev/null
@@ -1,110 +0,0 @@
-# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: A. Wilcox <awilfox@adelielinux.org>
-pkgname=mariadb
-pkgver=10.3.12
-pkgrel=0
-pkgdesc="Open source database server"
-url="https://mariadb.org/"
-arch="all"
-options="!checkroot" # Tests must be run as normal user.
-license="GPL-2.0-only"
-pkgusers="mysql"
-pkggroups="mysql"
-depends="$pkgname-common"
-depends_dev="openssl-dev zlib-dev"
-makedepends="$depends_dev byacc cmake curl-dev libarchive-dev libedit-dev
- libevent-dev libxml2-dev ncurses-dev pcre-dev xz-dev"
-install="$pkgname.pre-install"
-subpackages="$pkgname-doc $pkgname-openrc"
-source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz
- mariadb.initd
- "
-
-build() {
- cd "$builddir"
- if [ "$CBUILD" != "$CHOST" ]; then
- CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
- fi
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG" \
- -DCMAKE_C_FLAGS="$CFLAGS -DNDEBUG" \
- -DMYSQL_DATADIR="/var/lib/mysql" \
- -DSYSCONFDIR="/etc/mysql" \
- -DINSTALL_BINDIR=bin \
- -DINSTALL_DOCDIR=share/doc/$pkgname-$pkgver \
- -DINSTALL_DOCREADMEDIR=share/doc/$pkgname-$pkgver \
- -DINSTALL_INCLUDEDIR=include/mysql \
- -DINSTALL_LIBDIR=lib \
- -DINSTALL_MANDIR=share/man \
- -DINSTALL_MYSQLSHAREDIR=share/mariadb \
- -DINSTALL_PLUGINDIR=lib/mariadb/plugin \
- -DINSTALL_SCRIPTDIR=share/mariadb/scripts \
- -DINSTALL_MYSQLDATADIR="/var/lib/mysql" \
- -DINSTALL_SBINDIR=sbin \
- -DINSTALL_SUPPORTFILESDIR="/usr/share/mariadb" \
- -DWITH_COMMENT="${DISTRO_NAME:-Adélie Linux}" \
- -DWITH_UNIT_TESTS=ON \
- -DWITH_LIBEDIT=1 \
- -DWITH_ZLIB=system \
- -DWITHOUT_LIBWRAP=1 \
- -DENABLED_LOCAL_INFILE=1 \
- -DMYSQL_UNIX_ADDR="/var/run/mysqld/mysqld.sock" \
- -DINSTALL_UNIX_ADDRDIR="/var/run/mysqld/mysqld.sock" \
- -DWITH_DEFAULT_COMPILER_OPTIONS=0 \
- -DWITH_DEFAULT_FEATURE_SET=0 \
- -DPKG_CONFIG_EXECUTABLE="/usr/bin/pkgconf" \
- -DPLUGIN_AUTH_GSSAPI=NO \
- -DAUTH_GSSAPI_PLUGIN_TYPE=OFF \
- -DCONC_WITH_EXTERNAL_ZLIB=YES \
- -DWITH_EXTERNAL_ZLIB=YES \
- -DSUFFIX_INSTALL_DIR="" \
- -DWITH_UNITTEST=OFF \
- -DCONNECT_WITH_MYSQL=ON \
- -DCONNECT_WITH_LIBXML2=system \
- -DCONNECT_WITH_ODBC=NO \
- -DCONNECT_WITH_JDBC=NO \
- -DPLUGIN_ARCHIVE=YES \
- -DPLUGIN_ARIA=YES \
- -DPLUGIN_BLACKHOLE=YES \
- -DPLUGIN_CASSANDRA=NO \
- -DPLUGIN_CSV=YES \
- -DPLUGIN_MYISAM=YES \
- -DWITH_ASAN=OFF \
- -DWITH_EMBEDDED_SERVER=ON \
- -DWITH_INNODB_BZIP2=OFF \
- -DWITH_INNODB_LZ4=OFF \
- -DWITH_INNODB_LZMA=ON \
- -DWITH_INNODB_LZO=OFF \
- -DWITH_INNODB_SNAPPY=OFF \
- -DWITH_JEMALLOC=NO \
- -DWITH_LIBARCHIVE=system \
- -DWITH_LIBNUMA=NO \
- -DWITH_LIBWRAP=OFF \
- -DWITH_LIBWSEP=OFF \
- -DWITH_MARIABACKUP=ON \
- -DWITH_PCRE=system \
- -DWITH_SYSTEMD=no \
- -DWITH_SSL=system \
- -DWITH_VALGRIND=OFF \
- -DWITH_ZLIB=system \
- -DSKIP_TESTS=ON
- ${CMAKE_CROSSOPTS}
- make
-}
-
-check() {
- cd "$builddir"
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
- install -m644 -D "$srcdir"/mariadb.initd "$pkgdir"/etc/init.d/mariadb
- rm -r "$pkgdir"/usr/mysql-test
-}
-
-sha512sums="9dd2939684c4591db306be6afb34663626dfaae133f88dd31125c759dce16b9e9d767a9254e30d9ee5fa2ea027e223dd4799effba8a8b0e4638d5de9e2512003 mariadb-10.3.12.tar.gz
-06751768cb00d2e433655635c38d267ef25084a5830ff40e719ac579223c7192dc34b43f919ab6faf480094632327511cbd22456064dde2d04dc15648b9e3b9f mariadb.initd"
diff --git a/experimental/mariadb/mariadb.initd b/experimental/mariadb/mariadb.initd
deleted file mode 100644
index 143ca8ff5..000000000
--- a/experimental/mariadb/mariadb.initd
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/sbin/openrc-run
-
-getconf() {
- v=$(my_print_defaults --mysqld | grep ^--$1)
- [ -z $v ] && echo $2 || echo ${v#*=}
-}
-
-retry="60"
-extra_stopped_commands="setup"
-command="/usr/bin/mysqld_safe"
-command_args="--syslog --nowatch"
-depend() {
- use net
- need localmount
-}
-
-setup() {
- ebegin "Creating a new MySQL database"
- mysql_install_db --user=mysql --rpm
- eend $?
-}
-
-start_pre() {
- pidfile=$(getconf pid-file "/run/mysqld/mysqld.pid")
- command_args="$command_args --pid-file=$pidfile"
- required_dirs=$(getconf datadir "/var/lib/mysql")
- if [ ! -d $required_dirs/mysql ]; then
- eerror "Datadir '$required_dirs' is empty or invalid."
- eerror "Run '/etc/init.d/mariadb setup' to create new database."
- fi
-}
-
-start_post() {
- ewaitfile 10 $(getconf socket "/run/mysqld/mysqld.sock")
-}
-
-stop_pre() {
- pidfile=$(getconf pid-file "/run/mysqld/mysqld.pid")
-}
-
diff --git a/experimental/mariadb/mariadb.pre-install b/experimental/mariadb/mariadb.pre-install
deleted file mode 100644
index ec71275ca..000000000
--- a/experimental/mariadb/mariadb.pre-install
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-groupadd -g 60 -r mysql
-useradd -u 60 -c "MariaDB Database User" -d /var/lib/mysql -M -N -G mysql -r -s /sbin/nologin mysql
diff --git a/experimental/nim/APKBUILD b/experimental/nim/APKBUILD
new file mode 100644
index 000000000..c64968b44
--- /dev/null
+++ b/experimental/nim/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=nim
+pkgver=0.20.0
+pkgrel=0
+pkgdesc="Statically typed, compiled systems programming language"
+url="https://nim-lang.org/"
+arch="all"
+license=" "
+depends=""
+checkdepends="gc node"
+makedepends="openssl-dev pcre-dev"
+subpackages="$pkgname-doc"
+source="https://nim-lang.org/download/nim-$pkgver.tar.xz"
+
+build() {
+ sh build.sh
+ bin/nim --parallelBuild:${JOBS} c koch
+ ./koch boot --parallelBuild:${JOBS} -d:release
+ PATH="./bin:$PATH" ./koch --stable tools
+}
+
+check() {
+ PATH="./bin:$PATH" ./koch test
+}
+
+package() {
+ PATH="./bin:$PATH" ./koch install "$pkgdir"
+ mkdir -p "$pkgdir"/usr/share/doc
+ mv "$pkgdir"/usr/share/nim/doc "$pkgdir"/usr/share/doc/nim
+
+ for _exec in bin/*; do
+ install -m755 _exec "$pkgdir"/usr/bin/
+ done
+}
+
+sha512sums="e41fc9f9337535d07ebdd14ae8195bf9c666a0a242516f24d50241e69d50e89fcb9ac1a0b1fbeee0bc75b0218aeb18698ff2ac87447005dad52dc18da80bb02d nim-0.20.0.tar.xz"
diff --git a/experimental/xf86-video-omap/APKBUILD b/experimental/xf86-video-omap/APKBUILD
new file mode 100644
index 000000000..7bee04f5c
--- /dev/null
+++ b/experimental/xf86-video-omap/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-omap
+pkgver=0.4.5
+pkgrel=0
+pkgdesc="X.Org driver for OMAP video processors"
+url="https://www.X.Org/"
+# Only for ARM.
+arch="aarch64 aarch64_be arm armel armhf armv7"
+license="X11"
+depends=""
+makedepends="libdrm-dev util-macros xorg-server-dev xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/driver/xf86-video-omap-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c8a21bf00d9ead73b5f66310f802d6071454132b69e20230d3b95635d8fb8351febf5c881640907eb36dd7aeec2d0823e45fb9955b1a9a32e3838ee717964ca2 xf86-video-omap-0.4.5.tar.bz2"