summaryrefslogtreecommitdiffstats
path: root/plugins/decoder/mp3
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/decoder/mp3')
-rw-r--r--plugins/decoder/mp3/CMakeLists.txt3
-rw-r--r--plugins/decoder/mp3/Makefile.am13
-rw-r--r--plugins/decoder/mp3/configure.in.bot11
-rw-r--r--plugins/decoder/mp3/configure.in.in24
-rw-r--r--plugins/decoder/mp3/k3bmaddecoder.plugin6
5 files changed, 5 insertions, 52 deletions
diff --git a/plugins/decoder/mp3/CMakeLists.txt b/plugins/decoder/mp3/CMakeLists.txt
index 2c31bae..4b180f5 100644
--- a/plugins/decoder/mp3/CMakeLists.txt
+++ b/plugins/decoder/mp3/CMakeLists.txt
@@ -38,6 +38,7 @@ tde_add_kpart( libk3bmaddecoder AUTOMOC
##### other data ################################
-install( FILES k3bmaddecoder.plugin
+tde_create_translated_desktop(
+ SOURCE k3bmaddecoder.plugin
DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins
)
diff --git a/plugins/decoder/mp3/Makefile.am b/plugins/decoder/mp3/Makefile.am
deleted file mode 100644
index a2befe9..0000000
--- a/plugins/decoder/mp3/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-AM_CPPFLAGS = -I$(srcdir)/../../../libk3b/core -I$(srcdir)/../../../libk3b/plugin -I$(srcdir)/../../../libk3bdevice $(taglib_includes) $(all_includes)
-
-kde_module_LTLIBRARIES = libk3bmaddecoder.la
-
-libk3bmaddecoder_la_SOURCES = k3bmad.cpp k3bmaddecoder.cpp
-
-libk3bmaddecoder_la_LIBADD = $(LIB_TDECORE) $(MAD_LIB) $(taglib_libs) ../../../libk3b/libk3b.la
-libk3bmaddecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
-
-pluginsdir = $(kde_datadir)/k3b/plugins
-plugins_DATA = k3bmaddecoder.plugin
-
-METASOURCES = AUTO
diff --git a/plugins/decoder/mp3/configure.in.bot b/plugins/decoder/mp3/configure.in.bot
deleted file mode 100644
index 0ee4872..0000000
--- a/plugins/decoder/mp3/configure.in.bot
+++ /dev/null
@@ -1,11 +0,0 @@
-echo ""
-
-if test -n "$MAD_LIB"; then
- echo "K3b - Mp3 decoding support (libmad): yes"
-else
- echo "K3b - Mp3 decoding support (libmad): no"
-if test "$ac_cv_use_libmad" = "yes"; then
- echo "K3b - You are missing the libmad headers and libraries."
- echo "K3b - The Mp3 decoding plugin won't be compiled."
-fi
-fi
diff --git a/plugins/decoder/mp3/configure.in.in b/plugins/decoder/mp3/configure.in.in
deleted file mode 100644
index 9da5da7..0000000
--- a/plugins/decoder/mp3/configure.in.in
+++ /dev/null
@@ -1,24 +0,0 @@
-dnl === libmad MPEG decoder check - begin ===
-AC_ARG_WITH(
- libmad,
- AS_HELP_STRING([--without-libmad], [build K3b without libmad support (default=no)]),
- [ac_cv_use_libmad=$withval],
- [ac_cv_use_libmad=yes]
-)
-
-if test "$ac_cv_use_libmad" = "yes"; then
- MAD_LIB=""
- KDE_CHECK_HEADER(mad.h, [
- KDE_CHECK_LIB(mad, mad_synth_frame, [
- MAD_LIB="-lmad"
- AC_DEFINE(HAVE_LIBMAD,1,[defined if you have libmad headers and libraries])],
- [],
- $all_libraries
- )
- ])
- AC_SUBST(MAD_LIB)
-
-fi
-
-AM_CONDITIONAL(include_MP3, [test -n "$MAD_LIB"])
-dnl === libmad MPeg decoder check - end ===
diff --git a/plugins/decoder/mp3/k3bmaddecoder.plugin b/plugins/decoder/mp3/k3bmaddecoder.plugin
index 69fbbb8..2acb7ba 100644
--- a/plugins/decoder/mp3/k3bmaddecoder.plugin
+++ b/plugins/decoder/mp3/k3bmaddecoder.plugin
@@ -1,9 +1,9 @@
[K3b Plugin]
-Lib=libk3bmaddecoder
-Group=AudioDecoder
Name=K3b MAD Decoder
+Comment=Decoding module to decode MPEG 1 Layer III files
Author=Sebastian Trueg
Email=trueg@k3b.org
Version=3.1
-Comment=Decoding module to decode MPEG 1 Layer III files
License=GPL
+Group=AudioDecoder
+Lib=libk3bmaddecoder