summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-23 12:13:45 +0000
committerdavidovski <david@davidovski.xyz>2022-02-23 12:13:45 +0000
commitcd77f943442eaef39307a4f16ddfd127c8be0b64 (patch)
treeff71fdd08af29abed335fd1c3dd64afb32738768 /repo
parent88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f (diff)
added nasm
Diffstat (limited to 'repo')
-rw-r--r--repo/devel/nasm.xibuild17
-rw-r--r--repo/media/audiofile.xibuild2
-rw-r--r--repo/media/libtheora.xibuild2
-rw-r--r--repo/media/libvpx.xibuild2
-rw-r--r--repo/media/pipewire.xibuild2
-rw-r--r--repo/media/pulseaudio.xibuild2
6 files changed, 22 insertions, 5 deletions
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"