~ubuntu-branches/ubuntu/quantal/mlt++/quantal

« back to all changes in this revision

Viewing changes to swig/java/build

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-11-14 17:35:13 UTC
  • mfrom: (0.1.3 squeeze) (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081114173513-mjqzrkgssrm0t2f8
Tags: 0.3.2-1
* New upstream release.
* Refresh patches:
  - 01_remove_ldconfig
  - 02_custom_ldflags
* Remove 03_disable_test patch. deprecated.
* Add 04_add_valerie_ldflags patch to add mlt-valerie to LDFLAGS.
* Update debian/control:
  - Add versionned build dependency to libmlt-dev.
  - Add pkg-config build dependency.
  - Bump Standards-Version to 3.8.0. No changes needed.
  - Bump libmlt++ soname. libmlt++1 conflicts/replaces libmlt++0.2.
* Update debian/copyright: add Dan Dennedy copyrights.
* Update debian/rules: remove lintian override installation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env sh
 
1
#!/bin/sh
2
2
 
3
3
path=`which java 2> /dev/null`
4
4
 
15
15
 
16
16
        # Invoke swig
17
17
        mkdir -p src_swig/net/sourceforge/mltpp
18
 
        swig -c++ -I/usr/local/include/mlt++ `mlt-config --cflags` -java -outdir src_swig/net/sourceforge/mltpp -package net.sourceforge.mltpp mltpp.i || exit $?
 
18
        swig -c++ -I../../src `mlt-config --cflags` -java -outdir src_swig/net/sourceforge/mltpp -package net.sourceforge.mltpp mltpp.i || exit $?
19
19
 
20
20
        # Compile the wrapper
21
 
        g++ -D_GNU_SOURCE -c -rdynamic -pthread -I/usr/local/include/mlt++ `mlt-config --cflags` mltpp_wrap.cxx $JAVA_INCLUDE || exit $?
 
21
        g++ -D_GNU_SOURCE -c -rdynamic -pthread -I../../src `mlt-config --cflags` mltpp_wrap.cxx $JAVA_INCLUDE || exit $?
22
22
        
23
23
        # Create the module
24
 
        ld -shared mltpp_wrap.o -lmlt++ -o libmltpp_java.so || exit $?
 
24
        ld -shared mltpp_wrap.o -L../../src -lmlt++ -o libmltpp_java.so || exit $?
25
25
 
26
26
        # Compile the test
27
27
        javac `find src_swig -name '*.java'` || exit $?