Skip to content

Commit

Permalink
sparkle-cdm: Bump and add option for clearkey module
Browse files Browse the repository at this point in the history
  • Loading branch information
philn committed Feb 19, 2022
1 parent 0710f9a commit e64e81b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes-cdm/sparkle-cdm/sparkle-cdm_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,23 @@ inherit meson pkgconfig
PV = "2021.0"

SRC_URI = "git://github.com/Sparkle-CDM/sparkle-cdm.git;protocol=https;branch=main"
SRCREV = "2c285c371f23a00820d1f31cd4e97b94435aace9"
SRCREV = "ce99d205e0423ab213869da5e934c0c1cd9983a8"

S = "${WORKDIR}/git"

PACKAGECONFIG ?= ""
PACKAGECONFIG[sample-player] = "-Dsample-player=enabled,-Dsample-player=disabled,libsoup-2.4"
PACKAGECONFIG[clearkey-module] = "-Dclearkey-module=enabled,-Dclearkey-module=disabled,json-glib openssl"

PROVIDES += "virtual/open-cdm"
RPROVIDES:${PN} += "virtual/open-cdm"

PACKAGES =+ "${PN}-sample-player"
PACKAGES =+ "${PN}-sample-player ${PN}-clearkey-module"

FILES:${PN} += "${libdir}/libocdm.so \
${libdir}/gstreamer-1.0/libgstsprkl.so \
"
FILES:${PN}-sample-player += "${bindir}/sample-player"
FILES:${PN}-clearkey-module += "${libdir}/sparkle-cdm/libsparkle-cdm-clearkey.so"
FILES_SOLIBSDEV = ""

0 comments on commit e64e81b

Please sign in to comment.