diff options
Diffstat (limited to 'repo/media')
-rw-r--r-- | repo/media/alsa-utils/alsa-utils.xibuild | 5 | ||||
-rw-r--r-- | repo/media/openal-soft/openal-soft.xibuild | 23 | ||||
-rw-r--r-- | repo/media/pulseaudio/pulseaudio.xibuild | 28 | ||||
-rw-r--r-- | repo/media/sfml/musl-1.2.3.patch | 11 | ||||
-rw-r--r-- | repo/media/sfml/sfml.xibuild | 28 |
5 files changed, 88 insertions, 7 deletions
diff --git a/repo/media/alsa-utils/alsa-utils.xibuild b/repo/media/alsa-utils/alsa-utils.xibuild index cd8c644..6e1226b 100644 --- a/repo/media/alsa-utils/alsa-utils.xibuild +++ b/repo/media/alsa-utils/alsa-utils.xibuild @@ -9,8 +9,9 @@ PKG_VER=1.2.6 SOURCE=https://www.alsa-project.org/files/pub/utils/alsa-utils-$PKG_VER.tar.bz2 build () { - ./configure --disable-alsaconf \ - --disable-bat \ + ./configure \ + --disable-nls \ + --disable-bat \ --disable-xmlto \ --with-curses=ncursesw && make diff --git a/repo/media/openal-soft/openal-soft.xibuild b/repo/media/openal-soft/openal-soft.xibuild new file mode 100644 index 0000000..c0d7137 --- /dev/null +++ b/repo/media/openal-soft/openal-soft.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="openal-soft" +DESC="software implementation of OpenAL API" + +MAKEDEPS="cmake " +DEPS="ffmpeg4 musl sdl2 " + +PKG_VER=1.22.0 +SOURCE="https://github.com/kcat/openal-soft/archive/$PKG_VER.tar.gz" + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} diff --git a/repo/media/pulseaudio/pulseaudio.xibuild b/repo/media/pulseaudio/pulseaudio.xibuild index 9554c72..14b9bcd 100644 --- a/repo/media/pulseaudio/pulseaudio.xibuild +++ b/repo/media/pulseaudio/pulseaudio.xibuild @@ -1,6 +1,6 @@ #!/bin/sh -MAKEDEPS="make check" +MAKEDEPS="make check soxr speex libx11 libxtst fftw jack speexdsp openssl eudev check libtool" DEPS="libsndfile alsa-lib dbus elogind glib libcap speex libxtst gdbm" DESC="A featureful, general-purpose sound server" @@ -13,10 +13,28 @@ build () { cd build && meson --prefix=/usr \ - --buildtype=release \ - -Ddatabase=gdbm \ - -Ddoxygen=false \ - -Dbluez5=disabled && + -Dgcov=false \ + -Dman=true \ + -Dtests=true \ + -Dsystem_user=pulse \ + -Dsystem_group=pulse \ + -Ddatabase=tdb \ + -Dalsa=enabled \ + -Ddbus=enabled \ + -Dglib=enabled \ + -Dgsettings=enabled \ + -Dgtk=enabled \ + -Dhal-compat=false \ + -Dipv6=true \ + -Ddatabase=gdbm \ + -Dopenssl=enabled \ + -Dsamplerate=disabled \ + -Dsoxr=enabled \ + -Dsystemd=disabled \ + -Dudev=enabled \ + -Dx11=enabled \ + -Dudevrulesdir=/usr/lib/udev/rules.d \ + -Ddoxygen=false && ninja } diff --git a/repo/media/sfml/musl-1.2.3.patch b/repo/media/sfml/musl-1.2.3.patch new file mode 100644 index 0000000..54d2f6d --- /dev/null +++ b/repo/media/sfml/musl-1.2.3.patch @@ -0,0 +1,11 @@ +--- a/src/SFML/Window/Unix/WindowImplX11.cpp ++++ b/src/SFML/Window/Unix/WindowImplX11.cpp +@@ -1556,7 +1556,7 @@ + m_window, + XNInputStyle, + XIMPreeditNothing | XIMStatusNothing, +- reinterpret_cast<void*>(NULL)); ++ reinterpret_cast<void*>(0)); + } + else + { diff --git a/repo/media/sfml/sfml.xibuild b/repo/media/sfml/sfml.xibuild new file mode 100644 index 0000000..c0001dd --- /dev/null +++ b/repo/media/sfml/sfml.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="sfml" +DESC="Simple and Fast Multimedia Library" + +MAKEDEPS="cmake " +DEPS="eudev freetype2 flac libogg libvorbis libx11 libxrandr mesa musl openal-soft " + +PKG_VER=2.5.1 +SOURCE="https://github.com/SFML/SFML/archive/$PKG_VER/sfml-$PKG_VER.tar.gz" +ADDITIONAL="musl-1.2.3.patch " + +prepare () { + apply_patches +} + +build () { + cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=OFF + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} |