Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123
@ 2020-01-22 12:49 voidlinux-github
  2020-01-26  7:54 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-22 12:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

There is a new pull request by ScrelliCopter against master on the void-packages repository

https://github.com/ScrelliCopter/void-packages openmpt
https://github.com/void-linux/void-packages/pull/18468

New package: libopenmpt-0.4.11 & openmpt123
Adds the OpenMPT music module replayer library + bundled mpg123 style command line player/decoder using it.

This is my first more complex package, so please let me know if there are any mistakes and I'll try to correct them.
Thanks.

A patch file from https://github.com/void-linux/void-packages/pull/18468.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openmpt-18468.patch --]
[-- Type: text/x-diff, Size: 4256 bytes --]

From 2a1266bdaf640b03ba4641a1ea0f2da9012aabca Mon Sep 17 00:00:00 2001
From: a dinosaur <nick@a-dinosaur.com>
Date: Wed, 22 Jan 2020 23:24:53 +1100
Subject: [PATCH] libopenmpt: add template file + update shlibs

---
 common/shlibs               |  1 +
 srcpkgs/libopenmpt-devel    |  1 +
 srcpkgs/libopenmpt/template | 85 +++++++++++++++++++++++++++++++++++++
 srcpkgs/openmpt123          |  1 +
 4 files changed, 88 insertions(+)
 create mode 120000 srcpkgs/libopenmpt-devel
 create mode 100644 srcpkgs/libopenmpt/template
 create mode 120000 srcpkgs/openmpt123

diff --git a/common/shlibs b/common/shlibs
index 35fcd4de243..7a7e1abafc8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -331,6 +331,7 @@ libglademm-2.4.so.1 libglademm-2.6.7_1
 libthunarx-3.so.0 Thunar-1.8.1_1
 libexif.so.12 libexif-0.6.17_1
 liboil-0.3.so.0 liboil-0.3.16_1
+libopenmpt.so.0 libopenmpt-0.4.11_1
 libogg.so.0 libogg-1.3.0_1
 libvorbis.so.0 libvorbis-1.2.1rc1_1
 libvorbisenc.so.2 libvorbis-1.2.1rc1_1
diff --git a/srcpkgs/libopenmpt-devel b/srcpkgs/libopenmpt-devel
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/libopenmpt-devel
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file
diff --git a/srcpkgs/libopenmpt/template b/srcpkgs/libopenmpt/template
new file mode 100644
index 00000000000..dcf44a81967
--- /dev/null
+++ b/srcpkgs/libopenmpt/template
@@ -0,0 +1,85 @@
+# Template file for 'libopenmpt'
+pkgname=libopenmpt
+version=0.4.11
+revision=1
+wrksrc="libopenmpt-${version}+release.autotools"
+build_style=gnu-configure
+configure_args="--prefix=/usr
+	$(vopt_with zlib)
+	$(vopt_with mpg123)
+	$(vopt_with ogg) $(vopt_with vorbis) $(vopt_with vorbis vorbisfile)
+	$(vopt_with pulseaudio)
+	$(vopt_with portaudio) $(vopt_with portaudiocpp)
+	$(vopt_with sdl2) $(vopt_with sdl)
+	$(vopt_with sndfile)
+	$(vopt_with flac)
+	$(vopt_enable libopenmpt_modplug) $(vopt_enable libmodplug)
+	$(vopt_enable openmpt123)"
+hostmakedepends="pkg-config"
+makedepends="
+	$(vopt_if zlib zlib-devel)
+	$(vopt_if mpg123 mpg123-devel)
+	$(vopt_if ogg libogg-devel) $(vopt_if vorbis libvorbis-devel)
+	$(vopt_if pulseaudio pulseaudio-devel)
+	$(vopt_if portaudio portaudio-devel) $(vopt_if portaudiocpp portaudio-cpp-devel)
+	$(vopt_if sdl2 SDL2-devel) $(vopt_if sdl SDL-devel)
+	$(vopt_if sndfile libsndfile-devel)
+	$(vopt_if flac libflac-devel)"
+depends="
+	$(vopt_if zlib zlib)
+	$(vopt_if mpg123 libmpg123)
+	$(vopt_if ogg libogg) $(vopt_if vorbis libvorbis)
+	$(vopt_if pulseaudio libpulseaudio)
+	$(vopt_if portaudio portaudio) $(vopt_if portaudiocpp portaudio-cpp)
+	$(vopt_if sdl2 SDL2) $(vopt_if sdl SDL)
+	$(vopt_if sndfile libsndfile)
+	$(vopt_if flac libflac)"
+short_desc="Cross-platform C & C++ library to decode tracked music files (modules)"
+maintainer="a dinosaur <nick@a-dinosaur.com>"
+license="BSD-3-Clause"
+homepage="https://lib.openmpt.org/libopenmpt/"
+distfiles="https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"
+checksum=260e92cc2f6af37113442bff2c75a3c36a09eba4078dc593203a0502f95d26bd
+conflicts="$(vopt_if libmodplug libmodplug)"
+
+post_install() {
+	vlicense LICENSE
+}
+
+# Package build options
+build_options="
+	zlib
+	mpg123
+	ogg vorbis
+	pulseaudio
+	portaudio portaudiocpp
+	sdl2 sdl
+	sndfile
+	flac
+	libopenmpt_modplug libmodplug
+	openmpt123"
+build_options_default="zlib mpg123 ogg vorbis pulseaudio portaudio portaudiocpp sndfile flac openmpt123"
+vopt_conflict sdl2 sdl
+
+libopenmpt-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share/doc/libopenmpt/examples
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+if [ ! -z "$build_option_openmpt123" ]; then
+	openmpt123_package() {
+		depends="${sourcepkg}-${version}_${revision}"
+		short_desc="Cross-platform command-line or terminal based module file player"
+		pkg_install() {
+			vmove usr/bin/openmpt123
+			vmove usr/share/man/man1/openmpt123.1
+		}
+	}
+fi
diff --git a/srcpkgs/openmpt123 b/srcpkgs/openmpt123
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/openmpt123
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: libopenmpt-0.4.11 & openmpt123
  2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
