mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Install gstclapper libs to app named subdirectory
This commit is contained in:
@@ -70,6 +70,7 @@ gstclapper = library('gstclapper-' + api_version,
|
|||||||
include_directories : [configinc, libsinc],
|
include_directories : [configinc, libsinc],
|
||||||
version : libversion,
|
version : libversion,
|
||||||
install : true,
|
install : true,
|
||||||
|
install_dir : clapper_libdir,
|
||||||
dependencies : [gtk4_dep, gstbase_dep, gstvideo_dep, gstaudio_dep,
|
dependencies : [gtk4_dep, gstbase_dep, gstvideo_dep, gstaudio_dep,
|
||||||
gsttag_dep, gstpbutils_dep, libm] + gtk_deps,
|
gsttag_dep, gstpbutils_dep, libm] + gtk_deps,
|
||||||
)
|
)
|
||||||
@@ -84,6 +85,7 @@ clapper_gir = gnome.generate_gir(gstclapper,
|
|||||||
includes : ['Gst-1.0', 'GstPbutils-1.0', 'GstBase-1.0', 'GstVideo-1.0',
|
includes : ['Gst-1.0', 'GstPbutils-1.0', 'GstBase-1.0', 'GstVideo-1.0',
|
||||||
'GstAudio-1.0', 'GstTag-1.0'],
|
'GstAudio-1.0', 'GstTag-1.0'],
|
||||||
install : true,
|
install : true,
|
||||||
|
install_dir_typelib : join_paths(clapper_libdir, 'girepository-1.0'),
|
||||||
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
|
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
|
||||||
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
|
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
|
||||||
gsttag_dep, gstpbutils_dep]
|
gsttag_dep, gstpbutils_dep]
|
||||||
|
7
lib/meson.build
vendored
7
lib/meson.build
vendored
@@ -7,7 +7,10 @@ libversion = meson.project_version()
|
|||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
cxx = meson.get_compiler('cpp')
|
cxx = meson.get_compiler('cpp')
|
||||||
|
|
||||||
plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
|
clapper_libdir = join_paths(
|
||||||
|
get_option('prefix'), get_option('libdir'), meson.project_name()
|
||||||
|
)
|
||||||
|
|
||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
|
|
||||||
if cc.get_id() == 'msvc'
|
if cc.get_id() == 'msvc'
|
||||||
@@ -139,7 +142,7 @@ cdata.set_quoted('PACKAGE_BUGREPORT', 'https://github.com/Rafostar/clapper/issue
|
|||||||
cdata.set_quoted('PACKAGE_NAME', 'GStreamer Clapper Libs')
|
cdata.set_quoted('PACKAGE_NAME', 'GStreamer Clapper Libs')
|
||||||
cdata.set_quoted('GST_API_VERSION', api_version)
|
cdata.set_quoted('GST_API_VERSION', api_version)
|
||||||
cdata.set_quoted('GST_LICENSE', 'LGPL')
|
cdata.set_quoted('GST_LICENSE', 'LGPL')
|
||||||
cdata.set_quoted('LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
|
cdata.set_quoted('LIBDIR', clapper_libdir)
|
||||||
cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||||
|
|
||||||
warning_flags = [
|
warning_flags = [
|
||||||
|
@@ -15,9 +15,6 @@ if not python_bin.found()
|
|||||||
error('No valid python3 binary found')
|
error('No valid python3 binary found')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
conf = configuration_data()
|
|
||||||
conf.set('bindir', join_paths(get_option('prefix'), 'bin'))
|
|
||||||
|
|
||||||
if get_option('clapper-lib')
|
if get_option('clapper-lib')
|
||||||
subdir('lib')
|
subdir('lib')
|
||||||
endif
|
endif
|
||||||
|
@@ -123,10 +123,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/metainfo/*.metainfo.xml
|
%{_datadir}/metainfo/*.metainfo.xml
|
||||||
%{_datadir}/gir-1.0/GstClapper-1.0.gir
|
%{_datadir}/gir-1.0/GstClapper-1.0.gir
|
||||||
%{_libdir}/libgstclapper-1.0.so*
|
%{_libdir}/%{appname}/
|
||||||
%{_libdir}/girepository-1.0/GstClapper-1.0.typelib
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 7 2021 Rafostar <rafostar.github@gmail.com> - 0.0.0-10
|
||||||
|
- Install gstclapper libs to app named subdirectory
|
||||||
|
|
||||||
* Fri Feb 5 2021 Rafostar <rafostar.github@gmail.com> - 0.0.0-9
|
* Fri Feb 5 2021 Rafostar <rafostar.github@gmail.com> - 0.0.0-9
|
||||||
- Update build with gstclapper libs support
|
- Update build with gstclapper libs support
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user