blob: dd0405c9530f6df4e69507faf8c9770b4b6efae5 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "CD/DVD command line tools"
2HOMEPAGE = "http://cdrkit.org/"
3
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_FILES_CHKSUM = "file://COPYING;md5=b30d3b2750b668133fc17b401e1b98f8"
6
7# While writing download from cdrkit.org was broken so get sources from debian
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
9 file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \
10 file://0001-genisoimage-Fix-fprintf-format-errors.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011 file://0001-define-__THROW-to-avoid-build-issue-with-musl.patch \
12 file://0002-Do-not-use-rcmd-on-build-with-musl.patch \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013 file://0001-genisoimage-Add-missing-extern-definition.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014 "
Patrick Williams213cb262021-08-07 19:21:33 -050015SRC_URI:append:class-nativesdk = " \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070016 file://0001-install-netscsid-to-bin-for-nativesdk.patch \
17"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
19SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
20
21inherit cmake
22
23DEPENDS = "libcap file bzip2"
Patrick Williams213cb262021-08-07 19:21:33 -050024RDEPENDS:dirsplit = "perl"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060025
Andrew Geissler595f6302022-01-24 19:11:47 +000026RDEPENDS:${PN}-dev = ""
27
Andrew Geissler4b7c1152020-11-30 19:55:29 -060028PACKAGES =+ "dirsplit genisoimage icedax wodim"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:dirsplit = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060031 ${bindir}/dirsplit \
32"
33
Patrick Williams213cb262021-08-07 19:21:33 -050034FILES:genisoimage = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060035 ${bindir}/devdump \
36 ${bindir}/genisoimage \
37 ${bindir}/isodebug \
38 ${bindir}/isodump \
39 ${bindir}/isoinfo \
40 ${bindir}/isovfy \
41 ${bindir}/mkisofs \
42"
43
Patrick Williams213cb262021-08-07 19:21:33 -050044FILES:icedax = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060045 ${bindir}/cdda2mp3 \
46 ${bindir}/cdda2ogg \
47 ${bindir}/icedax \
48 ${bindir}/pitchplay \
49 ${bindir}/readmult \
50"
51
Patrick Williams213cb262021-08-07 19:21:33 -050052FILES:wodim = " \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060053 ${bindir}/readom \
54 ${bindir}/wodim \
55 ${sbindir}/netscsid \
56"
Brad Bishop316dfdd2018-06-25 12:45:53 -040057
Patrick Williams213cb262021-08-07 19:21:33 -050058do_install:append() {
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070059 ln -sf --relative ${D}${bindir}/genisoimage ${D}${bindir}/mkisofs
Brad Bishop316dfdd2018-06-25 12:45:53 -040060}
Andrew Geissler4b7c1152020-11-30 19:55:29 -060061
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070062BBCLASSEXTEND = "native nativesdk"