@ 2020-01-26  7:54 ` voidlinux-github
  2020-01-26  9:18 ` voidlinux-github
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-26  7:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by ScrelliCopter against master on the void-packages repository

https://github.com/ScrelliCopter/void-packages openmpt
https://github.com/void-linux/void-packages/pull/18468

New package: libopenmpt-0.4.11 & openmpt123
Adds the OpenMPT music module replayer library + bundled mpg123 style command line player/decoder using it.

This is my first more complex package, so please let me know if there are any mistakes and I'll try to correct them.
Thanks.

A patch file from https://github.com/void-linux/void-packages/pull/18468.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openmpt-18468.patch --]
[-- Type: text/x-diff, Size: 3884 bytes --]

From 13b6b8d2a21890e7698c9e0a187c7e64e488a91e Mon Sep 17 00:00:00 2001
From: a dinosaur <nick@a-dinosaur.com>
Date: Wed, 22 Jan 2020 23:24:53 +1100
Subject: [PATCH] libopenmpt: add template file + update shlibs

---
 common/shlibs               |  1 +
 srcpkgs/libopenmpt-devel    |  1 +
 srcpkgs/libopenmpt/template | 63 +++++++++++++++++++++++++++++++++++++
 srcpkgs/openmpt123          |  1 +
 4 files changed, 66 insertions(+)
 create mode 120000 srcpkgs/libopenmpt-devel
 create mode 100644 srcpkgs/libopenmpt/template
 create mode 120000 srcpkgs/openmpt123

diff --git a/common/shlibs b/common/shlibs
index 35fcd4de243..7a7e1abafc8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -331,6 +331,7 @@ libglademm-2.4.so.1 libglademm-2.6.7_1
 libthunarx-3.so.0 Thunar-1.8.1_1
 libexif.so.12 libexif-0.6.17_1
 liboil-0.3.so.0 liboil-0.3.16_1
+libopenmpt.so.0 libopenmpt-0.4.11_1
 libogg.so.0 libogg-1.3.0_1
 libvorbis.so.0 libvorbis-1.2.1rc1_1
 libvorbisenc.so.2 libvorbis-1.2.1rc1_1
