Message ID | 20250430053825.9782-1-wen.yang@linux.dev |
---|---|
State | New |
Headers | show |
Series | [meta-oe,v2] testdisk: add recipe | expand |
On Wed, Apr 30, 2025 at 5:44 AM Wen Yang via lists.openembedded.org <wen.yang=linux.dev@lists.openembedded.org> wrote: > > From: Yang Wen <wen.yang@linux.dev> > > testdisk is a free data recovery software primarily designed to help > recover lost partitions and/or make non-booting disks bootable again > when these symptoms are caused by faulty software. > > Signed-off-by: Wen Yang <wen.yang@linux.dev> > --- > .../recipes-support/testdisk/testdisk_7.2.bb | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 meta-oe/recipes-support/testdisk/testdisk_7.2.bb > > diff --git a/meta-oe/recipes-support/testdisk/testdisk_7.2.bb b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb > new file mode 100644 > index 0000000000..3edc97f607 > --- /dev/null > +++ b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb > @@ -0,0 +1,18 @@ > +DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)." > +LICENSE = "GPL-2.0-or-later" > +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" > + > +DEPENDS = "jpeg ncurses e2fsprogs" > + > +SRC_URI = "https://www.cgsecurity.org/testdisk-7.2.tar.bz2" Use ${BP}.tar.bz2 instead of hardcoding tarball name > +S = "${WORKDIR}/testdisk-7.2" > + That's the implicit value of S as well. Remove it. > +inherit autotools pkgconfig > + > +PACKAGES =+ "${PN}-photorec" > + > +DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory." > +FILES:${PN}-photorec = "${sbindir}/photorec" > + > +SRC_URI[md5sum] = "c6809b6fd06b5022467c8faa32d49a27" Please drop md5sum. We do not use them anymore. > +SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f" > -- > 2.25.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#117253): https://lists.openembedded.org/g/openembedded-devel/message/117253 > Mute This Topic: https://lists.openembedded.org/mt/112537787/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-oe/recipes-support/testdisk/testdisk_7.2.bb b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file mode 100644 index 0000000000..3edc97f607 --- /dev/null +++ b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)." +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +DEPENDS = "jpeg ncurses e2fsprogs" + +SRC_URI = "https://www.cgsecurity.org/testdisk-7.2.tar.bz2" +S = "${WORKDIR}/testdisk-7.2" + +inherit autotools pkgconfig + +PACKAGES =+ "${PN}-photorec" + +DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory." +FILES:${PN}-photorec = "${sbindir}/photorec" + +SRC_URI[md5sum] = "c6809b6fd06b5022467c8faa32d49a27" +SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"