]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blob - patches/patch-bluedottheme-data-Makefile_am
shmmax patch
[pkgsrc-cinelerra-cv.git] / patches / patch-bluedottheme-data-Makefile_am
1 $NetBSD$
2
3 --- plugins/bluedottheme/data/Makefile.am.orig  2010-02-01 08:26:23.000000000 +0000
4 +++ plugins/bluedottheme/data/Makefile.am
5 @@ -1,6 +1,5 @@
6 -noinst_LIBRARIES = libimagedata.a
7 -libimagedata_a_SOURCES =
8 -nodist_libimagedata_a_SOURCES = bluedottheme.data
9 +noinst_LTLIBRARIES = libimagedata.la
10 +nodist_libimagedata_la_SOURCES = imagedata.c
11  
12  PNGS = \
13  about_bg.png \
14 @@ -372,10 +371,11 @@ ymeter_yellow.png \
15  zoombar_left.png \
16  zoombar_right.png
17  
18 -
19 -# this rule creates the .o file from the concatenated PNGs
20 -.data.$(OBJEXT):
21 -       $(OBJCOPY) -I binary -B $(OBJCOPYARCH) -O $(OBJCOPYTARGET) $< $@
22 +# this rule creates the .c file from the concatenated PNGs
23 +imagedata.c: bluedottheme.data
24 +       echo "unsigned char _binary_bluedottheme_data_start[] = {" > $@
25 +       cat $< | xxd -i >> $@
26 +       echo "};" >> $@
27  
28  bluedottheme.data: $(PNGS)
29         $(top_builddir)/guicast/bootstrap $@ $^ || { rm -f $@; exit 1; }