diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-11 21:03:27 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-02-11 21:03:27 +0100 |
commit | 693d3ea3583562974adabe9748fcbbe3b86dcf43 (patch) | |
tree | afe4ed2b5923563917081908427e98b7689566a7 /recipes-support/sciteco | |
parent | 94f51c17d46de510056328a0bc3562e97a67f7ef (diff) | |
download | meta-rhaberkorn-693d3ea3583562974adabe9748fcbbe3b86dcf43.tar.gz |
cleaned up sciteco package versioning: added one package for v0.6.4 and one (version "git") for building the latest commit from master
* The release (v0.6.4) is the default package version.
* By setting PREFERRED_VERSION_sciteco[-native], this can be
overwritten. See sciteco_git.bb.
Diffstat (limited to 'recipes-support/sciteco')
-rw-r--r-- | recipes-support/sciteco/sciteco.inc | 2 | ||||
-rw-r--r-- | recipes-support/sciteco/sciteco_0.6.4.bb (renamed from recipes-support/sciteco/sciteco_574a7ff80b7a5c73e0993a25ef7996f83eee0d45.bb) | 2 | ||||
-rw-r--r-- | recipes-support/sciteco/sciteco_git.bb | 20 |
3 files changed, 23 insertions, 1 deletions
diff --git a/recipes-support/sciteco/sciteco.inc b/recipes-support/sciteco/sciteco.inc index d216012..345f6d4 100644 --- a/recipes-support/sciteco/sciteco.inc +++ b/recipes-support/sciteco/sciteco.inc @@ -9,7 +9,7 @@ PR = "r0" # NOTE: SciTECO's repository uses submodules, therefore the submodule # fetcher must be used. -SRC_URI = "gitsm://github.com/rhaberkorn/sciteco.git;protocol=https;rev=${PV}" +SRC_URI = "gitsm://github.com/rhaberkorn/sciteco.git;protocol=https" S = "${WORKDIR}/git" diff --git a/recipes-support/sciteco/sciteco_574a7ff80b7a5c73e0993a25ef7996f83eee0d45.bb b/recipes-support/sciteco/sciteco_0.6.4.bb index 9fac44b..a2af320 100644 --- a/recipes-support/sciteco/sciteco_574a7ff80b7a5c73e0993a25ef7996f83eee0d45.bb +++ b/recipes-support/sciteco/sciteco_0.6.4.bb @@ -1 +1,3 @@ require sciteco.inc + +SRCREV = "v0.6.4" diff --git a/recipes-support/sciteco/sciteco_git.bb b/recipes-support/sciteco/sciteco_git.bb new file mode 100644 index 0000000..6038eb0 --- /dev/null +++ b/recipes-support/sciteco/sciteco_git.bb @@ -0,0 +1,20 @@ +DEFAULT_PREFERENCE = "-1" + +require sciteco.inc + +# The configuration for development HEAD commit builds. +# To use it add the following line to conf/local.conf: +# +# PREFERRED_VERSION_sciteco-native = "git%" +# PREFERRED_VERSION_sciteco = "git%" +# + +# Use latest revision from branch specified in SRC_URI (master) +SRCREV = "${AUTOREV}" +# Makes sure that new commits result in new package versions: +PV = "git-${SRCPV}" + +# Factor out the icons into a separate package. +# We usually don't need them. +PACKAGES =+ "${PN}-icons" +FILES_${PN}-icons = "${datadir}/${PN}/*.png" |