Skip to content

Commit

Permalink
More taglib 2 build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobvosmaer committed Apr 11, 2024
1 parent ee55a43 commit 2e0a425
Show file tree
Hide file tree
Showing 24 changed files with 4,447 additions and 3,286 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
MAKEFLAGS: -j2
PLATFORM: x86_64-linux
TAGLIB_VERSION: 1.11.1
TAGLIB_VERSION: 2.0.1
SWIG_DIR: .swig-v4.1.1

steps:
Expand Down
6 changes: 4 additions & 2 deletions ext/taglib_aiff/taglib_aiff.i
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include <taglib/aifffile.h>
#include <taglib/aiffproperties.h>
#include <taglib/id3v2tag.h>
#include <taglib/tpicturetype.h>
using namespace TagLib;
%}

%include "../taglib_base/includes.i"
Expand All @@ -16,12 +14,16 @@ using namespace TagLib;
%ignore TagLib::RIFF::AIFF::Properties::length;
%ignore TagLib::RIFF::AIFF::Properties::sampleWidth;

%ignore TagLib::RIFF::File;
%include <taglib/rifffile.h>

%include <taglib/aiffproperties.h>

%freefunc TagLib::RIFF::AIFF::File "free_taglib_riff_aiff_file";

// Ignore IOStream and all the constructors using it.
%ignore IOStream;
%ignore TagLib::RIFF::AIFF::File::File(IOStream *, bool, Properties::ReadStyle, ID3v2::FrameFactory *);
%ignore TagLib::RIFF::AIFF::File::File(IOStream *, bool, Properties::ReadStyle);
%ignore TagLib::RIFF::AIFF::File::File(IOStream *, bool);
%ignore TagLib::RIFF::AIFF::File::File(IOStream *);
Expand Down
Loading

0 comments on commit 2e0a425

Please sign in to comment.