diff --git a/config.nims b/config.nims new file mode 100644 index 0000000..09e0643 --- /dev/null +++ b/config.nims @@ -0,0 +1,2 @@ +let curr = getCurrentDir() +switch("passC", "-I" & curr & "/../cinclude") diff --git a/ffmpeg.nimble b/ffmpeg.nimble new file mode 100644 index 0000000..fb59820 --- /dev/null +++ b/ffmpeg.nimble @@ -0,0 +1,12 @@ +# Package + +version = "0.1.0" +author = "Rahmatullah" +description = "Ffmpeg C APIs binding" +license = "MIT" +srcDir = "src" +installDirs = "cinclude" + +# Dependencies + +requires "nim >= 1.0.2" diff --git a/src/ffmpeg.nim b/src/ffmpeg.nim index b26ff96..4dee84f 100644 --- a/src/ffmpeg.nim +++ b/src/ffmpeg.nim @@ -1,5 +1,3 @@ -{.passC: "-I../cinclude".} - import ffmpeg/utiltypes import ffmpeg/libavcodec/[avcodec, ac3_parser, adts_parser, avdct,