Skip to contentSkip to conversation

package/libsidplay2: new package

PATCH New Bernd Kuhls 2 participants 2 messages Mar 22, 2015 – Mar 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libsidplay2: new package

Needed for upcoming kodi-audiodecoder-sidplay package

---
v2: removed large portions of upstream 0001-sidplay2-libs-2.1.1.patch
since we update config.guess/sub and reconfigure the package anyway

 package/Config.in                                  |    1 +
 package/libsidplay2/0001-sidplay2-libs-2.1.1.patch |  331 ++++++++++++++++++++
 package/libsidplay2/0002-pkg-config.patch          |   25 ++
 package/libsidplay2/Config.in                      |   13 +
 package/libsidplay2/libsidplay2.hash               |    2 +
 package/libsidplay2/libsidplay2.mk                 |   15 +
 6 files changed, 387 insertions(+)
 create mode 100644 package/libsidplay2/0001-sidplay2-libs-2.1.1.patch
 create mode 100644 package/libsidplay2/0002-pkg-config.patch
 create mode 100644 package/libsidplay2/Config.in
 create mode 100644 package/libsidplay2/libsidplay2.hash
 create mode 100644 package/libsidplay2/libsidplay2.mk
package/Config.in +1 -0
index ed8b123..1c21500 100644
@@ -623,6 +623,7 @@ menu "Audio/Sound"
 	source "package/libmpdclient/Config.in"
 	source "package/libreplaygain/Config.in"
 	source "package/libsamplerate/Config.in"
+	source "package/libsidplay2/Config.in"
 	source "package/libsndfile/Config.in"
 	source "package/libsoxr/Config.in"
 	source "package/libvorbis/Config.in"
package/libsidplay2/0001-sidplay2-libs-2.1.1.patch new file +331 -0

331 lines not on this page · raw message

package/libsidplay2/0002-pkg-config.patch new file +25 -0
new file mode 100644
index 0000000..ce37e94
@@ -0,0 +1,25 @@
+Include correct libdir in pkgconfig files
+
+Downloaded from
+https://sources.debian.net/src/sidplay-libs/2.1.1-14/debian/patches/pkg-config.patch/
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+
+--- sidplay-libs-2.1.1.orig/libsidplay/unix/libsidplay2.pc.in
++++ sidplay-libs-2.1.1/libsidplay/unix/libsidplay2.pc.in
+@@ -7,5 +7,5 @@ builders=@builders@
+ Name: @PACKAGE@
+ Description: C64 cycle exact stereo sidplayer library.
+ Version: @VERSION@
+-Libs: ${libdir}/libsidplay2.la
++Libs: -L${libdir} -lsidplay2
+ Cflags: -DHAVE_UNIX -I${includedir}
+--- sidplay-libs-2.1.1.orig/libsidutils/unix/libsidutils.pc.in
++++ sidplay-libs-2.1.1/libsidutils/unix/libsidutils.pc.in
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: @PACKAGE@
+ Description: Utils for supporting the libsidplay2 library.
+ Version: @VERSION@
+-Libs: ${libdir}/libsidutils.la
++Libs: -L${libdir} -lsidutils
+ Cflags: -DHAVE_UNIX -I${includedir}
package/libsidplay2/Config.in new file +13 -0
new file mode 100644
index 0000000..5698367
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LIBSIDPLAY2
+	bool "libsidplay2"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  Sidplay 2 is the second in the Sidplay series originally developed by
+	  Michael Schwendt. This version is written by Simon White and is cycle
+	  accurate for improved sound reproduction. Sidplay 2 is capable of
+	  playing all C64 mono and stereo file formats.
+
+	  http://sourceforge.net/projects/sidplay2
+
+comment "libsidplay2 needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/libsidplay2/libsidplay2.hash new file +2 -0
new file mode 100644
index 0000000..1b45cb8
@@ -0,0 +1,2 @@
+# From http://sourceforge.net/projects/sidplay2/files/sidplay2/sidplay-libs-2.1.1/
+sha1	8af6350866edc30b0d331e075fa97292f6f645a5	sidplay-libs-2.1.1.tar.gz
package/libsidplay2/libsidplay2.mk new file +15 -0
new file mode 100644
index 0000000..b294964
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libsidplay2
+#
+################################################################################
+
+LIBSIDPLAY2_VERSION = 2.1.1
+LIBSIDPLAY2_SOURCE = sidplay-libs-$(LIBSIDPLAY2_VERSION).tar.gz
+LIBSIDPLAY2_SITE = http://downloads.sourceforge.net/project/sidplay2/sidplay2/sidplay-libs-$(LIBSIDPLAY2_VERSION)
+LIBSIDPLAY2_LICENSE = GPLv2+
+LIBSIDPLAY2_LICENSE_FILES = libsidplay/COPYING
+LIBSIDPLAY2_AUTORECONF = YES
+LIBSIDPLAY2_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/1 package/libsidplay2: new package

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Needed for upcoming kodi-audiodecoder-sidplay package

---
v2: removed large portions of upstream 0001-sidplay2-libs-2.1.1.patch
since we update config.guess/sub and reconfigure the package anyway

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard