From cd77f943442eaef39307a4f16ddfd127c8be0b64 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 23 Feb 2022 12:13:45 +0000 Subject: added nasm --- repo/devel/nasm.xibuild | 17 +++++++++++++++++ repo/media/audiofile.xibuild | 2 +- repo/media/libtheora.xibuild | 2 +- repo/media/libvpx.xibuild | 2 +- repo/media/pipewire.xibuild | 2 +- repo/media/pulseaudio.xibuild | 2 +- 6 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 repo/devel/nasm.xibuild (limited to 'repo') diff --git a/repo/devel/nasm.xibuild b/repo/devel/nasm.xibuild new file mode 100644 index 0000000..24c71c9 --- /dev/null +++ b/repo/devel/nasm.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(glibc) + +PKG_VER=2.15.05 +SOURCE=https://www.nasm.us/pub/nasm/releasebuilds/$PKG_VER/nasm-$PKG_VER.tar.xz +DESC="80x86 assembler designed for portability and modularity" + +build () { + ./configure --prefix=/usr && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/media/audiofile.xibuild b/repo/media/audiofile.xibuild index be18656..2a2d0de 100644 --- a/repo/media/audiofile.xibuild +++ b/repo/media/audiofile.xibuild @@ -13,7 +13,7 @@ ADDITIONAL=( ) prepare () { - patch -Np1 -i audiofile-$PKG_VER-consolidated_patches-1.patch && + patch -Np1 -i audiofile-$PKG_VER-consolidated_patches-1.patch } build () { diff --git a/repo/media/libtheora.xibuild b/repo/media/libtheora.xibuild index 6e658f5..1788fbb 100644 --- a/repo/media/libtheora.xibuild +++ b/repo/media/libtheora.xibuild @@ -9,7 +9,7 @@ PKG_VER=1.1.1 SOURCE=https://downloads.xiph.org/releases/theora/libtheora-$PKG_VER.tar.xz prepare () { - sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c && + sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c } build () { diff --git a/repo/media/libvpx.xibuild b/repo/media/libvpx.xibuild index c04fc25..c8fde8c 100644 --- a/repo/media/libvpx.xibuild +++ b/repo/media/libvpx.xibuild @@ -9,7 +9,7 @@ PKG_VER=1.11.0 SOURCE=https://github.com/webmproject/libvpx/archive/v$PKG_VER/libvpx-$PKG_VER.tar.gz prepare () { - sed -i 's/cp -p/cp/' build/make/Makefile && + sed -i 's/cp -p/cp/' build/make/Makefile } build () { diff --git a/repo/media/pipewire.xibuild b/repo/media/pipewire.xibuild index 56f2eb1..a3a1cec 100644 --- a/repo/media/pipewire.xibuild +++ b/repo/media/pipewire.xibuild @@ -6,7 +6,7 @@ DEPS=(bluez ffmpeg gstreamer gst-plugins-base libva pulseaudio sbc sdl2 v4l-util DESC="Low-latency audio/video router and processor" PKG_VER=0.3.47 -SOURCE=https://github.com/PipeWire/pipewire/archive/$PLG_VER/pipewire-$PKG_VER.tar.gz +SOURCE=https://github.com/PipeWire/pipewire/archive/$PKG_VER/pipewire-$PKG_VER.tar.gz build () { mkdir build && diff --git a/repo/media/pulseaudio.xibuild b/repo/media/pulseaudio.xibuild index dfb7831..e3d4a22 100644 --- a/repo/media/pulseaudio.xibuild +++ b/repo/media/pulseaudio.xibuild @@ -1,6 +1,6 @@ #!/bin/bash -MAKEDEPS=(make) +MAKEDEPS=(make check) DEPS=(libsndfile alsa-lib dbus elogind glib libcap speex libxtst gdbm) DESC="A featureful, general-purpose sound server" -- cgit v1.2.1