From c0faaa3076c482647abb6ed0a072af841a3c715b Mon Sep 17 00:00:00 2001 From: 4fury Date: Sun, 14 Apr 2019 19:47:00 +0300 Subject: [PATCH 1/3] deadbeef version bump + new dependency --- multimedia/misc/opusfile/actions.py | 38 +++++++++++ multimedia/misc/opusfile/pspec.xml | 80 +++++++++++++++++++++++ multimedia/misc/opusfile/translations.xml | 13 ++++ multimedia/sound/deadbeef/actions.py | 16 +++-- multimedia/sound/deadbeef/pspec.xml | 36 +++++++--- 5 files changed, 169 insertions(+), 14 deletions(-) create mode 100644 multimedia/misc/opusfile/actions.py create mode 100644 multimedia/misc/opusfile/pspec.xml create mode 100644 multimedia/misc/opusfile/translations.xml diff --git a/multimedia/misc/opusfile/actions.py b/multimedia/misc/opusfile/actions.py new file mode 100644 index 0000000000..b3e1cba17d --- /dev/null +++ b/multimedia/misc/opusfile/actions.py @@ -0,0 +1,38 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 2 +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + options = "\ + --disable-static \ + --enable-fixed-point \ + " + + if get.buildTYPE() == "_emul32": + options += " --libdir=/usr/lib32 \ + " + shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") + + autotools.configure(options) + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", \ + "COPYING", \ + "README.md") + +# if get.buildTYPE() == "_emul32": +# pisitools.dodoc("README", "NEWS", "AUTHORS") diff --git a/multimedia/misc/opusfile/pspec.xml b/multimedia/misc/opusfile/pspec.xml new file mode 100644 index 0000000000..0727003c65 --- /dev/null +++ b/multimedia/misc/opusfile/pspec.xml @@ -0,0 +1,80 @@ + + + + + opusfile + http://opus-codec.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + Opusfile + + Opusfile provides application developers with a high-level API for decoding and seeking in .opus files. + + + https://archive.mozilla.org/pub/opus/opusfile-0.9.tar.gz + + + libogg-devel + libopus-devel + openssl-devel + libogg-32bit + libopus-32bit + openssl-32bit + + + + + opusfile + + libogg + libopus + openssl + + + /usr/lib + /usr/share/doc/opusfile/* + + + + + opusfile-devel + Development files for opusfile + + opusfile + + + /usr/include/opus + /usr/lib/pkgconfig + + + + + opusfile-32bit + emul32 + 32-bit shared libraries for opusfile + emul32 + + opusfile + libogg-32bit + libopus-32bit + openssl-32bit + + + /usr/lib32 + + + + + + 2019-04-14 + 0.9 + First build. + fury + wascheme@tuta.io + + + diff --git a/multimedia/misc/opusfile/translations.xml b/multimedia/misc/opusfile/translations.xml new file mode 100644 index 0000000000..d01a58d1fe --- /dev/null +++ b/multimedia/misc/opusfile/translations.xml @@ -0,0 +1,13 @@ + + + + opusfile + unkown + unkown + + + + opusfile-devel + unkown + + diff --git a/multimedia/sound/deadbeef/actions.py b/multimedia/sound/deadbeef/actions.py index 1e6b64d315..7e7867bab3 100644 --- a/multimedia/sound/deadbeef/actions.py +++ b/multimedia/sound/deadbeef/actions.py @@ -5,14 +5,14 @@ # 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 +from pisi.actionsapi import pisitools +from pisi.actionsapi import get 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") + shelltools.system("NOCONFIGURE=1 ./autogen.sh") + autotools.configure() pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") @@ -20,7 +20,11 @@ def build(): autotools.make() def install(): - autotools.install() + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "README") + pisitools.dodoc("about.txt", \ + "AUTHORS", \ + "ChangeLog", \ + "COPYING*", \ + "README*") diff --git a/multimedia/sound/deadbeef/pspec.xml b/multimedia/sound/deadbeef/pspec.xml index d57a22610a..21ac1d85be 100644 --- a/multimedia/sound/deadbeef/pspec.xml +++ b/multimedia/sound/deadbeef/pspec.xml @@ -3,7 +3,7 @@ deadbeef - http://deadbeef.sourceforge.net + http://deadbeef.sourceforge.net/ PisiLİnux Community admins@pisilinux.org @@ -13,11 +13,15 @@ app:gui multimedia.sound Audio player for GNU/Linux systems with X11 - 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). - https://github.com/Alexey-Yakovenko/deadbeef/archive/0.7.2.tar.gz - + --> atk-devel gtk2-devel @@ -26,13 +30,17 @@ faad2-devel cairo-devel pango-devel + libcue-devel ffmpeg-devel libmad-devel libzip-devel imlib2-devel wavpack-devel libcddb-devel + libopus-devel + opusfile-devel alsa-lib-devel + libmp4v2-devel libvorbis-devel libsndfile-devel cdparanoia-devel @@ -61,13 +69,17 @@ faad2 cairo pango + libcue ffmpeg libmad libzip imlib2 wavpack libcddb + libopus + opusfile alsa-lib + libmp4v2 libvorbis cdparanoia libogg @@ -87,17 +99,25 @@ /usr/bin - /usr/include + /usr/include/deadbeef /usr/lib/deadbeef + /usr/lib/deadbeef/convpresets /usr/share/applications - /usr/share/deadbeef - /usr/share/doc/deadbeef + /usr/share/deadbeef/pixmaps /usr/share/icons/hicolor/*/apps /usr/share/locale + /usr/share/doc/deadbeef + + 2019-04-14 + 1.8.0 + Version bump. + fury + wascheme@tuta.io + 2018-09-01 0.7.20 From e794f2e56b2aa98572fb3ee2b7dd624d69dd2bbe Mon Sep 17 00:00:00 2001 From: 4fury Date: Sun, 14 Apr 2019 20:02:57 +0300 Subject: [PATCH 2/3] disabled strings --- multimedia/misc/opusfile/actions.py | 21 +++++++++++---------- multimedia/misc/opusfile/pspec.xml | 8 ++++---- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/multimedia/misc/opusfile/actions.py b/multimedia/misc/opusfile/actions.py index b3e1cba17d..b970abe716 100644 --- a/multimedia/misc/opusfile/actions.py +++ b/multimedia/misc/opusfile/actions.py @@ -5,22 +5,23 @@ # See the file http://www.gnu.org/copyleft/gpl.txt from pisi.actionsapi import autotools -from pisi.actionsapi import shelltools +#from pisi.actionsapi import shelltools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - options = "\ - --disable-static \ - --enable-fixed-point \ - " +# options = "\ +# --disable-static \ +# --enable-fixed-point \ +# " - if get.buildTYPE() == "_emul32": - options += " --libdir=/usr/lib32 \ - " - shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") +# if get.buildTYPE() == "_emul32": +# options += " --libdir=/usr/lib32 \ +# " +# shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") - autotools.configure(options) +# autotools.configure(options) + autotools.configure("--disable-static") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") diff --git a/multimedia/misc/opusfile/pspec.xml b/multimedia/misc/opusfile/pspec.xml index 0727003c65..e8edacbb89 100644 --- a/multimedia/misc/opusfile/pspec.xml +++ b/multimedia/misc/opusfile/pspec.xml @@ -21,9 +21,9 @@ libogg-devel libopus-devel openssl-devel - libogg-32bit + @@ -52,7 +52,7 @@ - + From d016834c764309bb363c243c16901f4c720d90a1 Mon Sep 17 00:00:00 2001 From: 4fury Date: Sun, 14 Apr 2019 21:04:35 +0300 Subject: [PATCH 3/3] reverse --- multimedia/misc/opusfile/actions.py | 39 ----------- multimedia/misc/opusfile/pspec.xml | 80 ----------------------- multimedia/misc/opusfile/translations.xml | 13 ---- multimedia/sound/deadbeef/pspec.xml | 4 +- 4 files changed, 2 insertions(+), 134 deletions(-) delete mode 100644 multimedia/misc/opusfile/actions.py delete mode 100644 multimedia/misc/opusfile/pspec.xml delete mode 100644 multimedia/misc/opusfile/translations.xml diff --git a/multimedia/misc/opusfile/actions.py b/multimedia/misc/opusfile/actions.py deleted file mode 100644 index b970abe716..0000000000 --- a/multimedia/misc/opusfile/actions.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -# -# Licensed under the GNU General Public License, version 2 -# See the file http://www.gnu.org/copyleft/gpl.txt - -from pisi.actionsapi import autotools -#from pisi.actionsapi import shelltools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get - -def setup(): -# options = "\ -# --disable-static \ -# --enable-fixed-point \ -# " - -# if get.buildTYPE() == "_emul32": -# options += " --libdir=/usr/lib32 \ -# " -# shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig") - -# autotools.configure(options) - autotools.configure("--disable-static") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") - -def build(): - autotools.make() - -def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("AUTHORS", \ - "COPYING", \ - "README.md") - -# if get.buildTYPE() == "_emul32": -# pisitools.dodoc("README", "NEWS", "AUTHORS") diff --git a/multimedia/misc/opusfile/pspec.xml b/multimedia/misc/opusfile/pspec.xml deleted file mode 100644 index e8edacbb89..0000000000 --- a/multimedia/misc/opusfile/pspec.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - opusfile - http://opus-codec.org/ - - PisiLinux Community - admins@pisilinux.org - - BSD - library - Opusfile - - Opusfile provides application developers with a high-level API for decoding and seeking in .opus files. - - - https://archive.mozilla.org/pub/opus/opusfile-0.9.tar.gz - - - libogg-devel - libopus-devel - openssl-devel - - - - - - opusfile - - libogg - libopus - openssl - - - /usr/lib - /usr/share/doc/opusfile/* - - - - - opusfile-devel - Development files for opusfile - - opusfile - - - /usr/include/opus - /usr/lib/pkgconfig - - - - - - - - 2019-04-14 - 0.9 - First build. - fury - wascheme@tuta.io - - - diff --git a/multimedia/misc/opusfile/translations.xml b/multimedia/misc/opusfile/translations.xml deleted file mode 100644 index d01a58d1fe..0000000000 --- a/multimedia/misc/opusfile/translations.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - opusfile - unkown - unkown - - - - opusfile-devel - unkown - - diff --git a/multimedia/sound/deadbeef/pspec.xml b/multimedia/sound/deadbeef/pspec.xml index 21ac1d85be..1da9cdac2b 100644 --- a/multimedia/sound/deadbeef/pspec.xml +++ b/multimedia/sound/deadbeef/pspec.xml @@ -38,7 +38,7 @@ wavpack-devel libcddb-devel libopus-devel - opusfile-devel + alsa-lib-devel libmp4v2-devel libvorbis-devel @@ -77,7 +77,7 @@ wavpack libcddb libopus - opusfile + alsa-lib libmp4v2 libvorbis