diff --git a/srcpkgs/libopenmpt-devel b/srcpkgs/libopenmpt-devel
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/libopenmpt-devel
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file
diff --git a/srcpkgs/libopenmpt/template b/srcpkgs/libopenmpt/template
new file mode 100644
index 00000000000..d4196add892
--- /dev/null
+++ b/srcpkgs/libopenmpt/template
@@ -0,0 +1,63 @@
+# Template file for 'libopenmpt'
+pkgname=libopenmpt
+version=0.4.11
+revision=1
+wrksrc="libopenmpt-${version}+release.autotools"
+build_style=gnu-configure
+configure_args="$(vopt_with zlib) $(vopt_with mpg123) $(vopt_with ogg)
+ $(vopt_with vorbis) $(vopt_with vorbis vorbisfile)
+ $(vopt_with pulseaudio) $(vopt_with portaudio)
+ $(vopt_with portaudiocpp) $(vopt_with sdl2) $(vopt_with sdl)
+ $(vopt_with sndfile) $(vopt_with flac)
+ $(vopt_enable libopenmpt_modplug) $(vopt_enable libmodplug)
+ $(vopt_enable openmpt123)"
+hostmakedepends="pkg-config"
+makedepends="
+ $(vopt_if zlib zlib-devel) $(vopt_if mpg123 mpg123-devel)
+ $(vopt_if ogg libogg-devel) $(vopt_if vorbis libvorbis-devel)
+ $(vopt_if pulseaudio pulseaudio-devel)
+ $(vopt_if portaudio portaudio-devel)
+ $(vopt_if portaudiocpp portaudio-cpp-devel) $(vopt_if sdl2 SDL2-devel)
+ $(vopt_if sdl SDL-devel) $(vopt_if sndfile libsndfile-devel)
+ $(vopt_if flac libflac-devel)"
+short_desc="Cross-platform C & C++ library to decode tracked music files (modules)"
+maintainer="a dinosaur <nick@a-dinosaur.com>"
+license="BSD-3-Clause"
+homepage="https://lib.openmpt.org/libopenmpt/"
+distfiles="https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"
+checksum=260e92cc2f6af37113442bff2c75a3c36a09eba4078dc593203a0502f95d26bd
+conflicts="$(vopt_if libmodplug libmodplug)"
+
+post_install() {
+	vlicense LICENSE
+}
+
+# Package build options
+build_options="zlib mpg123 ogg vorbis pulseaudio portaudio portaudiocpp
+ sdl2 sdl sndfile flac libopenmpt_modplug libmodplug openmpt123"
+build_options_default="zlib mpg123 ogg vorbis pulseaudio portaudio
+ portaudiocpp sndfile flac openmpt123"
+vopt_conflict sdl2 sdl
+
+libopenmpt-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share/doc/libopenmpt/examples
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+if [ "$build_option_openmpt123" ]; then
+	openmpt123_package() {
+		depends="${sourcepkg}-${version}_${revision}"
+		short_desc="Cross-platform command-line or terminal based module file player"
+		pkg_install() {
+			vmove usr/bin/openmpt123
+			vmove usr/share/man/man1/openmpt123.1
+		}
+	}
+fi
diff --git a/srcpkgs/openmpt123 b/srcpkgs/openmpt123
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/openmpt123
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: libopenmpt-0.4.11 & openmpt123
  2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
  2020-01-26  7:54 ` [PR PATCH] [Updated] " voidlinux-github
@ 2020-01-26  9:18 ` voidlinux-github
  2020-01-26 10:52 ` voidlinux-github
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-26  9:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by ScrelliCopter against master on the void-packages repository

https://github.com/ScrelliCopter/void-packages openmpt
https://github.com/void-linux/void-packages/pull/18468

New package: libopenmpt-0.4.11 & openmpt123
Adds the OpenMPT music module replayer library + bundled mpg123 style command line player/decoder using it.

This is my first more complex package, so please let me know if there are any mistakes and I'll try to correct them.
Thanks.

A patch file from https://github.com/void-linux/void-packages/pull/18468.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openmpt-18468.patch --]
[-- Type: text/x-diff, Size: 3303 bytes --]

From d4dc2e12f6e444fd2090ff7b949ceee42f157226 Mon Sep 17 00:00:00 2001
From: a dinosaur <nick@a-dinosaur.com>
Date: Wed, 22 Jan 2020 23:24:53 +1100
Subject: [PATCH] libopenmpt: add template file + update shlibs

---
 common/shlibs               |  1 +
 srcpkgs/libopenmpt-devel    |  1 +
 srcpkgs/libopenmpt/template | 51 +++++++++++++++++++++++++++++++++++++
 srcpkgs/openmpt123          |  1 +
 4 files changed, 54 insertions(+)
 create mode 120000 srcpkgs/libopenmpt-devel
 create mode 100644 srcpkgs/libopenmpt/template
 create mode 120000 srcpkgs/openmpt123

diff --git a/common/shlibs b/common/shlibs
index 35fcd4de243..7a7e1abafc8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -331,6 +331,7 @@ libglademm-2.4.so.1 libglademm-2.6.7_1
 libthunarx-3.so.0 Thunar-1.8.1_1
 libexif.so.12 libexif-0.6.17_1
 liboil-0.3.so.0 liboil-0.3.16_1
+libopenmpt.so.0 libopenmpt-0.4.11_1
 libogg.so.0 libogg-1.3.0_1
 libvorbis.so.0 libvorbis-1.2.1rc1_1
 libvorbisenc.so.2 libvorbis-1.2.1rc1_1
diff --git a/srcpkgs/libopenmpt-devel b/srcpkgs/libopenmpt-devel
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/libopenmpt-devel
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file
diff --git a/srcpkgs/libopenmpt/template b/srcpkgs/libopenmpt/template
new file mode 100644
index 00000000000..e617136694a
--- /dev/null
+++ b/srcpkgs/libopenmpt/template
@@ -0,0 +1,51 @@
+# Template file for 'libopenmpt'
+pkgname=libopenmpt
+version=0.4.11
+revision=1
+wrksrc="libopenmpt-${version}+release.autotools"
+build_style=gnu-configure
+configure_args="$(vopt_with pulseaudio)
+ $(vopt_with sdl) $(vopt_with sdl2)
+ $(vopt_enable libopenmpt_modplug) $(vopt_enable libmodplug)"
+hostmakedepends="pkg-config"
+makedepends="zlib-devel mpg123-devel libogg-devel libvorbis-devel
+ portaudio-devel portaudio-cpp-devel libsndfile-devel libflac-devel
+ $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if sdl2 SDL2-devel)
+ $(vopt_if sdl SDL-devel)"
+short_desc="Cross-platform C & C++ library to decode tracked music files (modules)"
+maintainer="a dinosaur <nick@a-dinosaur.com>"
+license="BSD-3-Clause"
+homepage="https://lib.openmpt.org/libopenmpt/"
+distfiles="https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"
+checksum=260e92cc2f6af37113442bff2c75a3c36a09eba4078dc593203a0502f95d26bd
+conflicts="$(vopt_if libmodplug libmodplug)"
+
+post_install() {
+	vlicense LICENSE
+}
+
+# Package build options
+build_options="pulseaudio sdl2 sdl libopenmpt_modplug libmodplug"
+build_options_default="pulseaudio"
+vopt_conflict sdl2 sdl
+
+libopenmpt-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share/doc/libopenmpt/examples
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+openmpt123_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc="Cross-platform command-line or terminal based module file player"
+	pkg_install() {
+		vmove usr/bin/openmpt123
+		vmove usr/share/man/man1/openmpt123.1
+	}
+}
diff --git a/srcpkgs/openmpt123 b/srcpkgs/openmpt123
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/openmpt123
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: libopenmpt-0.4.11 & openmpt123
  2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
  2020-01-26  7:54 ` [PR PATCH] [Updated] " voidlinux-github
  2020-01-26  9:18 ` voidlinux-github
@ 2020-01-26 10:52 ` voidlinux-github
  2020-01-26 10:53 ` voidlinux-github
  2020-01-26 15:28 ` [PR PATCH] [Merged]: " voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-26 10:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

