Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Feb 8, 2024
1 parent 22a4994 commit f6e242a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@ shared/analyzer/Makefile
shared/scope/Makefile
shared/scriptable/Makefile
shared/undo/Makefile
shared/filereader/Makefile
external/Makefile
external/ddb_dsp_libretro/Makefile
external/ddb_output_pw/Makefile
Expand Down
3 changes: 3 additions & 0 deletions plugins/cocoaui/Playlist/DdbPlayItemPasteboardSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#import <Foundation/Foundation.h>
#include <deadbeef/deadbeef.h>

/// Serialize/deserialize an array of playItems as playlist.
/// The resulting items would not be the same memory locations after serialization,
/// since they go through playlist saving and loading procedure.
@interface DdbPlayItemPasteboardSerializer : NSObject<NSPasteboardReading, NSPasteboardWriting, NSSecureCoding>

@property (nonnull,nonatomic,readonly) ddb_playlist_t *plt;
Expand Down
1 change: 1 addition & 0 deletions plugins/cocoaui/Playlist/DdbPlayItemPasteboardSerializer.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ - (void)dealloc
deadbeef->plt_unref (self.plt);
}
}

// NSCoding

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
Expand Down
1 change: 1 addition & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ project "deadbeef"
"src/md5/*.c",
"src/undo/*.c",
"shared/undo/*.c",
"shared/filereader/*.c",
"src/*.c",
"plugins/libparser/*.c",
"external/wcwidth/wcwidth.c",
Expand Down
2 changes: 1 addition & 1 deletion shared/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = analyzer scope scriptable undo
SUBDIRS = analyzer scope scriptable undo filereader

noinst_LTLIBRARIES = libmp4tagutil.la libtrkpropertiesutil.la libeqpreset.la libctmap.la libdeletefromdisk.la libtftintutil.la

Expand Down
7 changes: 7 additions & 0 deletions shared/filereader/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
noinst_LTLIBRARIES = libfilereader.la

libfilereader_la_SOURCES = \
filereader.c filereader.h

libfilereader_la_CFLAGS = -fPIC -std=c99 -I@top_srcdir@/include $(DISPATCH_CFLAGS)

2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ deadbeef_SOURCES =\
viz.c viz.h\
undo/undo_playlist.c undo/undo_playlist.h

deadbeef_LDADD = $(LDADD) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread $(DISPATCH_LIBS) $(LTLIBINTL) ../shared/libctmap.la ../shared/undo/libundo.la ../plugins/libparser/libparser.la
deadbeef_LDADD = $(LDADD) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread $(DISPATCH_LIBS) $(LTLIBINTL) ../shared/libctmap.la ../shared/undo/libundo.la ../shared/filereader/libfilereader.la ../plugins/libparser/libparser.la

deadbeef_CFLAGS = $(DEPS_CFLAGS) $(DISPATCH_CFLAGS) -std=c99 -DLOCALEDIR=\"@localedir@\" -I@top_srcdir@/include -I@top_srcdir@/shared -I@top_srcdir@

Expand Down

0 comments on commit f6e242a

Please sign in to comment.