summaryrefslogtreecommitdiff
path: root/recipes/totem/totem_1.0.4.bb
blob: 8694bcb8d35b860ccac437a66e6a4f0ff206e54e (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
SECTION = "x11/multimedia"
# totem OE build file
# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION="A GTK2 based media player"
HOMEPAGE="http://www.gnome.org/projects/totem/"
LICENSE="GPL"

SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/totem/1.0/totem-${PV}.tar.gz \
	file://include.patch;patch=1 \
	file://omf.patch;patch=1 \
	file://nonautilus.patch;patch=1 \
	file://intl.patch;patch=1 \
	file://cflags.patch;patch=1 \
	file://gtkonly.patch;patch=1"

DEPENDS="gtk+ libglade gnome-vfs gconf libxine libxml2"

inherit autotools

EXTRA_OECONF="--disable-schemas-install --disable-nvtv --enable-gtk --disable-debug --disable-gstreamer --disable-mozilla"

#SELECTED_OPTIMIZATION="-O0 -g"
LDFLAGS_append = " -Wl,--export-dynamic"

pkg_postinst_totem() {
#!/bin/sh
if [ -n "$D"  ]; then exit 1; fi;
SOURCE=`gconftool-2 --get-default-source`
GCONF_CONFIG_SOURCE=$SOURCE gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/totem.schemas > /dev/null
}