Browse Source

move header to audec/audec.h

remove_deprecated_ffmpeg_api
Alexandros Theodotou 3 years ago
parent
commit
34a025e705
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      inc/ad_plugin.h
  2. 0
      inc/audec/audec.h
  3. 18
      inc/meson.build
  4. 3
      meson.build
  5. 2
      tests/test.c

2
inc/ad_plugin.h

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
#ifndef __AD_PLUGIN_H__
#define __AD_PLUGIN_H__
#include <stdint.h>
#include "audec.h"
#include "audec/audec.h"
/** Prints a debug message. */
#define dbg(_level, _fmt, ...) \

0
inc/audec.h → inc/audec/audec.h

18
inc/meson.build

@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
# Copyright (C) 2019 Alexandros Theodotou <alex at zrythm dot org>
#
# This file is part of libaudec
#
# libaudec is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# libaudec is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with libaudec. If not, see <https://www.gnu.org/licenses/>.
install_headers('audec.h', subdir : 'audec')

3
meson.build

@ -28,7 +28,6 @@ project ( @@ -28,7 +28,6 @@ project (
)
srcs = []
subdir('inc')
subdir('src')
cc = meson.get_compiler ('c')
@ -170,6 +169,8 @@ audec = static_library ( @@ -170,6 +169,8 @@ audec = static_library (
install: true,
)
# this is so that it can be used as a meson
# subproject
libaudec_dep = declare_dependency (
include_directories: inc,
link_with: audec)

2
tests/test.c

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
#include "helper.h"
#include "audec.h"
#include <audec/audec.h>
int main (
int argc, const char* argv[])

Loading…
Cancel
Save