summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 18:42:43 +0900
committerMichele Calgaro <[email protected]>2023-11-14 20:57:09 +0900
commit802b45c5566c3916e46250060ecef332f055fc26 (patch)
tree1bd49a5d76709e620040d6474dff725d1f8fbbc2 /src/plugins
parent300613eef3cbb63f040fcbced2e03570791d16f3 (diff)
downloadsoundkonverter-802b45c5566c3916e46250060ecef332f055fc26.tar.gz
soundkonverter-802b45c5566c3916e46250060ecef332f055fc26.zip
cmake conversion
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/CMakeLists.txt3
-rw-r--r--src/plugins/format_infos/CMakeLists.txt9
-rw-r--r--src/plugins/mime_types/CMakeLists.txt18
-rw-r--r--src/plugins/plugins/CMakeLists.txt17
4 files changed, 47 insertions, 0 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
new file mode 100644
index 0000000..db40213
--- /dev/null
+++ b/src/plugins/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_subdirectory( format_infos )
+add_subdirectory( mime_types )
+add_subdirectory( plugins )
diff --git a/src/plugins/format_infos/CMakeLists.txt b/src/plugins/format_infos/CMakeLists.txt
new file mode 100644
index 0000000..ca01ad1
--- /dev/null
+++ b/src/plugins/format_infos/CMakeLists.txt
@@ -0,0 +1,9 @@
+install(
+ FILES
+ 3gp.xml aac.xml ac3.xml aiff.xml amr.xml ape.xml au.xml
+ avi.xml bonk.xml flac.xml la.xml m4a.xml mid.xml mod.xml mp2.xml mp3.xml
+ mpc.xml ofc.xml ofr.xml ofs.xml ogg.xml pac.xml qt.xml ra.xml shn.xml spx.xml
+ tta.xml wma.xml wv.xml wvc.xml
+ DESTINATION
+ ${DATA_INSTALL_DIR}/soundkonverter/format_infos
+)
diff --git a/src/plugins/mime_types/CMakeLists.txt b/src/plugins/mime_types/CMakeLists.txt
new file mode 100644
index 0000000..a28432f
--- /dev/null
+++ b/src/plugins/mime_types/CMakeLists.txt
@@ -0,0 +1,18 @@
+tde_create_translated_desktop(
+ SOURCE
+ amr.soundkonverter.desktop x-ape.soundkonverter.desktop x-bonk.soundkonverter.desktop x-pac.soundkonverter.desktop
+ x-tta.soundkonverter.desktop x-wavpack-correction.soundkonverter.desktop x-wavpack.soundkonverter.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/audio
+)
+
+tde_create_translated_desktop(
+ SOURCE
+ x-la.soundkonverter.desktop x-ofc.soundkonverter.desktop x-ofr.soundkonverter.desktop
+ x-ofs.soundkonverter.desktop x-shorten.soundkonverter.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
+
+tde_create_translated_desktop(
+ SOURCE x-flv.soundkonverter.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/video
+)
diff --git a/src/plugins/plugins/CMakeLists.txt b/src/plugins/plugins/CMakeLists.txt
new file mode 100644
index 0000000..51a150a
--- /dev/null
+++ b/src/plugins/plugins/CMakeLists.txt
@@ -0,0 +1,17 @@
+install(
+ FILES
+ 110.oggvorbis.soundkonverter.xml 120.lame.soundkonverter.xml
+ 122.twolame.soundkonverter.xml 123.toolame.soundkonverter.xml 125.gogo.soundkonverter.xml
+ 127.faac.soundkonverter.xml 130.musepack.soundkonverter.xml 132.aften.soundkonverter.xml
+ 135.flac.soundkonverter.xml 136.flake.soundkonverter.xml 137.mac.soundkonverter.xml
+ 140.mplayer.soundkonverter.xml 145.ffmpeg.soundkonverter.xml 146.ffmpeg-lossless.soundkonverter.xml
+ 150.shorten.soundkonverter.xml 151.tta.soundkonverter.xml 153.bonk.soundkonverter.xml
+ 155.optimfrog.soundkonverter.xml 156.optimfrog-dualstream.soundkonverter.xml
+ 158.wavpack.soundkonverter.xml 160.lac.soundkonverter.xml 165.lpac.soundkonverter.xml
+ 170.speex.soundkonverter.xml 180.timidity.soundkonverter.xml 190.sox.soundkonverter.xml
+ 210.vorbisgain.soundkonverter.xml 220.mp3gain.soundkonverter.xml 225.aacgain.soundkonverter.xml
+ 230.replaygain.soundkonverter.xml 240.metaflac.soundkonverter.xml 250.wvgain.soundkonverter.xml
+ 310.cdda2wav.soundkonverter.xml 320.cdparanoia.soundkonverter.xml
+ DESTINATION
+ ${DATA_INSTALL_DIR}/soundkonverter/plugins
+)