Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions recipes-core/easysplash/easysplash-animation-default_2.0.0.bb
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
SUMMARY = "Default EasySplash Animation intended for general use"
DESCRIPTION = "Default EasySplash animation assets intended for general use."
HOMEPAGE = "https://github.com/OSSystems/EasySplash"
BUGTRACKER = "https://github.com/OSSystems/EasySplash/issues"
SECTION = "graphics"
CVE_PRODUCT = "easysplash"
LICENSE = "CLOSED"

require easysplash-common-2.0.inc

inherit easysplash-animation
inherit easysplash_animation

do_configure[noexec] = "1"
do_compile[noexec] = "1"
Expand All @@ -21,15 +26,15 @@ do_install() {

ALTERNATIVE_PRIORITY[animation] = "10"

RDEPENDS:${PN} += " \
RDEPENDS:${PN} += "\
gstreamer1.0-libav \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-good-isomp4 \
gstreamer1.0-plugins-bad-kms \
gstreamer1.0-plugins-bad-camerabin \
gstreamer1.0-plugins-good-videofilter \
gstreamer1.0-plugins-bad-kms \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-base-videoconvertscale \
gstreamer1.0-plugins-good-deinterlace \
gstreamer1.0-plugins-good-isomp4 \
gstreamer1.0-plugins-good-multifile \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-good-videofilter \
"
19 changes: 12 additions & 7 deletions recipes-core/easysplash/easysplash-animation-ossystems_2.0.0.bb
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
SUMMARY = "O.S. Systems EasySplash Animation"
DESCRIPTION = "O.S. Systems branded EasySplash animation assets."
HOMEPAGE = "https://github.com/OSSystems/EasySplash"
BUGTRACKER = "https://github.com/OSSystems/EasySplash/issues"
SECTION = "graphics"
CVE_PRODUCT = "easysplash"
LICENSE = "CLOSED"

require easysplash-common-2.0.inc

inherit easysplash-animation
inherit easysplash_animation

do_configure[noexec] = "1"
do_compile[noexec] = "1"
Expand All @@ -19,15 +24,15 @@ do_install() {
mv ${D}${base_libdir}/easysplash/ossystems-demo ${D}${base_libdir}/easysplash/${PN}
}

RDEPENDS:${PN} += " \
RDEPENDS:${PN} += "\
gstreamer1.0-libav \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-good-isomp4 \
gstreamer1.0-plugins-bad-kms \
gstreamer1.0-plugins-bad-camerabin \
gstreamer1.0-plugins-good-videofilter \
gstreamer1.0-plugins-bad-kms \
gstreamer1.0-plugins-base-playback \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-base-videoconvertscale \
gstreamer1.0-plugins-good-deinterlace \
gstreamer1.0-plugins-good-isomp4 \
gstreamer1.0-plugins-good-multifile \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-good-videofilter \
"
14 changes: 3 additions & 11 deletions recipes-core/easysplash/easysplash-common-2.0.inc
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
LICENSE = "Apache-2.0|MIT"
LIC_FILES_CHKSUM = "file://LICENSE-APACHE-2.0;md5=1836efb2eb779966696f473ee8540542"
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"

SRCREV = "81a44392efe15fd12ea673f1c828a52e95103eea"
SRCBRANCH = "master"

SRC_URI = "git://github.com/OSSystems/EasySplash.git;branch=${SRCBRANCH};protocol=https"

PV = "2.0.0"

S = "${WORKDIR}/git"
SRC_URI = "git://github.com/OSSystems/EasySplash.git;branch=master;protocol=https"
SRCREV = "81a44392efe15fd12ea673f1c828a52e95103eea"

EXTRA_OEMAKE += " \
EXTRA_OEMAKE += "\
prefix=${prefix} \
sysconfdir=${sysconfdir} \
sbindir=${bindir} \
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/easysplash/easysplash-config_2.0.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LICENSE = "CLOSED"
SRC_URI += "file://easysplash.default"

do_install() {
install -Dm 0644 ${WORKDIR}/easysplash.default ${D}${sysconfdir}/default/easysplash
install -Dm 0644 ${UNPACKDIR}/easysplash.default ${D}${sysconfdir}/default/easysplash
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
2 changes: 1 addition & 1 deletion recipes-core/easysplash/easysplash-crates.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Autogenerated with 'bitbake -c update_crates easysplash'

# from Cargo.lock
SRC_URI += " \
SRC_URI += "\
crate://crates.io/anyhow/1.0.59 \
crate://crates.io/argh/0.1.8 \
crate://crates.io/argh_derive/0.1.8 \
Expand Down
38 changes: 23 additions & 15 deletions recipes-core/easysplash/easysplash_2.0.0.bb
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
# Auto-Generated by cargo-bitbake 0.3.16-alpha.0
#

SUMMARY = "Graphical boot animation application"
DESCRIPTION = "EasySplash is an application that runs early the OS boot for showing graphical \
animation while the boot process itself happens in the background. \
The app is built on Rust and binds to GStreamer, so it can run in any backend that supports both."
animation while the boot process itself happens in the background. \
The app is built on Rust and binds to GStreamer, so it can run in any backend that supports both."
HOMEPAGE = "https://github.com/OSSystems/EasySplash"
BUGTRACKER = "https://github.com/OSSystems/EasySplash/issues"
SECTION = "graphics"
CVE_PRODUCT = "easysplash"
LICENSE = "Apache-2.0 | MIT"
LIC_FILES_CHKSUM = "\
file://LICENSE-APACHE-2.0;md5=1836efb2eb779966696f473ee8540542 \
file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d \
"
DEPENDS += "glib-2.0 gstreamer1.0"

require easysplash-common-2.0.inc easysplash-crates.inc
require easysplash-common-2.0.inc
require easysplash-crates.inc

inherit cargo pkgconfig systemd update-rc.d cargo-update-recipe-crates

# If this is git based prefer versioned ones if they exist
# DEFAULT_PREFERENCE = "-1"

CARGO_SRC_DIR = ""
PV:append = ".AUTOINC+724e1c7edc"

LICENSE = "Apache-2.0|MIT"
LIC_FILES_CHKSUM = "file://LICENSE-APACHE-2.0;md5=1836efb2eb779966696f473ee8540542"
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"

DEPENDS = "glib-2.0 gstreamer1.0"
PV .= ".AUTOINC+724e1c7edc"

INITSCRIPT_NAME = "${PN}-start"
INITSCRIPT_PARAMS:${PN} = "start 5 S ."

SYSTEMD_SERVICE:${PN} = "${PN}-start.service ${PN}-quit.service"

EXTRA_CARGO_FLAGS += " \
CARGO_BUILD_FLAGS += "\
${@bb.utils.contains('PACKAGECONFIG', 'systemd', '--features systemd', '', d)} \
"

Expand All @@ -35,12 +41,14 @@ PACKAGECONFIG ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"

PACKAGECONFIG[sysvinit] = "INIT=1, INIT=0,"
PACKAGECONFIG[systemd] = "SYSTEMD=1, SYSTEM=0, systemd"
PACKAGECONFIG[sysvinit] = ",,"
PACKAGECONFIG[systemd] = ",, systemd"

do_install:append() {
(cd ${S} ; oe_runmake install-service DESTDIR=${D})
rm ${D}${sysconfdir}/default/easysplash
(cd ${S} ; oe_runmake install-service DESTDIR=${D} \
${@bb.utils.contains('PACKAGECONFIG', 'sysvinit', 'INIT=1', 'INIT=0', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'SYSTEMD=1', 'SYSTEMD=0', d)})
rm ${D}${sysconfdir}/default/easysplash
}

RDEPENDS:${PN} += "easysplash-config"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PACKAGECONFIG:append = " kms"