Skip to content

Commit

Permalink
main/libopenmpt: new package (0.7.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopsykose committed Jun 24, 2024
1 parent b69beef commit 1a5183b
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions main/libopenmpt-devel
8 changes: 8 additions & 0 deletions main/libopenmpt/patches/fix-pc-ver.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([libopenmpt], [0.7.8+release.autotools], [https://bugs.openmpt.org/], [libopenmpt], [https://lib.openmpt.org/])
+AC_INIT([libopenmpt], [0.7.8], [https://bugs.openmpt.org/], [libopenmpt], [https://lib.openmpt.org/])
AC_PREREQ([2.69])
# we do want 2.70, but distributions are not ready yet
#AC_PREREQ([2.70])
36 changes: 36 additions & 0 deletions main/libopenmpt/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pkgname = "libopenmpt"
pkgver = "0.7.8"
pkgrel = 0
build_style = "gnu_configure"
configure_args = [
"--without-portaudio",
"--without-portaudiocpp",
]
hostmakedepends = [
"automake",
"libtool",
"pkgconf",
]
makedepends = [
"flac-devel",
"libogg-devel",
"libpulse-devel",
"libsndfile-devel",
"mpg123-devel",
"zlib-devel",
]
pkgdesc = "Library for rendering tracker music to PCM"
maintainer = "psykose <alice@ayaya.dev>"
license = "BSD-3-Clause"
url = "https://lib.openmpt.org/libopenmpt"
source = f"https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-{pkgver}+release.autotools.tar.gz"
sha256 = "87778c8046a226c6cbfb114f4c8e3e27c121b7b3dccce5cb7de45899250274cc"


def post_install(self):
self.install_license("LICENSE")


@subpackage("libopenmpt-devel")
def _devel(self):
return self.default_devel()
2 changes: 2 additions & 0 deletions main/libopenmpt/update.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
url = "https://lib.openmpt.org/files/libopenmpt/src"
pattern = r"libopenmpt-([\d\.]+)\+release.autotools.tar.gz"

0 comments on commit 1a5183b

Please sign in to comment.