Skip to contentSkip to conversation

cdrkit: split into more packages

PATCH Maciej Pijanowski 1 participant 1 message Nov 25, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 15 lines · Maciej Pijanowski

Mimic the Debian pacaking scheme to allow for more fine-grained installation choice (install the binaries we need). Moreover, dirsplit was moved to a separate package, as it pulls in perl interpreter.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  4 +++
 .../cdrkit/cdrkit_1.1.11.bb                   | 32 ++++++++++++++++++-
 2 files changed, 35 insertions(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -0
index ccbd01aaf006..8c6d50ca1f63 100644

meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb RDEPENDS_packagegroup-meta-oe-multimedia ="\ · line 618

Quoted 3 lines
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -0
@@ -616,6 +616,10 @@ RDEPENDS_packagegroup-meta-oe-multimedia ="\
     alsa-oss \
     ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "faad2", "", d)} \
     cdrkit \

Wait, I need to remove the cdrkit, will resend once again... sorry

Quoted 53 lines
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +4 -0
+    dirsplit \
+    genisoimage \
+    icedax \
+    wodim \
     id3lib \
     audiofile \
     a2jmidid \
meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb +31 -1
index 1c7f4c62e5f4..3344821fa0da 100644
@@ -18,7 +18,37 @@ SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc7
 inherit cmake
 
 DEPENDS = "libcap file bzip2"
-RDEPENDS_${PN} = "perl"
+RDEPENDS_dirsplit = "perl"
+
+PACKAGES =+ "dirsplit genisoimage icedax wodim"
+
+FILES_dirsplit = " \
+    ${bindir}/dirsplit \
+"
+
+FILES_genisoimage = " \
+    ${bindir}/devdump \
+    ${bindir}/genisoimage \
+    ${bindir}/isodebug \
+    ${bindir}/isodump \
+    ${bindir}/isoinfo \
+    ${bindir}/isovfy \
+    ${bindir}/mkisofs \
+"
+
+FILES_icedax = " \
+    ${bindir}/cdda2mp3 \
+    ${bindir}/cdda2ogg \
+    ${bindir}/icedax \
+    ${bindir}/pitchplay \
+    ${bindir}/readmult \
+"
+
+FILES_wodim = " \
+    ${bindir}/readom \
+    ${bindir}/wodim \
+    ${sbindir}/netscsid \
+"
 
 do_install_append() {
     ln -sf ${bindir}/genisoimage ${D}${bindir}/mkisofs
Signature · 4 lines
Maciej Pijanowski
Embedded Firmware Team Leader
GPG: 9963C36AAC3B2B46
https://3mdeb.com | @3mdeb_com