There is an updated pull request by ScrelliCopter against master on the void-packages repository

https://github.com/ScrelliCopter/void-packages openmpt
https://github.com/void-linux/void-packages/pull/18468

New package: libopenmpt-0.4.11 & openmpt123
Adds the OpenMPT music module replayer library + bundled mpg123 style command line player/decoder using it.

This is my first more complex package, so please let me know if there are any mistakes and I'll try to correct them.
Thanks.

A patch file from https://github.com/void-linux/void-packages/pull/18468.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openmpt-18468.patch --]
[-- Type: text/x-diff, Size: 3288 bytes --]

From be5fbf3d4ef38f1ff9521365e7250ad17d1dfcf2 Mon Sep 17 00:00:00 2001
From: a dinosaur <nick@a-dinosaur.com>
Date: Wed, 22 Jan 2020 23:24:53 +1100
Subject: [PATCH] New package: libopenmpt-0.4.11

---
 common/shlibs               |  1 +
 srcpkgs/libopenmpt-devel    |  1 +
 srcpkgs/libopenmpt/template | 51 +++++++++++++++++++++++++++++++++++++
 srcpkgs/openmpt123          |  1 +
 4 files changed, 54 insertions(+)
 create mode 120000 srcpkgs/libopenmpt-devel
 create mode 100644 srcpkgs/libopenmpt/template
 create mode 120000 srcpkgs/openmpt123

