diff options
author | jstebbins <[email protected]> | 2010-06-17 22:59:19 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-06-17 22:59:19 +0000 |
commit | 66e0b095b658b047bb155ec9cdcb0a3d1b4fa466 (patch) | |
tree | 6e98da80c6ffd30832b89cd3ef55bba4c64ead7e /gtk/module.defs | |
parent | 39628d490ff1c87c8ec45f24bb128a52e7fd2fbd (diff) |
LinGui: revert part of the resource management changes of r3382
Since fedora's pygtk is broken, I can't parse gdk_pixbuf's with python.
So revert to doing this in C code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3386 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/module.defs')
-rw-r--r-- | gtk/module.defs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gtk/module.defs b/gtk/module.defs index cc20a18ef..55f5d9acc 100644 --- a/gtk/module.defs +++ b/gtk/module.defs @@ -25,3 +25,33 @@ ifeq (0,$(FEATURE.gtk.update.checks)) GTK.CONFIGURE.extra += --disable-update-checks endif +############################################################################### +############################################################################### +$(eval $(call import.MODULE.defs,HGTK,hgtk)) +$(eval $(call import.GCC,HGTK)) + +HGTK.GCC.gcc = gcc +HGTK.GCC.args.extra = $(shell pkg-config --cflags glib-2.0) +HGTK.GCC.args.extra += $(shell pkg-config --cflags gdk-pixbuf-2.0) +HGTK.GCC.args.extra += $(shell pkg-config --libs glib-2.0) +HGTK.GCC.args.extra += $(shell pkg-config --libs gdk-pixbuf-2.0) + +HGTK.src/ = $(SRC/)gtk/src/ +HGTK.build/ = $(BUILD/)gtk/src/ + +HGTKCOMMON.c = \ + $(HGTK.src/)plist.c \ + $(HGTK.src/)values.c + +CREATE_RES.c = \ + $(HGTK.src/)create_resources.c + +CREATE_RES.c.o = $(patsubst $(SRC/)%.c,$(BUILD/)%-native.o,$(CREATE_RES.c)) +CREATE_RES.c.o += $(patsubst $(SRC/)%.c,$(BUILD/)%-native.o,$(HGTKCOMMON.c)) +CREATE_RES.exe = $(HGTK.build/)create_resources + +HGTK.out += $(HGTKCOMMON.c.o) +HGTK.out += $(CREATE_RES.exe) +HGTK.out += $(CREATE_RES.c.o) + +BUILD.out += $(HGTK.out) |