/+junk/SAPG

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/SAPG

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Gustav Hartvigsson
  • Date: 2015-11-11 17:47:22 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20151111174722-wm7jjqzp5fcgdl40
* Added AppState object to track the state of (the) play(er).
* Added in dep on gstreamer-1.0.
    We have to use the .vapi version, cus' of conflicting names of functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
GTK_LIBS=`pkg-config --libs gtk+-3.0`
10
10
GTK_FlAGS=`pkg-config --cflags gtk+-3.0`
11
11
 
 
12
GST_LIBS=`pkg-config --libs gstreamer-1.0`
 
13
GST_FLAGS=`pkg-config --cflags gstreamer-1.0`
 
14
 
12
15
###################
13
16
# Build resources #
14
17
###################
29
32
 
30
33
# Build the main program.
31
34
$VALAC --target-glib=2.38 \
 
35
       --pkg=gstreamer-1.0 \
32
36
       --pkg=Gio-2.0 \
33
37
       --pkg=gtk+-3.0 \
34
38
       --gresources=sapg.gresource.xml\
40
44
mv main.vala.o bin/main.o
41
45
 
42
46
# Link everything.
43
 
$CC  bin/main.o bin/sapg-res.o $GTK_LIBS $GLIB_LIB -o bin/SAPG
 
47
$CC  bin/main.o bin/sapg-res.o $GTK_LIBS $GLIB_LIB $GST_LIBS -o bin/SAPG
44
48
 
45
49
# clean up.
46
50
rm bin/main.o bin/sapg-res.o