LADI
/
spa
1
Fork 0

Fix for new paths

Add convenience makefile and autogen.sh
This commit is contained in:
Wim Taymans 2016-09-26 12:29:01 +02:00
parent 67dd3adb87
commit b9409e297b
8 changed files with 17 additions and 38 deletions

31
.gitignore vendored
View File

@ -2,39 +2,10 @@
.version
.*.swp
ABOUT-NLS
build-aux
intltool-extract.in
intltool-merge.in
intltool-update.in
*~
*.tar.gz
*.tar.xz
.deps
.libs
*.la
*.lo
*.o
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.rpath
config.status
config.sub
configure
depcomp
install-sh
libltdl
libtool
ltmain.sh
missing
mkinstalldirs
stamp-*
.dirstamp
config.h.meson
pkgconfig/libpinos-*.pc

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
all:
cd build && ninja-build
install:
cd build && ninja-build install
clean:
cd build && ninja-build clean

View File

@ -17,6 +17,6 @@
# Only there to make jhbuild happy
NOCONFIGURE=1 ./bootstrap.sh
exec ./configure "$@"
rm -rf ./build
mkdir build
meson build $@

View File

@ -366,7 +366,7 @@ pinos_spa_alsa_monitor_new (PinosDaemon *daemon)
void *iface;
if ((res = make_handle (&handle,
"spa/build/plugins/alsa/libspa-alsa.so",
"build/spa/plugins/alsa/libspa-alsa.so",
"alsa-monitor",
NULL)) < 0) {
g_error ("can't create alsa-monitor: %d", res);

View File

@ -178,7 +178,7 @@ pinos_spa_audiotestsrc_new (PinosDaemon *daemon,
SpaResult res;
if ((res = make_node (&n,
"spa/build/plugins/audiotestsrc/libspa-audiotestsrc.so",
"build/spa/plugins/audiotestsrc/libspa-audiotestsrc.so",
"audiotestsrc")) < 0) {
g_error ("can't create audiotestsrc: %d", res);
return NULL;

View File

@ -366,7 +366,7 @@ pinos_spa_v4l2_monitor_new (PinosDaemon *daemon)
void *iface;
if ((res = make_handle (&handle,
"spa/build/plugins/v4l2/libspa-v4l2.so",
"build/spa/plugins/v4l2/libspa-v4l2.so",
"v4l2-monitor",
NULL)) < 0) {
g_error ("can't create v4l2-monitor: %d", res);

View File

@ -149,7 +149,7 @@ pinos_spa_videotestsrc_new (PinosDaemon *daemon,
SpaResult res;
if ((res = make_node (&n,
"spa/build/plugins/videotestsrc/libspa-videotestsrc.so",
"build/spa/plugins/videotestsrc/libspa-videotestsrc.so",
"videotestsrc")) < 0) {
g_error ("can't create videotestsrc: %d", res);
return NULL;

View File

@ -284,7 +284,7 @@ pinos_client_node_new (PinosDaemon *daemon,
g_return_val_if_fail (PINOS_IS_DAEMON (daemon), NULL);
if ((res = make_node (&n,
"spa/build/plugins/remote/libspa-remote.so",
"build/spa/plugins/remote/libspa-remote.so",
"proxy")) < 0) {
g_error ("can't create proxy: %d", res);
return NULL;