musepack, libmpcdec SV8, removed SV7.
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmpcdec</Name>
|
||||
<Homepage>http://www.musepack.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Portable Musepack decoder library</Summary>
|
||||
<Description>Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.</Description>
|
||||
<Archive sha1sum="32139ff5cb43a18f7c99637da76703c63a55485a" type="tarbz2">http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec-devel</Name>
|
||||
<Summary>Development files for libmpcdec</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmpcdec</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2020-01-19</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-08-07</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2017-02-18</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2016-06-09</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>Release Bump</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmpcdec</Name>
|
||||
<Summary xml:lang="tr">Musepack SV7 kodlama kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libmpcdec, taşınabilir bir Musepack kodlama kitaplığıdır.</Description>
|
||||
<Description xml:lang="fr">Librairie de décodage portable Musepack.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec-devel</Name>
|
||||
<Summary xml:lang="tr">libmpcdec için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -2,16 +2,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
import os
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libreplaygain</Name>
|
||||
<Homepage>https://www.musepack.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPL</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>replaygain library.</Summary>
|
||||
<Description>musepack replaygain library.</Description>
|
||||
<Archive sha1sum="7739b4b9cf46e0846663f707a9498a4db0345eaf" type="targz">
|
||||
https://files.musepack.net/source/libreplaygain_r475.tar.gz
|
||||
</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libreplaygain</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libreplaygain-devel</Name>
|
||||
<Summary>Development files for libreplaygain</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libreplaygain</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2020-08-20</Date>
|
||||
<Version>8</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-mpcchap --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
---
|
||||
mpc2sv8/Makefile.am | 5 +++--
|
||||
mpcdec/Makefile.am | 5 +++--
|
||||
mpcenc/Makefile.am | 5 +++--
|
||||
3 files changed, 9 insertions(+), 6 deletions(-)
|
||||
|
||||
--- a/mpc2sv8/Makefile.am
|
||||
+++ b/mpc2sv8/Makefile.am
|
||||
@@ -11,6 +11,7 @@ common_sources = ../common/crc32.c
|
||||
METASOURCES = AUTO
|
||||
bin_PROGRAMS = mpc2sv8
|
||||
mpc2sv8_SOURCES = mpc2sv8.c $(common_sources)
|
||||
-mpc2sv8_LDADD = -lm \
|
||||
+mpc2sv8_LDADD = \
|
||||
$(top_builddir)/libmpcdec/libmpcdec.la \
|
||||
- $(top_builddir)/libmpcenc/libmpcenc.a
|
||||
+ $(top_builddir)/libmpcenc/libmpcenc.a \
|
||||
+ -lm
|
||||
--- a/mpcdec/Makefile.am
|
||||
+++ b/mpcdec/Makefile.am
|
||||
@@ -9,6 +9,7 @@ endif
|
||||
METASOURCES = AUTO
|
||||
bin_PROGRAMS = mpcdec
|
||||
mpcdec_SOURCES = mpcdec.c
|
||||
-mpcdec_LDADD = -lm \
|
||||
+mpcdec_LDADD = \
|
||||
$(top_builddir)/libmpcdec/libmpcdec.la \
|
||||
- $(top_builddir)/libwavformat/libwavformat.a
|
||||
+ $(top_builddir)/libwavformat/libwavformat.a \
|
||||
+ -lm
|
||||
--- a/mpcenc/Makefile.am
|
||||
+++ b/mpcenc/Makefile.am
|
||||
@@ -22,8 +22,9 @@ mpcenc_SOURCES = keyboard.c mpcenc.c pip
|
||||
$(common_sources) \
|
||||
mpcenc.h predict.h config.h
|
||||
|
||||
-mpcenc_LDADD = -lm \
|
||||
+mpcenc_LDADD = \
|
||||
$(EXTRALIBS) \
|
||||
$(top_builddir)/libmpcpsy/libmpcpsy.a \
|
||||
- $(top_builddir)/libmpcenc/libmpcenc.a
|
||||
+ $(top_builddir)/libmpcenc/libmpcenc.a \
|
||||
+ -lm
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
--- a/configure.in 2020-09-13 18:27:24.186893066 +0300
|
||||
+++ b/configure.in 2020-09-13 18:28:54.905398925 +0300
|
||||
@@ -3,7 +3,8 @@
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_SRCDIR([libmpcdec/mpc_reader.c])
|
||||
AM_CONFIG_HEADER([include/config.h])
|
||||
-AM_INIT_AUTOMAKE
|
||||
+AM_INIT_AUTOMAKE(subdir-objects)
|
||||
+AM_MAINTAINER_MODE
|
||||
|
||||
AC_LANG_C
|
||||
AC_PROG_CC
|
||||
@@ -30,7 +31,7 @@
|
||||
AM_CONDITIONAL([MPC_CHAP], [test "x$enable_mpcchap" = xyes])
|
||||
|
||||
|
||||
-CHECK_VISIBILITY
|
||||
+AM_CONDITIONAL([HAVE_VISIBILITY], [true])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
@@ -0,0 +1,66 @@
|
||||
Index: libmpc/configure.in
|
||||
===================================================================
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -28,6 +28,12 @@ esac
|
||||
AC_SUBST([EXTRALIBS])
|
||||
|
||||
AC_ARG_ENABLE([mpcchap], [AS_HELP_STRING([--enable-mpcchap], [enable building mpcchap])])
|
||||
+if test "x$enable_mpcchap" = xyes; then
|
||||
+ PKG_CHECK_MODULES(LIBCUE, libcue)
|
||||
+ AC_SUBST(LIBCUE_CFLAGS)
|
||||
+ AC_SUBST(LIBCUE_LIBS)
|
||||
+fi
|
||||
+
|
||||
AM_CONDITIONAL([MPC_CHAP], [test "x$enable_mpcchap" = xyes])
|
||||
|
||||
|
||||
Index: libmpc/mpcchap/Makefile.am
|
||||
===================================================================
|
||||
--- a/mpcchap/Makefile.am
|
||||
+++ b/mpcchap/Makefile.am
|
||||
@@ -4,7 +4,8 @@ bin_PROGRAMS = mpcchap
|
||||
|
||||
common_sources = ../common/tags.c ../common/crc32.c
|
||||
|
||||
-AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
+AM_CPPFLAGS = -I$(top_srcdir)/include \
|
||||
+ $(LIBCUE_CFLAGS)
|
||||
|
||||
if HAVE_VISIBILITY
|
||||
AM_CFLAGS = -fvisibility=hidden
|
||||
@@ -16,4 +17,4 @@ dictionary.h iniparser.h
|
||||
|
||||
mpcchap_LDADD = $(top_builddir)/libmpcdec/libmpcdec.la \
|
||||
$(top_builddir)/libmpcenc/libmpcenc.a \
|
||||
- -lm -lcuefile
|
||||
+ -lm $(LIBCUE_LIBS)
|
||||
Index: libmpc/mpcchap/mpcchap.c
|
||||
===================================================================
|
||||
--- a/mpcchap/mpcchap.c
|
||||
+++ b/mpcchap/mpcchap.c
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
-#include <cuetools/cuefile.h>
|
||||
+#include <libcue/libcue.h>
|
||||
|
||||
// tags.c
|
||||
void Init_Tags ( void );
|
||||
@@ -153,13 +153,13 @@ mpc_status add_chaps_ini(char * mpc_file
|
||||
mpc_status add_chaps_cue(char * mpc_file, char * chap_file, mpc_demux * demux, mpc_streaminfo * si)
|
||||
{
|
||||
Cd *cd = 0;
|
||||
- int nchap, format = UNKNOWN;
|
||||
+ int nchap;
|
||||
struct stat stbuf;
|
||||
FILE * in_file;
|
||||
int chap_pos, end_pos, chap_size, i;
|
||||
char * tmp_buff;
|
||||
|
||||
- if (0 == (cd = cf_parse(chap_file, &format))) {
|
||||
+ if (0 == (cd = cue_parse_file(chap_file))) {
|
||||
fprintf(stderr, "%s: input file error\n", chap_file);
|
||||
return !MPC_STATUS_OK;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
Subject: Add extern keyword to global variable declaration.
|
||||
Origin: upstream, commit:r479
|
||||
Bug-Debian: http://bugs.debian.org/665974
|
||||
---
|
||||
libmpcdec/requant.h | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/libmpcdec/requant.h
|
||||
+++ b/libmpcdec/requant.h
|
||||
@@ -47,9 +47,9 @@ extern "C" {
|
||||
|
||||
|
||||
/* C O N S T A N T S */
|
||||
-const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
|
||||
-const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
|
||||
-const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
|
||||
+extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
|
||||
+extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
|
||||
+extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
|
||||
|
||||
#define Cc (__Cc + 1)
|
||||
#define Dc (__Dc + 1)
|
||||
@@ -0,0 +1,7 @@
|
||||
--- a/libmpcdec/Makefile.am 2009-10-20 20:11:41.000000000 +0200
|
||||
+++ b/libmpcdec/Makefile.am 2009-10-20 20:12:02.000000000 +0200
|
||||
@@ -17,3 +17,4 @@
|
||||
$(common_sources)
|
||||
|
||||
libmpcdec_la_LDFLAGS = -no-undefined -version-info 7:0:1
|
||||
+libmpcdec_la_LIBADD = -lm
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>musepack</Name>
|
||||
<Homepage>https://www.musepack.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<License>LGPL</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Portable Musepack decoder library.</Summary>
|
||||
<Description>Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms, but has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code.</Description>
|
||||
<Archive sha1sum="bdd4042773eb5c885df70d7a19914fa6e2306391" type="targz">
|
||||
https://files.musepack.net/source/musepack_src_r475.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libcue-devel</Dependency>
|
||||
<Dependency>libreplaygain-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">arch/configure.patch</Patch>
|
||||
<Patch level="1">arch/Makefile.patch</Patch>
|
||||
<Patch level="1">arch/mpcchap.patch</Patch>
|
||||
<Patch level="1">arch/mpcdec.patch</Patch>
|
||||
<Patch level="1">arch/mpcdecmake.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>musepack</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libcue</Dependency>
|
||||
<Dependency>libmpcdec</Dependency>
|
||||
<Dependency>libreplaygain</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec-devel</Name>
|
||||
<Summary>Development files for libmpcdec</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmpcdec</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2020-08-20</Date>
|
||||
<Version>8</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>musepack</Name>
|
||||
<Summary xml:lang="en">Musepack SV8 tools.</Summary>
|
||||
<Description xml:lang="en">Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec</Name>
|
||||
<Summary xml:lang="tr">Musepack SV8 kodlama kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libmpcdec, taşınabilir bir Musepack kodlama kitaplığıdır.</Description>
|
||||
<Description xml:lang="fr">Librairie de décodage portable Musepack.</Description>
|
||||
</Packagee>
|
||||
|
||||
<Package>
|
||||
<Name>libmpcdec-devel</Name>
|
||||
<Summary xml:lang="tr">libmpcdec için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user