diff --git a/patches/alsa-lib/jinx-working-patch.patch b/patches/alsa-lib/jinx-working-patch.patch
new file mode 100644
index 00000000..1c39ae0f
--- /dev/null
+++ b/patches/alsa-lib/jinx-working-patch.patch
@@ -0,0 +1,35 @@
+diff --git alsa-lib-clean/src/conf.c alsa-lib-workdir/src/conf.c
+index 468d41f..97e6f0f 100644
+--- alsa-lib-clean/src/conf.c
++++ alsa-lib-workdir/src/conf.c
+@@ -435,6 +435,13 @@ beginning:
+ #include
+ #endif
+
++#ifdef __astral__
++#define versionsort64 versionsort
++#define scandir64 scandir
++#define dirent64 dirent
++#define ino64_t ino_t
++#endif
++
+ #ifndef DOC_HIDDEN
+
+ #ifdef HAVE_LIBPTHREAD
+diff --git alsa-lib-clean/src/ucm/parser.c alsa-lib-workdir/src/ucm/parser.c
+index 488a5c6..7a6d1db 100644
+--- alsa-lib-clean/src/ucm/parser.c
++++ alsa-lib-workdir/src/ucm/parser.c
+@@ -36,6 +36,12 @@
+ #include
+ #include
+
++#ifdef __astral__
++#define scandir64 scandir
++#define versionsort64 versionsort
++#define dirent64 dirent
++#endif
++
+ static int filename_filter(const struct dirent64 *dirent);
+
+ static int parse_sequence(snd_use_case_mgr_t *uc_mgr,
diff --git a/recipes/alsa-lib b/recipes/alsa-lib
new file mode 100644
index 00000000..86cd4c92
--- /dev/null
+++ b/recipes/alsa-lib
@@ -0,0 +1,19 @@
+name=alsa-lib
+revision=1
+from_source=alsa-lib
+imagedeps="build-essential"
+hostdeps="xgcc xbinutils pkgconfig autoconf automake"
+deps="base"
+
+configure() {
+ cp -r "${source_dir}/." "."
+ ./configure --prefix=${prefix} --host=x86_64-astral
+}
+
+build() {
+ make -j${parallelism}
+}
+
+package() {
+ make DESTDIR=${dest_dir} install
+}
diff --git a/source-recipes/alsa-lib b/source-recipes/alsa-lib
new file mode 100644
index 00000000..34b2d8e4
--- /dev/null
+++ b/source-recipes/alsa-lib
@@ -0,0 +1,9 @@
+name=alsa-lib
+version=1.2.13
+source_method=tarball
+tarball_url="https://github.com/alsa-project/alsa-lib/archive/refs/tags/v${version}.tar.gz"
+tarball_sha512=ae21380c75ab2f318b14d42b1f06e35d2a80b377fe0a12177e7f5c926b189bb242037891e3e7d780d77376e57d6f074abe5701eecd55035ff0498bdbca55e42a
+hostdeps="autoconf automake util-macros pkgconfig libtool"
+prepare() {
+ autoreconf -fvi
+}