diff --git a/common/shlibs b/common/shlibs
index 35fcd4de243..7a7e1abafc8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -331,6 +331,7 @@ libglademm-2.4.so.1 libglademm-2.6.7_1
 libthunarx-3.so.0 Thunar-1.8.1_1
 libexif.so.12 libexif-0.6.17_1
 liboil-0.3.so.0 liboil-0.3.16_1
+libopenmpt.so.0 libopenmpt-0.4.11_1
 libogg.so.0 libogg-1.3.0_1
 libvorbis.so.0 libvorbis-1.2.1rc1_1
 libvorbisenc.so.2 libvorbis-1.2.1rc1_1
diff --git a/srcpkgs/libopenmpt-devel b/srcpkgs/libopenmpt-devel
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/libopenmpt-devel
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file
diff --git a/srcpkgs/libopenmpt/template b/srcpkgs/libopenmpt/template
new file mode 100644
index 00000000000..e617136694a
--- /dev/null
+++ b/srcpkgs/libopenmpt/template
@@ -0,0 +1,51 @@
+# Template file for 'libopenmpt'
+pkgname=libopenmpt
+version=0.4.11
+revision=1
+wrksrc="libopenmpt-${version}+release.autotools"
+build_style=gnu-configure
+configure_args="$(vopt_with pulseaudio)
+ $(vopt_with sdl) $(vopt_with sdl2)
+ $(vopt_enable libopenmpt_modplug) $(vopt_enable libmodplug)"
+hostmakedepends="pkg-config"
+makedepends="zlib-devel mpg123-devel libogg-devel libvorbis-devel
+ portaudio-devel portaudio-cpp-devel libsndfile-devel libflac-devel
+ $(vopt_if pulseaudio pulseaudio-devel) $(vopt_if sdl2 SDL2-devel)
+ $(vopt_if sdl SDL-devel)"
+short_desc="Cross-platform C & C++ library to decode tracked music files (modules)"
+maintainer="a dinosaur <nick@a-dinosaur.com>"
+license="BSD-3-Clause"
+homepage="https://lib.openmpt.org/libopenmpt/"
+distfiles="https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"
+checksum=260e92cc2f6af37113442bff2c75a3c36a09eba4078dc593203a0502f95d26bd
+conflicts="$(vopt_if libmodplug libmodplug)"
+
+post_install() {
+	vlicense LICENSE
+}
+
+# Package build options
+build_options="pulseaudio sdl2 sdl libopenmpt_modplug libmodplug"
+build_options_default="pulseaudio"
+vopt_conflict sdl2 sdl
+
+libopenmpt-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share/doc/libopenmpt/examples
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+openmpt123_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc="Cross-platform command-line or terminal based module file player"
+	pkg_install() {
+		vmove usr/bin/openmpt123
+		vmove usr/share/man/man1/openmpt123.1
+	}
+}
diff --git a/srcpkgs/openmpt123 b/srcpkgs/openmpt123
new file mode 120000
index 00000000000..4a03b0fc889
--- /dev/null
+++ b/srcpkgs/openmpt123
@@ -0,0 +1 @@
+libopenmpt
\ No newline at end of file

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: libopenmpt-0.4.11 & openmpt123
  2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
                   ` (2 preceding siblings ...)
  2020-01-26 10:52 ` voidlinux-github
@ 2020-01-26 10:53 ` voidlinux-github
  2020-01-26 15:28 ` [PR PATCH] [Merged]: " voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-26 10:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

New comment by ScrelliCopter on void-packages repository

https://github.com/void-linux/void-packages/pull/18468#issuecomment-578490237

Comment:
> please adjust the git commit title. It should be `New package: libopenmpt-0.4.11`.

Yep; saw the comments on the maxcso commit, my apologies. Force pushed the new commit line.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: New package: libopenmpt-0.4.11 & openmpt123
  2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
                   ` (3 preceding siblings ...)
  2020-01-26 10:53 ` voidlinux-github
@ 2020-01-26 15:28 ` voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-26 15:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

There's a merged pull request on the void-packages repository

New package: libopenmpt-0.4.11 & openmpt123
https://github.com/void-linux/void-packages/pull/18468

Description:
Adds the OpenMPT music module replayer library + bundled mpg123 style command line player/decoder using it.

This is my first more complex package, so please let me know if there are any mistakes and I'll try to correct them.
Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-26 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 12:49 [PR PATCH] New package: libopenmpt-0.4.11 & openmpt123 voidlinux-github
2020-01-26  7:54 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-26  9:18 ` voidlinux-github
2020-01-26 10:52 ` voidlinux-github
2020-01-26 10:53 ` voidlinux-github
2020-01-26 15:28 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).