From d296884edbe61022623e343a115e147fafe1c62b Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 17:11:50 +0100 Subject: added extremetuxracer --- repo/games/extremetuxracer/extremetuxracer.xibuild | 23 ++++++++++++++++++ repo/media/alsa-utils/alsa-utils.xibuild | 5 ++-- repo/media/openal-soft/openal-soft.xibuild | 23 ++++++++++++++++++ repo/media/pulseaudio/pulseaudio.xibuild | 28 ++++++++++++++++++---- repo/media/sfml/musl-1.2.3.patch | 11 +++++++++ repo/media/sfml/sfml.xibuild | 28 ++++++++++++++++++++++ 6 files changed, 111 insertions(+), 7 deletions(-) create mode 100644 repo/games/extremetuxracer/extremetuxracer.xibuild create mode 100644 repo/media/openal-soft/openal-soft.xibuild create mode 100644 repo/media/sfml/musl-1.2.3.patch create mode 100644 repo/media/sfml/sfml.xibuild (limited to 'repo') diff --git a/repo/games/extremetuxracer/extremetuxracer.xibuild b/repo/games/extremetuxracer/extremetuxracer.xibuild new file mode 100644 index 0000000..9cf6556 --- /dev/null +++ b/repo/games/extremetuxracer/extremetuxracer.xibuild @@ -0,0 +1,23 @@ +#!/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 \ + --disable-static + 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(NULL)); ++ reinterpret_cast(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 +} -- cgit v1.2.1 From e3327c3fee233a042db91270c18ef1d7f217dc89 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 17:12:34 +0100 Subject: removed redundant flag on extreme tux racer --- repo/games/extremetuxracer/extremetuxracer.xibuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'repo') diff --git a/repo/games/extremetuxracer/extremetuxracer.xibuild b/repo/games/extremetuxracer/extremetuxracer.xibuild index 9cf6556..c82f2c7 100644 --- a/repo/games/extremetuxracer/extremetuxracer.xibuild +++ b/repo/games/extremetuxracer/extremetuxracer.xibuild @@ -13,8 +13,7 @@ build () { ./configure \ --prefix=/usr \ --bindir=/usr/bin \ - --sysconfdir=/etc \ - --disable-static + --sysconfdir=/etc make } -- cgit v1.2.1