diff options
author | davidovski <david@davidovski.xyz> | 2022-05-17 19:11:18 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-17 19:11:18 +0100 |
commit | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (patch) | |
tree | a43da72790761ec861b42855ce4828d5b24ea304 /repo | |
parent | 50fb6c032e72a26b3fd881a18e1d1f535c95e0fc (diff) | |
parent | e3327c3fee233a042db91270c18ef1d7f217dc89 (diff) |
Merge branch 'master' of git.cheetah.remote:xilinux/buildfiles
Diffstat (limited to 'repo')
-rw-r--r-- | repo/games/extremetuxracer/extremetuxracer.xibuild | 22 | ||||
-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 |
6 files changed, 110 insertions, 7 deletions
diff --git a/repo/games/extremetuxracer/extremetuxracer.xibuild b/repo/games/extremetuxracer/extremetuxracer.xibuild new file mode 100644 index 0000000..c82f2c7 --- /dev/null +++ b/repo/games/extremetuxracer/extremetuxracer.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="extremetuxracer" +DESC="Downhill racing game starring Tux" + +MAKEDEPS="make " +DEPS="glu mesa musl sfml " + +PKG_VER=0.8.1 +SOURCE="https://downloads.sourceforge.net/extremetuxracer/etr-$PKG_VER.tar.xz" + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc + make +} + +package () { + make DESTDIR=$PKG_DEST install +} 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 +} |