deadbeef Audio player for GNU/Linux systems with X11
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
|
||||
def setup():
|
||||
#if compile against gtk3=yes then a libtool compile error, so now build against gtk2
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--enable-gtk3=no --enable-staticlink=no")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "README")
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
diff --git a/plugins/vfs_zip/vfs_zip.c b/plugins/vfs_zip/vfs_zip.c
|
||||
index 752e7f5..f146867 100644
|
||||
--- a/plugins/vfs_zip/vfs_zip.c
|
||||
+++ b/plugins/vfs_zip/vfs_zip.c
|
||||
@@ -54,7 +54,7 @@ typedef struct {
|
||||
int buffer_remaining;
|
||||
int buffer_pos;
|
||||
#endif
|
||||
-} zip_file_t;
|
||||
+} ddb_zip_file_t;
|
||||
|
||||
static const char *scheme_names[] = { "zip://", NULL };
|
||||
|
||||
@@ -108,8 +108,8 @@ vfs_zip_open (const char *fname) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
- zip_file_t *f = malloc (sizeof (zip_file_t));
|
||||
- memset (f, 0, sizeof (zip_file_t));
|
||||
+ ddb_zip_file_t *f = malloc (sizeof (ddb_zip_file_t));
|
||||
+ memset (f, 0, sizeof (ddb_zip_file_t));
|
||||
f->file.vfs = &plugin;
|
||||
f->z = z;
|
||||
f->zf = zf;
|
||||
@@ -122,7 +122,7 @@ vfs_zip_open (const char *fname) {
|
||||
void
|
||||
vfs_zip_close (DB_FILE *f) {
|
||||
trace ("vfs_zip: close\n");
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
if (zf->zf) {
|
||||
zip_fclose (zf->zf);
|
||||
}
|
||||
@@ -134,7 +134,7 @@ vfs_zip_close (DB_FILE *f) {
|
||||
|
||||
size_t
|
||||
vfs_zip_read (void *ptr, size_t size, size_t nmemb, DB_FILE *f) {
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
// printf ("read: %d\n", size*nmemb);
|
||||
|
||||
size_t sz = size * nmemb;
|
||||
@@ -167,7 +167,7 @@ vfs_zip_read (void *ptr, size_t size, size_t nmemb, DB_FILE *f) {
|
||||
|
||||
int
|
||||
vfs_zip_seek (DB_FILE *f, int64_t offset, int whence) {
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
// printf ("seek: %lld (%d)\n", offset, whence);
|
||||
|
||||
if (whence == SEEK_CUR) {
|
||||
@@ -242,13 +242,13 @@ vfs_zip_seek (DB_FILE *f, int64_t offset, int whence) {
|
||||
|
||||
int64_t
|
||||
vfs_zip_tell (DB_FILE *f) {
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
return zf->offset;
|
||||
}
|
||||
|
||||
void
|
||||
vfs_zip_rewind (DB_FILE *f) {
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
zip_fclose (zf->zf);
|
||||
zf->zf = zip_fopen_index (zf->z, zf->index, 0);
|
||||
assert (zf->zf); // FIXME: better error handling?
|
||||
@@ -260,7 +260,7 @@ vfs_zip_rewind (DB_FILE *f) {
|
||||
|
||||
int64_t
|
||||
vfs_zip_getlength (DB_FILE *f) {
|
||||
- zip_file_t *zf = (zip_file_t *)f;
|
||||
+ ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
|
||||
return zf->size;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>deadbeef</Name>
|
||||
<Homepage>http://deadbeef.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLİnux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>deadbeef</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>multimedia.sound</PartOf>
|
||||
<Summary>Audio player for GNU/Linux systems with X11</Summary>
|
||||
<Description>DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11 (though now it also runs in plain console without X, in FreeBSD, and in OpenSolaris).</Description>
|
||||
<Archive sha1sum="c032b893badcd2ba244238662277f44a50b20b0c" type="targz">https://github.com/Alexey-Yakovenko/deadbeef/archive/0.6.2.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">plugins_vfs_zip_vfs_zip_c.patch</Patch>
|
||||
</Patches>
|
||||
<BuildDependencies>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>flac-devel</Dependency>
|
||||
<Dependency>faad2-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>libmad-devel</Dependency>
|
||||
<Dependency>libzip-devel</Dependency>
|
||||
<Dependency>imlib2-devel</Dependency>
|
||||
<Dependency>wavpack-devel</Dependency>
|
||||
<Dependency>libcddb-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
<Dependency>cdparanoia-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libsamplerate-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>libcdio-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>deadbeef</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>flac</Dependency>
|
||||
<Dependency>faad2</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>libmad</Dependency>
|
||||
<Dependency>libzip</Dependency>
|
||||
<Dependency>imlib2</Dependency>
|
||||
<Dependency>wavpack</Dependency>
|
||||
<Dependency>libcddb</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>cdparanoia</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libsndfile</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libsamplerate</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>libcdio</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/deadbeef</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/deadbeef</Path>
|
||||
<Path fileType="doc">/usr/share/doc/deadbeef</Path>
|
||||
<Path fileType="data">/usr/share/icons/hicolor/*/apps</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2015-12-25</Date>
|
||||
<Version>0.6.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-12-14</Date>
|
||||
<Version>0.6.2_2014.12.14</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-11-12</Date>
|
||||
<Version>0.6.2_2014.11.12</Version>
|
||||
<Comment>Version bump from git source</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-08-28</Date>
|
||||
<Version>0.6.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-06-04</Date>
|
||||
<Version>0.6.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-04</Date>
|
||||
<Version>0.6.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-29</Date>
|
||||
<Version>0.5.6</Version>
|
||||
<Comment>missing dep.</Comment>
|
||||
<Name>Erdinç gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-08</Date>
|
||||
<Version>0.5.6</Version>
|
||||
<Comment>Rebuild for new libcdio</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-09</Date>
|
||||
<Version>0.5.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>deadbeef</Name>
|
||||
<Summary xml:lang="tr">X1 ile GNU / Linux sistemleri için ses çalar</Summary>
|
||||
<Summary xml:lang="pl">Lkki i przejrzysty odtwarzacz plików muzycznych</Summary>
|
||||
<Description xml:lang="tr">DeaDBeeF (0xDEADBEEF gibi) X11 ile GNU / Linux sistemleri (şimdi olsa da FreeBSD, X olmaksızın düz konsolda çalışır ve OpenSolaris) için bir ses oynatıcısıdır.</Description>
|
||||
<Description xml:lang="pl">DeaDBeeF Program pozwala odtwarzać najpopularniejsze formaty muzyki, a także płyty Audio-CD i strumienie audio emitowane za pośrednictwem Internetu. Jego ogromną zaletą jest prostota, dopracowanie oraz minimalne zapotrzebowanie na zasoby systemowe.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+90901
-90740
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
0483505d6587762776d2fbc2e85513a26838e215
|
||||
b4f93056fe4fe59d682a1229f318489340066347
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
cdaedca2a32147f36b49e1c4e449e8a864496fa0
|
||||
d46970445367ecd219d7fa7ac85b93f247ae13f0
|
||||
Reference in New Issue
Block a user