summaryrefslogtreecommitdiff
path: root/pango/pango_1.2.5.oe
blob: cf6b77cbc8a6610fbe8f6282433ff6b5bda587b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
DEPENDS = virtual/libc glib-2.0 fontconfig freetype zlib x11-cvs xft-cvs xproto-cvs

SRC_URI = http://ftp.gnome.org/pub/gnome/sources/pango/1.2/pango-${PV}.tar.bz2 \
	  file://${FILESDIR}/ft2.patch;patch=1 \
	  file://${FILESDIR}/m4.patch;patch=1 \
	  file://${FILESDIR}/no-tests.patch;patch=1

inherit autotools libtool pkgconfig

EXTRA_OECONF = '--disable-glibtest \
		--enable-explicit-deps=no'

FILES_${PN}-doc:=${FILES_pango-doc} ${datadir}/gtk-doc

SOV=0.200.5
do_stage () {
	install -m 0755 pango/.libs/libpangoft2-1.0.so.${SOV} ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpangoft2-1.0.lai ${STAGING_LIBDIR}/libpangoft2-1.0.la
	install -m 0755 pango/.libs/libpangoft2-1.0.a ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpangox-1.0.so.${SOV} ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpangox-1.0.lai ${STAGING_LIBDIR}/libpangox-1.0.la
	install -m 0755 pango/.libs/libpangox-1.0.a ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpangoxft-1.0.so.${SOV} ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpangoxft-1.0.lai ${STAGING_LIBDIR}/libpangoxft-1.0.la
	install -m 0755 pango/.libs/libpangoxft-1.0.a ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpango-1.0.so.${SOV} ${STAGING_LIBDIR}/
	install -m 0755 pango/.libs/libpango-1.0.lai ${STAGING_LIBDIR}/libpango-1.0.la
	install -m 0755 pango/.libs/libpango-1.0.a ${STAGING_LIBDIR}/
	ln -sf libpango-1.0.so.${SOV} ${STAGING_LIBDIR}/libpango-1.0.so.0
	ln -sf libpango-1.0.so.${SOV} ${STAGING_LIBDIR}/libpango-1.0.so
	ln -sf libpangox-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangox-1.0.so.0
	ln -sf libpangox-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangox-1.0.so
	ln -sf libpangoxft-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangoxft-1.0.so.0
	ln -sf libpangoxft-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangoxft-1.0.so
	ln -sf libpangoft2-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangoft2-1.0.so.0
	ln -sf libpangoft2-1.0.so.${SOV} ${STAGING_LIBDIR}/libpangoft2-1.0.so
	install -d ${STAGING_INCDIR}/pango
	install -m 0644 pango/pango*.h ${STAGING_INCDIR}/pango/
}