#@TYPE: Distribution #@NAME: OpenDreambox #@DESCRIPTION: Distribution configuration for OpenDreambox #USER_CLASSES += "image-prelink" INHERIT += "buildhistory recipe_sanity" BUILDHISTORY_COMMIT = "1" DISTRO_NAME = "${DISTRO}" DISTRO_VERSION = "2.1.0" # meta/conf/distro/include/default-distrovars.inc DISTRO_FEATURES_DEFAULT ?= "alsa argp bluetooth ext2 largefile usbhost wifi xattr nfs zeroconf pci 3g x11 \ mplt opengles2 ppp smbfs systemd wayland xinetd" DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" # extra packages needed if opkg is used EXTRAOPKGCONFIG = "distro-feed-configs" # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb SYSVINIT_ENABLED_GETTYS = "" # meta/classes/image_types.bbclass IMAGE_FSTYPES =+ "tar.bz2" # package versions OPENDREAMBOX_QT_VERSION = "4.8.5" PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}" PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}" PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}" PREFERRED_VERSION_wpa-supplicant ?= "2.0" PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo" PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo" PACKAGECONFIG_pn-cogl-1.0 = "egl-kms egl-null \ ${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles2', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \ ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', '', d)}" PACKAGECONFIG_pn-gst-plugins-bad = "curl libmms musicbrainz orc" PACKAGECONFIG_pn-gst-plugins-base = "orc \ ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" PACKAGECONFIG_pn-gst-plugins-good = "flac jpeg libpng orc soup zlib" PACKAGECONFIG_pn-gst-plugins-ugly = "a52dec amrnb amrwb cdio lame mad mpeg2dec orc" PACKAGECONFIG_pn-xserver-xorg = "dri2 udev" LICENSE_FLAGS_WHITELIST = "commercial" # build some core libs with better compiler optimization for better performance FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}" FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}" FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}" # Disable installing ldconfig USE_LDCONFIG = "0" # Drop unused PACKAGE_EXTRA_ARCHS PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}" PREMIRRORS ?= "\ bzr://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ cvs://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ git://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ hg://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ osc://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ p4://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ svk://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ svn://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" MIRRORS =+ "\ ftp://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ http://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ https://.*/.* http://dreamboxupdate.com/sources-mirror/ \n \ ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" # for compatibility with rm_old_work.bbclass WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}" include conf/distro/include/seperatebuilddir.inc