diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/bearssl/APKBUILD | 40 | ||||
-rw-r--r-- | user/bearssl/bearssl-brssl-dynamic.patch | 13 | ||||
-rw-r--r-- | user/breeze-gtk/APKBUILD | 42 | ||||
-rw-r--r-- | user/irssi/APKBUILD | 46 | ||||
-rw-r--r-- | user/kde-gtk-config/APKBUILD | 43 | ||||
-rw-r--r-- | user/libass/APKBUILD | 36 | ||||
-rw-r--r-- | user/mpv/APKBUILD | 48 | ||||
-rw-r--r-- | user/powerdevil/APKBUILD | 44 | ||||
-rw-r--r-- | user/rubberband/APKBUILD | 34 | ||||
-rw-r--r-- | user/rubberband/no-jni.patch | 15 | ||||
-rw-r--r-- | user/s6-dns/APKBUILD | 12 | ||||
-rw-r--r-- | user/s6-networking/APKBUILD | 40 | ||||
-rw-r--r-- | user/uchardet/APKBUILD | 41 | ||||
-rw-r--r-- | user/vamp-sdk/APKBUILD | 33 | ||||
-rw-r--r-- | user/xterm/APKBUILD | 35 |
15 files changed, 516 insertions, 6 deletions
diff --git a/user/bearssl/APKBUILD b/user/bearssl/APKBUILD new file mode 100644 index 000000000..ad6e8b20a --- /dev/null +++ b/user/bearssl/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Laurent Bercot <ska-adelie@skarnet.org> +# Contributor: Laurent Bercot <ska-adelie@skarnet.org> +pkgname=bearssl +pkgver=0.6 +pkgrel=1 +pkgdesc="The BearSSL implementation of the SSL/TLS protocol" +url="https://bearssl.org/" +arch="all" +license="MIT" +builddir="$srcdir/$pkgname-$pkgver" +subpackages="$pkgname-dev" +source="https://bearssl.org/$pkgname-$pkgver.tar.gz bearssl-brssl-dynamic.patch" + +build() { + cd "$builddir" + make \ + CC=gcc \ + LD=gcc \ + LDDLL=gcc \ + LDDLLFLAGS="-shared -Wl,-soname,libbearssl.so.${pkgver%%.*}" \ + D=".so.$pkgver" +} + +package() { + mkdir -p -m 0755 -- "$pkgdir"/usr/bin "$pkgdir"/lib "$pkgdir"/usr/include "$pkgdir"/usr/lib + cp -f "$builddir/build/brssl" "$pkgdir/usr/bin/" + cp -f "$builddir"/inc/* "$pkgdir/usr/include/" + cp -f "$builddir/build/libbearssl.a" "$pkgdir/usr/lib/" + cp -f "$builddir/build/libbearssl.so.$pkgver" "$pkgdir/lib/" + ln -sf "libbearssl.so.$pkgver" "$pkgdir/lib/libbearssl.so.${pkgver%%.*}" + ln -sf "libbearssl.so.${pkgver%%.*}" "$pkgdir/lib/libbearssl.so" +} + +check() { + cd "$builddir/build" + ./testx509 && ./testcrypto all +} + +sha512sums="f9ed25683cfc6c4abe7f1203a2b82ed101ee4c9e0f9ab60755b6a09c8d1e8e4f64d413624e7bb9c4b0033f909a2e4568a1d916cc6ce4736222900691e1f8359a bearssl-0.6.tar.gz +f5fe047862eb355a662ccb1b95c2ca4a870ac0f8d3f4cada5396d2f6a6635647db53fbeb038f9a7651b84d6cda32b6415ce0f69a8da92636d3b3b76578114d5c bearssl-brssl-dynamic.patch" diff --git a/user/bearssl/bearssl-brssl-dynamic.patch b/user/bearssl/bearssl-brssl-dynamic.patch new file mode 100644 index 000000000..e41bb138e --- /dev/null +++ b/user/bearssl/bearssl-brssl-dynamic.patch @@ -0,0 +1,13 @@ +--- bearssl-0.5.old/mk/Rules.mk ++++ bearssl-0.5/mk/Rules.mk +@@ -49,8 +49,8 @@ + $(BEARSSLDLL): $(OBJDIR) $(OBJ) + $(LDDLL) $(LDDLLFLAGS) $(LDDLLOUT)$(BEARSSLDLL) $(OBJ) + +-$(BRSSL): $(BEARSSLLIB) $(OBJBRSSL) +- $(LD) $(LDFLAGS) $(LDOUT)$(BRSSL) $(OBJBRSSL) $(BEARSSLLIB) ++$(BRSSL): $(BEARSSLDLL) $(OBJBRSSL) ++ $(LD) $(LDFLAGS) $(LDOUT)$(BRSSL) $(OBJBRSSL) $(BEARSSLDLL) + + $(TESTCRYPTO): $(BEARSSLLIB) $(OBJTESTCRYPTO) + $(LD) $(LDFLAGS) $(LDOUT)$(TESTCRYPTO) $(OBJTESTCRYPTO) $(BEARSSLLIB) diff --git a/user/breeze-gtk/APKBUILD b/user/breeze-gtk/APKBUILD new file mode 100644 index 000000000..b4be30ab5 --- /dev/null +++ b/user/breeze-gtk/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=breeze-gtk +pkgver=5.12.6 +pkgrel=0 +pkgdesc="GTK+ style that matches KDE Breeze" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1-only" +depends="gtk+2.0" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev" +# XXX should be installed if breeze and gtk+3.0 are installed, as well +install_if="breeze~$pkgver gtk+2.0" +source="https://download.kde.org/stable/plasma/$pkgver/breeze-gtk-$pkgver.tar.xz" + +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_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="59c4f9433011a6699a2e9b8eef4053aa3c7b25d1cb8668a14fcba42c513d232501988ca5c4cedc00375cde917dd7cd1f8e8948c2d3447083f51fdfc4bd061adb breeze-gtk-5.12.6.tar.xz" diff --git a/user/irssi/APKBUILD b/user/irssi/APKBUILD new file mode 100644 index 000000000..f18681cae --- /dev/null +++ b/user/irssi/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=irssi +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Text-based IRC client" +url="https://irssi.org" +arch="all" +license="GPL-2.0+ AND ISC" +makedepends="ncurses-dev glib-dev openssl-dev perl-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-perl" +source="https://github.com/irssi/irssi/releases/download/$pkgver/irssi-$pkgver.tar.xz" +sha512sums="b2fc0805d6213c31bc34c48237baf2e33ac509c0fa09c483fd39f1473e32eee227ff4532efc60fb495c2ec263c05290578bca7ad6d39149e0594f864da5986c0 irssi-1.1.1.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-true-color \ + --with-perl=module + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +perl() { + depends="perl" + pkgdesc="Perl support & scripts for irssi" + + mkdir -p "$subpkgdir"/usr "$subpkgdir"/usr/share/irssi + mv "$pkgdir"/usr/lib "$subpkgdir"/usr + mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi +} diff --git a/user/kde-gtk-config/APKBUILD b/user/kde-gtk-config/APKBUILD new file mode 100644 index 000000000..b7f88f151 --- /dev/null +++ b/user/kde-gtk-config/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kde-gtk-config +pkgver=5.12.6 +pkgrel=0 +pkgdesc="KDE System Settings panel for configuring GTK+ application styles" +url="https://www.kde.org/" +arch="all" +license="GPL-3.0+" +depends="gsettings-desktop-schemas" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev gtk+2.0-dev gtk+3.0-dev + karchive-dev kcmutils-dev kconfigwidgets-dev ki18n-dev kiconthemes-dev + kio-dev knewstuff-dev gsettings-desktop-schemas-dev" +subpackages="$pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz" + +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_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="05682cf2acef5532aef62b68ca4c3602df1a0141fe791cc0ad3b7ea7893e00327b3b98d515c95db4333e4e6a7c19b3b98f7d9a47e551c571d5492591f7225882 kde-gtk-config-5.12.6.tar.xz" diff --git a/user/libass/APKBUILD b/user/libass/APKBUILD new file mode 100644 index 000000000..3b9b22908 --- /dev/null +++ b/user/libass/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libass +pkgver=0.14.0 +pkgrel=0 +pkgdesc="Portable library for rendering (Advanced) Substation Alpha subtitles" +url="https://github.com/libass/libass" +arch="all" +license="ISC" +makedepends="freetype-dev fribidi-dev fontconfig-dev harfbuzz-dev" +subpackages="$pkgname-dev" +source="https://github.com/libass/libass/releases/download/$pkgver/libass-$pkgver.tar.xz" +sha512sums="0f5fe5d7e662ee1d649981f829e5ef7a53457754f74faaed5679252a5a6769c8f267b6119cda922ebc6a8e5b5b331569f13813ac74881b4e94da7b2e8143a9e6 libass-0.14.0.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + diff --git a/user/mpv/APKBUILD b/user/mpv/APKBUILD new file mode 100644 index 000000000..d0a4e37b1 --- /dev/null +++ b/user/mpv/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=mpv +pkgver=0.29.0 +pkgrel=0 +pkgdesc="An improved fork of mplayer" +url="https://mpv.io" +arch="all" +options="!check" # no tests +license="LGPL-2.1+ AND GPL-2.0+ AND ISC AND BSD-2-Clause AND MIT AND BSD-3-Clause" +makedepends="python3 + zlib-dev libarchive-dev py3-docutils uchardet-dev ncurses-dev + + alsa-lib-dev pulseaudio-dev + + libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxscrnsaver-dev + mesa-dev libva-dev lcms2-dev libvdpau-dev + + ffmpeg-dev libbluray-dev v4l-utils-dev libass-dev libdvdread-dev + libdvdnav-dev libcdio-dev libcdio-paranoia-dev rubberband-dev + " +subpackages="$pkgname-doc" +source="mpv-$pkgver.tar.gz::https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz" +sha512sums="77204218bd217ae1da4812b09e0509965a3ef102d3de5cd4360f007ccf3779e4cbde5cfd6adae9629ea39062bd365e847429bdf7f9a1ddebd0a67d267492b221 mpv-0.29.0.tar.gz" + +build() { + cd "$builddir" + python3 ./bootstrap.py + python3 ./waf configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --destdir="$pkgdir" \ + --disable-lua \ + --disable-javascript \ + --disable-wayland \ + --disable-gl-wayland \ + --enable-dvdread \ + --enable-dvdnav \ + --enable-cdda \ + --enable-tv + python3 ./waf build +} + +package() { + cd "$builddir" + python3 ./waf install --destdir="$pkgdir" +} + diff --git a/user/powerdevil/APKBUILD b/user/powerdevil/APKBUILD new file mode 100644 index 000000000..0a741eff9 --- /dev/null +++ b/user/powerdevil/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=powerdevil +pkgver=5.12.6 +pkgrel=0 +pkgdesc="KDE Plasma power management utilities" +url="https://www.kde.org/" +arch="all" +license="GPL-2.0+ AND LGPL-2.0+ AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev + kactivities-dev kauth-dev kconfig-dev kdbusaddons-dev kglobalaccel-dev + ki18n-dev kidletime-dev kio-dev knotifyconfig-dev kdelibs4support-dev + kwayland-dev libkscreen-dev plasma-workspace-dev solid-dev eudev-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/plasma/$pkgver/powerdevil-$pkgver.tar.xz" + +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_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="b77e1990e59bae684d19fd796789aa0216d111952941642c354fc760e862cd5008c923aa5f1783c8699818fdfd36333a2ad56832834e3ce2232905ec399e0846 powerdevil-5.12.6.tar.xz" diff --git a/user/rubberband/APKBUILD b/user/rubberband/APKBUILD new file mode 100644 index 000000000..4bbe58f6c --- /dev/null +++ b/user/rubberband/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=rubberband +pkgver=1.8.2 +pkgrel=0 +pkgdesc="Library for audio time-stretching and pitch-shifting" +url="https://www.breakfastquay.com/rubberband/" +arch="all" +options="!check" # no tests +license="BSD-4-Clause AND BSD-3-Clause AND GPL-2.0+" +makedepends="libsamplerate-dev libsndfile-dev fftw-dev vamp-sdk-dev ladspa-dev" +subpackages="$pkgname-dev" +source="https://breakfastquay.com/files/releases/rubberband-$pkgver.tar.bz2 + no-jni.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="da677f9a843711c44c52c0153faa62e587ac7c010569523ef4fef7ce941b9d292e566f46147700e496f6cfff4c9f22f9901dcc93f2d701fdb9de152ddac0c3a6 rubberband-1.8.2.tar.bz2 +6c64a6220e68865dece4efe93131f7b5c99ae6a4ce094d7e8cf4805f64c3012edbf35bd5c2bdbb07240d68036728baa9619dd8faa21f01393dc6b35bdfa4f152 no-jni.patch" diff --git a/user/rubberband/no-jni.patch b/user/rubberband/no-jni.patch new file mode 100644 index 000000000..82e08c970 --- /dev/null +++ b/user/rubberband/no-jni.patch @@ -0,0 +1,15 @@ +diff -Nurd rubberband-1.8.2/Makefile.in rubberband-1.8.2.new/Makefile.in +--- rubberband-1.8.2/Makefile.in 2018-05-15 12:43:39.000000000 -0500 ++++ rubberband-1.8.2.new/Makefile.in 2018-08-03 00:50:46.435326979 -0500 +@@ -179,11 +179,9 @@ + cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR) + rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION) + rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION) +- rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) + cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) + ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION) + ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION) +- cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) + cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR) + cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR) + cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR) diff --git a/user/s6-dns/APKBUILD b/user/s6-dns/APKBUILD index 26799abc0..a0fa13696 100644 --- a/user/s6-dns/APKBUILD +++ b/user/s6-dns/APKBUILD @@ -1,17 +1,17 @@ -# Contributor: John Regan <john@jrjrtech.com> -# Maintainer: Laurent Bercot <ska-devel@skarnet.org> +# Contributor: Laurent Bercot <ska-adelie@skarnet.org> +# Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-dns -pkgver=2.3.0.0 +pkgver=2.3.0.1 pkgrel=0 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities" -url="http://skarnet.org/software/s6-dns/" +url="https://skarnet.org/software/s6-dns/" arch="all" license="ISC" makedepends="skalibs-dev" options="!check" makedepends="skalibs-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$builddir" @@ -36,4 +36,4 @@ doc() { cp -a "$builddir"/doc "$subpkgdir"/usr/share/doc/$pkgname } -sha512sums="9afa98d0a7a9d84311f6f93d5c1742f7dcfb84c76ca363f9e09b3b40cd3faa1721aebb6e974a98991c037d82b2540c1edbc3cc13ea5f7e3dd95a96d14918e454 s6-dns-2.3.0.0.tar.gz" +sha512sums="69ae32f9b4ff22a5d38e3a2c950357d8c8032a649c1d81e4a4e5f474ae5c1bb1072555baa1a34f955293aa0f66a93f51f2cc8efd8aa56704b906e0b0979f8157 s6-dns-2.3.0.1.tar.gz" diff --git a/user/s6-networking/APKBUILD b/user/s6-networking/APKBUILD new file mode 100644 index 000000000..39b08026f --- /dev/null +++ b/user/s6-networking/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Laurent Bercot <ska-adelie@skarnet.org> +# Maintainer: Laurent Bercot <ska-adelie@skarnet.org> +pkgname=s6-networking +pkgver=2.3.0.3 +pkgrel=0 +pkgdesc="skarnet.org's UCSPI Unix and TCP tools, access control tools, and network time management utilities." +url="https://skarnet.org/software/$pkgname/" +arch="all" +license="ISC" +options="!check" # No test suite. +depends_dev="skalibs-dev bearssl-dev" +makedepends="skalibs-dev execline-dev s6-dev s6-dns-dev bearssl-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --enable-shared \ + --enable-static \ + --disable-allstatic \ + --prefix=/usr \ + --libexecdir="/usr/lib/$pkgname" \ + --with-dynlib=/lib \ + --enable-ssl=bearssl + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +doc() { + default_doc + mkdir -p "$subpkgdir/usr/share/doc" + cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" +} + +sha512sums="f710c8c67b88523d4d461ab775ad3a56ca148e0e5ee4c02fe40d0783ff43af8779e598548db5048cc32852be6659f2feb7ac29ba07a953daa0039cec0fc14762 s6-networking-2.3.0.3.tar.gz" diff --git a/user/uchardet/APKBUILD b/user/uchardet/APKBUILD new file mode 100644 index 000000000..08770a326 --- /dev/null +++ b/user/uchardet/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=uchardet +pkgver=0.0.6 +pkgrel=0 +pkgdesc="Universal character encoding detection library" +url="https://www.freedesktop.org/wiki/Software/uchardet/" +arch="all" +license="MPL-1.1 OR GPL-2.0+ OR LGPL-2.1+" +makedepends="cmake" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.freedesktop.org/software/uchardet/releases/uchardet-$pkgver.tar.xz" +sha512sums="eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5 uchardet-0.0.6.tar.xz" +builddir="$srcdir/uchardet-$pkgver" + +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_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + diff --git a/user/vamp-sdk/APKBUILD b/user/vamp-sdk/APKBUILD new file mode 100644 index 000000000..b97a8c2df --- /dev/null +++ b/user/vamp-sdk/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=vamp-sdk +pkgver=2.7.1 +pkgrel=0 +pkgdesc="SDK for developing Vamp audio analysis plugins" +url="https://vamp-plugins.org/develop.html" +arch="all" +options="!check" # no tests +license="BSD-3-Clause AND MIT" +makedepends="libsndfile-dev" +subpackages="$pkgname-dev" +source="https://code.soundsoftware.ac.uk/attachments/download/2206/vamp-plugin-sdk-$pkgver.tar.gz" +sha512sums="91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3 vamp-plugin-sdk-2.7.1.tar.gz" +builddir="$srcdir/vamp-plugin-sdk-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + diff --git a/user/xterm/APKBUILD b/user/xterm/APKBUILD new file mode 100644 index 000000000..9c2a3a434 --- /dev/null +++ b/user/xterm/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=xterm +pkgver=333 +pkgrel=0 +pkgdesc="An X-based terminal emulator" +url="https://invisible-island.net/xterm/" +arch="all" +options="!check" # no tests +license="X11" +makedepends="libx11-dev libsm-dev libice-dev libxt-dev utmps-dev libxaw-dev + libxext-dev freetype-dev ncurses-dev pcre-dev" +subpackages="$pkgname-doc" +source="ftp://ftp.invisible-island.net/xterm/xterm-$pkgver.tgz" +sha512sums="90c5d8d3d039417915d40d22fcc6244d1c86e8bcc39d865ba6cb67fc9d1ff6e0f3ee79da06a094d23f6801195f0baa26564a553d04c974d62a331016118215a0 xterm-333.tgz" +builddir="$srcdir/xterm-$pkgver" + +build() { + cd "$builddir" + LIBS="-lutmps -lskarnet -ltinfow" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-pcre + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + |