Verified Commit 78a3bf18 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/*: Modernise / fix syntax / deps

parent 836cac64
......@@ -12,7 +12,8 @@ depends=""
makedepends="doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/gmerlin/gavl-$pkgver.tar.gz
musl-sched_h.patch"
musl-sched_h.patch
"
prepare() {
default_prepare
......@@ -20,7 +21,6 @@ prepare() {
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -32,7 +32,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -19,13 +19,11 @@ source="http://www.quut.com/gsm/gsm-$pkgver.tar.gz
builddir="$srcdir"/gsm-${pkgver%.*}-pl${pkgver##*.}
build() {
cd "$builddir"
export RPM_OPT_FLAGS="$CFLAGS -fPIC"
make all
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin \
"$pkgdir"/usr/include/gsm \
"$pkgdir"/usr/lib \
......
......@@ -8,12 +8,11 @@ arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
depends=""
makedepends="alsa-lib-dev autoconf automake pulseaudio-dev"
makedepends="alsa-lib-dev autoconf automake libtool pulseaudio-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-pulse"
source="$pkgname-$pkgver.tar.gz::https://github.com/xiph/libao/archive/$pkgver.tar.gz"
build() {
cd "$builddir"
./autogen.sh
./configure \
--build=$CBUILD \
......@@ -25,7 +24,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -12,8 +12,6 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,12 +26,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,7 +8,7 @@ url=" "
arch="all"
license="MIT"
depends=""
makedepends="doxygen graphviz"
makedepends="cmake doxygen graphviz"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/rttrorg/rttr/releases/download/v$pkgver/rttr-$pkgver-src.tar.gz
arm64.patch
......@@ -27,7 +27,7 @@ build() {
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=class-memaccess -DNDEBUG" \
${CMAKE_CROSSOPTS}
${CMAKE_CROSSOPTS} .
make
}
......
......@@ -15,13 +15,11 @@ source="https://www.libsdl.org/projects/SDL_image/release/SDL_image-${pkgver}.ta
builddir="$srcdir"/SDL_image-$pkgver
prepare() {
cd "$builddir"
update_config_sub
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -33,7 +31,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -20,13 +20,11 @@ source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.
"
prepare() {
cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -38,7 +36,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
ln -sf play "$pkgdir"/usr/bin/rec
ln -sf ../man1/sox.1.gz "$pkgdir"/usr/share/man/man7/soxeffect.7
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment