3 #@DESCRIPTION: Distribution configuration for OpenDreambox
5 #USER_CLASSES += "image-prelink"
6 INHERIT += "buildhistory recipe_sanity"
7 BUILDHISTORY_COMMIT = "1"
9 DISTRO_NAME = "${DISTRO}"
10 DISTRO_VERSION = "2.1.0"
12 # meta/conf/distro/include/default-distrovars.inc
13 DISTRO_FEATURES ?= "3g alsa argp bluetooth ext2 largefile mplt nfs opengles2 pci ppp smbfs systemd usbhost wayland wifi x11 xattr xinetd zeroconf ${DISTRO_FEATURES_LIBC}"
14 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
16 # extra packages needed if opkg is used
17 EXTRAOPKGCONFIG = "distro-feed-configs"
19 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
20 SYSVINIT_ENABLED_GETTYS = ""
22 # meta/classes/image_types.bbclass
23 IMAGE_FSTYPES =+ "tar.bz2"
26 OPENDREAMBOX_QT_VERSION = "4.8.4"
28 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
29 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
30 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
31 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
33 PREFERRED_PROVIDER_jpeg = "jpeg"
34 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
36 PACKAGECONFIG_pn-cogl-1.0 = "egl-kms egl-null \
37 ${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
38 ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles2', '', d)} \
39 ${@base_contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \
40 ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', '', d)}"
42 PACKAGECONFIG_pn-gst-plugins-bad = "curl libmms musicbrainz orc"
43 PACKAGECONFIG_pn-gst-plugins-base = "orc \
44 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
45 PACKAGECONFIG_pn-gst-plugins-good = "flac jpeg libpng orc soup zlib"
46 PACKAGECONFIG_pn-gst-plugins-ugly = "a52dec amrnb amrwb cdio lame mad mpeg2dec orc"
48 PACKAGECONFIG_pn-xserver-xorg = "dri2 udev"
50 LICENSE_FLAGS_WHITELIST = "commercial"
52 # build some core libs with better compiler optimization for better performance
53 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
54 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
55 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
56 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
57 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
58 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
59 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
60 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
61 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
62 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
63 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
64 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
65 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
66 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
68 # Disable installing ldconfig
71 # Drop unused PACKAGE_EXTRA_ARCHS
72 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
75 bzr://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
76 cvs://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
77 git://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
78 hg://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
79 osc://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
80 p4://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
81 svk://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
82 svn://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
83 bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
84 cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
85 git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
86 hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
87 osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
88 p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
89 svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
90 svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
93 ftp://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
94 http://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
95 https://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \
96 ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
97 http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
98 https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
100 # for compatibility with rm_old_work.bbclass
101 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"
103 include conf/distro/include/seperatebuilddir.inc