deadbeef-alarm: clean up Makefile

This commit is contained in:
John McQuah 2022-12-24 15:40:44 -05:00
parent caea2f01e8
commit d3b10bc5fd
4 changed files with 13 additions and 15 deletions

6
REPO
View File

@ -289,11 +289,11 @@ f:7ffe2e6548a2f179bb67a416a608fe8c:glew-egl/.signature
f:de61ad54aab1871b60eb71eee9af20fe:glew-egl/Pkgfile
f:619484da13a6ce42e60ece709891e548:glew-egl/glew-2.0.0-install-headers.patch
f:d77ab201db9f9d7022bbf20f4bb2440b:glew-egl/.footprint
f:a6f358e55c15880cc139b0b2a646ef3b:deadbeef-alarm/.signature
f:ef2ca2fff21e400dd83f8768a485b144:deadbeef-alarm/.signature
f:cc0fb01dffe503647857a6d1d511cb2c:deadbeef-alarm/Pkgfile
f:692f2435b0ffafa4d3014a1d56d8fdc7:deadbeef-alarm/Makefile
f:da1b0992bc1c506820f8b4618c53230a:deadbeef-alarm/Makefile
f:a33f8fd6cd3eac9152dcde6f1cb6fb87:deadbeef-alarm/.footprint
f:33b8905efc2f40a3914a6375acf82580:deadbeef-alarm/alarm.cc
f:030b2f108ab7ae25d0b4d53f531d5f84:deadbeef-alarm/alarm.cc
f:67cd7486323e555290985505f26e3368:oksh/.signature
f:1d3c472bfac073ee9103b7d7cbadaae9:oksh/Pkgfile
f:d75610ef197b7420248d913c319b1d5c:oksh/post-install

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxHbAJfXfoA9xFA6phPRDYpmy5HYOdBC4HAOw20/5o5woY+MS/Y7RIHpaIJcivjYLSPBeRv2T04PsgmK8YeB2ogw=
RWTTPlFarK9CxHTD1WHSDXk9Vu/mOSN1v33f85Fzg0p5YtF4dwdLxQUxwedaLL6ThN0+Vb/4Od2+UnHey9x4SDEgoud8L3j6pQs=
SHA256 (Pkgfile) = c6a63405841ecea18b783c342b406af496f53eaa7e062def2ed98bdef40d35cf
SHA256 (.footprint) = e381b96011b0b5d436dc16328dc442cd0cc58d2ad5a1a065c99cb8106f21b473
SHA256 (alarm.cc) = 170afa72f097dfd601d6e3f96004e1cf7d58cd2e1ff0a336dbb3553970cfff14
SHA256 (Makefile) = 4e349a81457b623f8a26eda596fdffda6167b1d764d75a0fb83b02cdb7d95032
SHA256 (alarm.cc) = 01ae9ff8d01cbe68de40d9b8bb640b01deb211d7c0a121a77438139aa1bf38f7
SHA256 (Makefile) = 80620eb30647a4ca88e0562be6d51d59eceff85d18eb1e62ffd725ddfef1dfdf

View File

@ -1,7 +1,7 @@
DESTDIR=
PREFIX=/usr
libpkgdir=$(PREFIX)/lib/deadbeef
GLIB_CXX_FLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
GLIB_CXX_FLAGS=-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GLIB_LD_FLAGS=-lglib-2.0
all: alarm.so

View File

@ -109,17 +109,15 @@ trace("adding playlist %s\n", pname);
ddb_playlist_t *pl = deadbeef->plt_get_curr();
DB_playItem_t *after = deadbeef->pl_get_last (PL_MAIN);
if (pname) {
int ab=0;
DB_playItem_t *it;
it = deadbeef->plt_load2 (0, pl, after, pname, &ab, NULL, NULL);
if (!it) {
int ab=0;
DB_playItem_t *it;
it = deadbeef->plt_load2 (0, pl, after, pname, &ab, NULL, NULL);
if (!it) {
trace("failed to load playlist %s\n", pname);
}
else {
}
else {
/* successfully loaded playlist, so delete previous contents */
deadbeef->pl_delete_selected();
}
}
if (after) {