opendreambox.conf: follow upstream updates
[opendreambox.git] / meta-opendreambox / conf / distro / opendreambox.conf
1 #@TYPE: Distribution
2 #@NAME: OpenDreambox
3 #@DESCRIPTION: Distribution configuration for OpenDreambox
4
5 #USER_CLASSES += "image-prelink"
6 INHERIT += "buildhistory recipe_sanity"
7 BUILDHISTORY_COMMIT = "1"
8
9 DISTRO_NAME = "${DISTRO}"
10 DISTRO_VERSION = "2.1.0"
11
12 # meta/conf/distro/include/default-distrovars.inc
13 DISTRO_FEATURES += "3g alsa argp bluetooth directfb ext2 largefile mplt nfs pci ppp smbfs systemd usbhost wifi xattr xinetd zeroconf ${DISTRO_FEATURES_LIBC}"
14 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
15
16 # extra packages needed if opkg is used
17 EXTRAOPKGCONFIG = "distro-feed-configs"
18
19 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
20 SYSVINIT_ENABLED_GETTYS = ""
21
22 # meta/classes/image_types.bbclass
23 IMAGE_FSTYPES =+ "tar.bz2"
24
25 # package versions
26 OPENDREAMBOX_QT_VERSION = "4.8.4"
27
28 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
29 PREFERRED_VERSION_qt4-embedded-gles ?= "${OPENDREAMBOX_QT_VERSION}"
30 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
31 PREFERRED_VERSION_qt4-tools-sdk ?= "${OPENDREAMBOX_QT_VERSION}"
32 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
33 PREFERRED_VERSION_qt4-x11-free-gles ?= "${OPENDREAMBOX_QT_VERSION}"
34 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
35
36 PREFERRED_PROVIDER_jpeg = "jpeg"
37 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
38
39 LICENSE_FLAGS_WHITELIST = "commercial"
40
41 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
42 # build some core libs with better compiler optimization for better performance
43 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
44 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
45 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
46 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
47 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
48 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
49 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
50 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
51 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
52 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
53 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
54 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
55 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
56 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
57
58 # Disable installing ldconfig
59 USE_LDCONFIG = "0"
60
61 # Drop unused PACKAGE_EXTRA_ARCHS
62 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
63
64 PREMIRRORS ?= "\
65 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
66 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
67 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
68 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
69 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
70 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
71 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
72 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
73 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
74 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
75 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
76 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
77 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
78 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
79 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
80 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
81
82 MIRRORS =+ "\
83 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
84 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
85 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
86 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
87 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
88 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
89
90 # for compatibility with rm_old_work.bbclass
91 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"