[gimp/wip/animation: 47/197] plug-ins: movie animation-play in its own directory.



commit 1dc3171d58d4394f4c2417fbeee1c4aa8573718b
Author: Jehan <jehan girinstud io>
Date:   Sat Apr 4 19:25:52 2015 +0200

    plug-ins: movie animation-play in its own directory.
    
    This will allow to complexify its features without headaches on huge
    files.

 configure.ac                                       |    1 +
 plug-ins/Makefile.am                               |    1 +
 plug-ins/animation-play/Makefile.am                |   44 ++++++++++++++++++++
 .../{common => animation-play}/animation-play.c    |    0
 plug-ins/common/Makefile.am                        |   19 --------
 plug-ins/common/plugin-defs.pl                     |    1 -
 6 files changed, 46 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 33665f0..62fe507 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2536,6 +2536,7 @@ build/windows/Makefile
 build/windows/gimp.rc
 build/windows/gimp-plug-ins.rc
 plug-ins/Makefile
+plug-ins/animation-play/Makefile
 plug-ins/file-bmp/Makefile
 plug-ins/file-exr/Makefile
 plug-ins/file-faxg3/Makefile
diff --git a/plug-ins/Makefile.am b/plug-ins/Makefile.am
index 8b45df8..33d7550 100644
--- a/plug-ins/Makefile.am
+++ b/plug-ins/Makefile.am
@@ -31,6 +31,7 @@ endif
 SUBDIRS = \
        $(script_fu)            \
        $(pygimp)               \
+       animation-play          \
        file-bmp                \
        $(file_darktable)       \
        $(file_exr)             \
diff --git a/plug-ins/animation-play/Makefile.am b/plug-ins/animation-play/Makefile.am
new file mode 100644
index 0000000..1c9fb62
--- /dev/null
+++ b/plug-ins/animation-play/Makefile.am
@@ -0,0 +1,44 @@
+if OS_WIN32
+mwindows = -mwindows
+else
+libm = -lm
+endif
+
+libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
+libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
+libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
+libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
+libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm)
+libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
+libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
+libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
+
+AM_LDFLAGS = $(mwindows)
+
+libexecdir = $(gimpplugindir)/plug-ins
+
+libexec_PROGRAMS = animation-play
+
+AM_CPPFLAGS = \
+       -I$(top_srcdir)         \
+       $(GTK_CFLAGS)   \
+       $(GEGL_CFLAGS) \
+       -I$(includedir)
+
+LDADD = \
+       $(libgimpui)            \
+       $(libgimpwidgets)       \
+       $(libgimpmodule)        \
+       $(libgimp)              \
+       $(libgimpmath)          \
+       $(libgimpconfig)        \
+       $(libgimpcolor)         \
+       $(libgimpbase)          \
+       $(GTK_LIBS)             \
+       $(GEGL_LIBS)            \
+       $(RT_LIBS)              \
+       $(INTLLIBS)             \
+       $(animation_play_RC)
+
+animation_play_SOURCES = \
+       animation-play.c
diff --git a/plug-ins/common/animation-play.c b/plug-ins/animation-play/animation-play.c
similarity index 100%
rename from plug-ins/common/animation-play.c
rename to plug-ins/animation-play/animation-play.c
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index d2df391..5a09f85 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -51,7 +51,6 @@ AM_CPPFLAGS = \
 libexec_PROGRAMS = \
        align-layers \
        animation-optimize \
-       animation-play \
        blinds \
        blur \
        border-average \
@@ -200,24 +199,6 @@ animation_optimize_LDADD = \
        $(INTLLIBS)             \
        $(animation_optimize_RC)
 
-animation_play_SOURCES = \
-       animation-play.c
-
-animation_play_LDADD = \
-       $(libgimpui)            \
-       $(libgimpwidgets)       \
-       $(libgimpmodule)        \
-       $(libgimp)              \
-       $(libgimpmath)          \
-       $(libgimpconfig)        \
-       $(libgimpcolor)         \
-       $(libgimpbase)          \
-       $(GTK_LIBS)             \
-       $(GEGL_LIBS)            \
-       $(RT_LIBS)              \
-       $(INTLLIBS)             \
-       $(animation_play_RC)
-
 blinds_SOURCES = \
        blinds.c
 
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index ea7481b..edad8ae 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -1,7 +1,6 @@
 %plugins = (
     'align-layers' => { ui => 1 },
     'animation-optimize' => {},
-    'animation-play' => { ui => 1, gegl => 1 },
     'blinds' => { ui => 1 },
     'blur' => {},
     'border-average' => { ui => 1, gegl => 1 },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]