summaryrefslogtreecommitdiff
path: root/repo/media
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
committerdavidovski <david@davidovski.xyz>2022-04-20 22:40:49 +0000
commit1084afc3c4d9c83e61620de60ba59a4393a33cb0 (patch)
tree17b2e37df0f1d61a83566fda5f707faffab54628 /repo/media
parentc35d083dc525e223b085ec00e6863ea6eafb003c (diff)
fixed create to work within env
Diffstat (limited to 'repo/media')
-rw-r--r--repo/media/libvpx.xibuild1
-rw-r--r--repo/media/mpd.xibuild41
-rw-r--r--repo/media/pulsemixer.xibuild3
3 files changed, 10 insertions, 35 deletions
diff --git a/repo/media/libvpx.xibuild b/repo/media/libvpx.xibuild
index ab8d127..7614473 100644
--- a/repo/media/libvpx.xibuild
+++ b/repo/media/libvpx.xibuild
@@ -10,6 +10,7 @@ SOURCE=https://github.com/webmproject/libvpx/archive/v$PKG_VER/libvpx-$PKG_VER.t
prepare () {
sed -i 's/cp -p/cp/' build/make/Makefile
+ sed -i 's/diff --version/command -v diff/' configure
}
build () {
diff --git a/repo/media/mpd.xibuild b/repo/media/mpd.xibuild
index 9229a01..0907e1e 100644
--- a/repo/media/mpd.xibuild
+++ b/repo/media/mpd.xibuild
@@ -1,47 +1,22 @@
#!/bin/sh
NAME="mpd"
-DESC="Music daemon that plays MP3, FLAC, Ogg Vorbis files and Audio CDs"
+DESC="Minimalist command line interface to MPD"
-MAKEDEPS="meson ninja boost"
-DEPS="alsa-lib sbase expat faad2 flac fmt icu lame libao bzip2 libid3tag libmad libogg pulseaudio libsamplerate libmpdclient libvorbis musl opus pipewire soxr wavpack zlib"
+MAKEDEPS="meson ninja "
+DEPS="musl libmpdclient "
-PKG_VER=0.23.6
-SOURCE="https://www.musicpd.org/download/mpd/${PKG_VER%.*}/mpd-$PKG_VER.tar.xz"
-ADDITIONAL="libcdio-paa-version.patch libcdio-paranoia-version.patch mpd.confd mpd.initd"
-
-prepare () {
- apply_patches
-}
+PKG_VER=0.34
+SOURCE="https://www.musicpd.org/download/mpc/${PKG_VER%.*}/mpc-$PKG_VER.tar.xz"
build () {
- cd build
+ mkdir build &&
+ cd build &&
meson --prefix=/usr \
- -Dopus=enabled \
- -Ddocumentation=enabled \
- -Dlibmpdclient=enabled \
- -Dwavpack=enabled \
- -Dpipewire=enabled \
- .. &&
-
+ .. &&
ninja
}
package () {
DESTDIR=$PKG_DEST ninja install
- cd ..
- install -d $PKG_DEST/etc
- sed -e 's:\#user.*:user\t\t"mpd":' \
- -e 's:\#log_file.*:log_file\t\t"syslog":' \
- doc/mpdconf.example > $PKG_DEST/etc/mpd.conf
- install -m755 -D mpd.initd \
- "$PKG_DEST"/etc/init.d/mpd
- install -m644 -D mpd.confd \
- "$PKG_DEST"/etc/conf.d/mpd
- install -d -m775 \
- "$PKG_DEST"/var/run/mpd \
- "$PKG_DEST"/var/log/mpd \
- "$PKG_DEST"/var/lib/mpd \
- "$PKG_DEST"/var/lib/mpd/playlists \
- "$PKG_DEST"/var/lib/mpd/music
}
diff --git a/repo/media/pulsemixer.xibuild b/repo/media/pulsemixer.xibuild
index 79e7a74..4bf0850 100644
--- a/repo/media/pulsemixer.xibuild
+++ b/repo/media/pulsemixer.xibuild
@@ -4,8 +4,7 @@ NAME="pulsemixer"
DESC="CLI and curses mixer for PulseAudio"
MAKEDEPS=""
-DEPS="pulseaudio
-python"
+DEPS="pulseaudio python libtool"
PKG_VER=1.5.1
SOURCE="https://github.com/GeorgeFilipkin/pulsemixer/archive/$PKG_VER.tar.gz"