mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add some CDR image conversion tools.
Unfortunately none of them do what I need today, but still, they work ok.
This commit is contained in:
43
app-cdr/mdf2iso/mdf2iso-0.3.1.recipe
Normal file
43
app-cdr/mdf2iso/mdf2iso-0.3.1.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="Convert Alcohol 120% MDF to ISO/CUE files"
|
||||
DESCRIPTION="A tool to convert Alcohol 120% disk images to ISO/CUE files"
|
||||
HOMEPAGE="https://packages.debian.org/sid/mdf2iso"
|
||||
COPYRIGHT="2004-2005 Salvatore Santagati"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://deb.debian.org/debian/pool/main/m/mdf2iso/mdf2iso_$portVersion.orig.tar.gz"
|
||||
CHECKSUM_SHA256="906f0583cb3d36c4d862da23837eebaaaa74033c6b0b6961f2475b946a71feb7"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mdf2iso$secondaryArchSuffix = $portVersion
|
||||
cmd:mdf2iso$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-dirs "docDir dataRootDir" ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
54
app-cdr/mirage2iso/mirage2iso-0.4.2.recipe
Normal file
54
app-cdr/mirage2iso/mirage2iso-0.4.2.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="Simple optical media image file converter"
|
||||
DESCRIPTION="A simple tool to convert various CD/DVD images into .iso images."
|
||||
HOMEPAGE="https://github.com/mgorny/mirage2iso"
|
||||
COPYRIGHT="2009-2017 Michał Górny"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/mgorny/mirage2iso/releases/download/v$portVersion/mirage2iso-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f92af1737a7d5756a76d6ccf4a2b7ed922d271eb0ce01e4e32efc5516638d30d"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
mirage2iso$secondaryArchSuffix = $portVersion
|
||||
cmd:mirage2iso$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgmodule_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libmirage$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libmirage$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
79
dev-libs/libmirage/libmirage-3.2.3.recipe
Normal file
79
dev-libs/libmirage/libmirage-3.2.3.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="CD-ROM image access library"
|
||||
DESCRIPTION="Provides uniform access to data stored in various disc image \
|
||||
formats: Alcohol 120%, BlindWrite, CloneCD, CDRwin, Cdrdao, DiscJuggler, \
|
||||
Easy CD Creator, Easy Media Creator, ISO9660, Nero Burning ROM, ReadCD, \
|
||||
Universal Disk Format, XCDRoast, Apple DMG, Compressed ISO, \
|
||||
Error Code Modeller, gBurner, PowerISO, UltraISO.
|
||||
|
||||
A plug-in system allows to add more formats if needed. Libmirage can handle \
|
||||
user data as well as sync patterns, headers, ECC/EDC, and subchannel \
|
||||
information, either by extracting it from the image file, or generating it on \
|
||||
the fly if it is not available."
|
||||
HOMEPAGE="https://cdemu.sourceforge.io/about/libmirage/"
|
||||
COPYRIGHT="2007-2018 Rok Mandeljc, Henrik Stokseth"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://sourceforge.net/projects/cdemu/files/libmirage/libmirage-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="ce93d053850936eee981a6ce1484cf85e77aef90241ed29c9e63a0313ddeae22"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libmirage$secondaryArchSuffix = $portVersion
|
||||
lib:libmirage$secondaryArchSuffix = 11.0.0 compat >= 11
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgmodule_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libmirage${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmirage$secondaryArchSuffix = 11.0.0 compat >= 11
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libmirage$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:intltool_update
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gettext$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. $cmakeDirArgs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
prepareInstalledDevelLibs libmirage
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user