xml2pmx: unbundle from texlive_core

The category is an estimation and not derived from Gentoo, which doesn't have this as a separate package.
This commit is contained in:
Joachim Mairböck
2024-09-01 15:51:00 +02:00
parent a22ffc4a89
commit cd3f54d1b7
2 changed files with 63 additions and 2 deletions

View File

@@ -432,7 +432,6 @@ PROVIDES="
cmd:xetex_unsafe
cmd:xhlatex
cmd:xindex
cmd:xml2pmx
cmd:xmltex
cmd:yplan
lib:libkpathsea$secondaryArchSuffix = $libkpathseaVersionCompat
@@ -626,7 +625,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \
$prefix/bin/wovp2ovf \
$prefix/bin/xdvipdfmx \
$prefix/bin/xetex \
$prefix/bin/xml2pmx \
$libDir/libkpathsea.so.$libkpathseaVersion \
$libDir/libptexenc.so.$libptexencVersion \
$libDir/libsynctex.so.$libsynctexVersion \
@@ -813,6 +811,7 @@ BUILD()
--disable-ps2eps \
--disable-t1utils \
--disable-vlna \
--disable-xml2pmx \
--build=$HOST --host=$HOST
# and make the damn thing!

View File

@@ -0,0 +1,62 @@
SUMMARY="Convert MusicXML to PMX and MusiXTEX"
DESCRIPTION="xml2pmx translates MusicXML into PMX notation.
MusicXML (http://www.musicxml.com) originally developed by Recordare and now owned by Finale \
(https://www.finalemusic.com/), is the leading music-data exchange format.
PMX, developed by Don Simons is an easy to use, yet powerful preprocessor for the music \
typesetting system MusiXTeX.
xml2pmx has been developed by Dieter Gloetzel with the \"Oberon Plugin for Windows Version 2.5\" \
of ETHZ Zurich on Windows 10 and OLR (Oberon Linux Revival)"
HOMEPAGE="https://ctan.org/pkg/xml2pmx"
COPYRIGHT="20112021 Bob Tennent
20152021 Dieter Gloetzel
2021 Mike Spivey"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://mirrors.ctan.org/support/xml2pmx/sources/xml2pmx-${portVersion//_/-}.tar.gz"
CHECKSUM_SHA256="f8fe78d469b41eec77b35196fa37c511f5dc27f5d54d85183b1ddf43e2b5bac0"
SOURCE_DIR="xml2pmx-${portVersion//_/-}"
ARCHITECTURES="all"
PROVIDES="
xml2pmx = $portVersion
cmd:xml2pmx = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
"
TEST_REQUIRES="
cmd:diff
"
defineDebugInfoPackage xml2pmx \
$binDir/xml2pmx
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}