~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to gnash_0.8.1.bb

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PR = "r0"
 
2
DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 features"
 
3
 
 
4
LICENSE = "GPL-3"
 
5
HOMEPAGE = "http://www.gnu.org/software/gnash"
 
6
 
 
7
DEPENDS = "gtk+ cairo libxml2 libmad libsdl-mixer zlib boost jpeg pango curl agg"
 
8
 
 
9
#SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
 
10
#SRC_URI = "cvs://anonymous@puppy.cvs.sourceforge.net/cvsroot/puppy;method=pserver;module=ftpd-topfield;tag=FTPD_TOPFIELD_0_7_4
 
11
SRC_URI = "cvs://anonymous@cvs.savannah.gnu.org/sources/gnash;method=pserver;module=gnash"
 
12
S = "${WORKDIR}/gnash"
 
13
 
 
14
EXTRA_OECONF = "--enable-gui=gtk \
 
15
                --enable-renderer=agg \
 
16
                --enable-media=gst \
 
17
                --disable-klash \
 
18
                --enable-z \
 
19
                --enable-jpeg \
 
20
                --disable-glext \
 
21
                --enable-Xft \
 
22
                --enable-expat \
 
23
                --enable-mad \
 
24
                --enable-cairo \
 
25
                --disable-plugin \
 
26
                --disable-cygnal \
 
27
                --disable-ltdl-install \
 
28
                --with-boost-incl=${STAGING_INCDIR} \
 
29
                --with-boost-lib=${STAGING_LIBDIR} \
 
30
                --with-libxml-incl=${STAGING_INCDIR}/libxml2 \
 
31
                --with-libxml-lib=${STAGING_LIBDIR} \
 
32
                --with-glib-incl=${STAGING_INCDIR}/glib-2.0 \
 
33
#               --with-glib-lib=${STAGING_LIBDIR} \
 
34
                --with-gtk2-incl=${STAGING_INCDIR}/gtk-2.0 \
 
35
                --with-pango-incl=${STAGING_INCDIR}/pango-1.0 \
 
36
#               --with-pango-lib=${STAGING_LIBDIR} \
 
37
                --with-sdl-incl=${STAGING_INCDIR}/SDL \
 
38
                --with-atk-incl=${STAGING_INCDIR}/atk-1.0 \
 
39
                --with-Xft-incl=${STAGING_INCDIR}/X11 \
 
40
                --with-expat-incl=${STAGING_INCDIR} \
 
41
                --with-mad-incl=${STAGING_INCDIR} \
 
42
                --with-cairo-incl=${STAGING_INCDIR}/cairo \
 
43
                --with-curl-incl=${STAGING_INCDIR} \
 
44
                --with-curl-lib=${STAGING_LIBDIR} \
 
45
                " 
 
46
 
 
47
inherit autotools pkgconfig
 
48
 
 
49
LDFLAGS += " -L${STAGING_LIBDIR} -lcurl  -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_signals -lboost_thread-mt "
 
50
CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_LIBDIR}/gtk-2.0/include/ "
 
51
CXXFLAGS += " -I${STAGING_INCDIR} -I${STAGING_LIBDIR}/gtk-2.0/include/ -I${STAGING_INCDIR}/cairo/ "
 
52
 
 
53
do_configure_prepend() {
 
54
        pwd
 
55
        cd ${S}
 
56
        ./autogen.sh
 
57
}
 
58
 
 
59
 
 
60
do_configure_append() {
 
61
        for i in `find . -name Makefile` ; do
 
62
                sed -i s:I/usr/include:I${STAGING_INCDIR}:g $i
 
63
        done
 
64
}
 
65
 
 
66
 
 
67
PARALLEL_MAKE = ""
 
68
 
 
69
do_compile() {
 
70
        oe_runmake 'CC=${CC}' 'LD=${LD}' 'CFLAGS=${CFLAGS}' \
 
71
                   'ZLIB_INCLUDE=${STAGING_INCDIR}' \
 
72
                   'ZLIB_LIBS=${STAGING_LIBDIR}' \
 
73
                   'PNG_INCLUDE=${STAGING_INCDIR}' \    
 
74
                   'PNG_LIBS=${STAGING_LIBDIR}'
 
75
}
 
76
 
 
77
 
 
78
PACKAGES =+ " libgnashamf libgnashbackend libgnashbase libgnashgeo libgnashgui libgnashserver "
 
79
 
 
80
FILES_libgnashamf = "${libdir}/libgnashamf-${PV}.so"
 
81
FILES_libgnashbackend = "${libdir}/libgnashbackend-${PV}.so"
 
82
FILES_libgnashbase = "${libdir}/libgnashbase-${PV}.so"
 
83
FILES_libgnashgeo = "${libdir}/libgnashgeo-${PV}.so"
 
84
FILES_libgnashgui = "${libdir}/libgnashgui-${PV}.so"
 
85
FILES_libgnashserver = "${libdir}/libgnashserver-${PV}.so"
 
86
 
 
87
do_stage() {
 
88
        autotools_stage_all
 
89
}
 
90