diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-24 16:33:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-24 16:33:11 +0000 |
commit | faddeff65d652bda3291eba255955adb17f1aa19 (patch) | |
tree | 4352e6d85ce48c7c8d96159fad4d3dd90602a70a /media-sound/spek | |
parent | 0e7b1da874d923b9f006e0000023f5fa528140a8 (diff) |
gentoo auto-resync : 24:11:2023 - 16:33:11
Diffstat (limited to 'media-sound/spek')
-rw-r--r-- | media-sound/spek/Manifest | 15 | ||||
-rw-r--r-- | media-sound/spek/files/00_dfsg.patch | 19 | ||||
-rw-r--r-- | media-sound/spek/files/01_arm64-mips64el.patch | 15 | ||||
-rw-r--r-- | media-sound/spek/files/02_ftbfs-gcc13.patch | 10 | ||||
-rw-r--r-- | media-sound/spek/files/03_metainfo.patch | 66 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.1-disable-updates.patch | 11 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-AR.patch | 18 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch | 33 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-ffmpeg3.patch | 37 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch | 11 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-stdlib.patch | 22 | ||||
-rw-r--r-- | media-sound/spek/spek-0.8.3-r1.ebuild | 44 | ||||
-rw-r--r-- | media-sound/spek/spek-0.8.5-r1.ebuild (renamed from media-sound/spek/spek-0.8.4.ebuild) | 23 |
13 files changed, 130 insertions, 194 deletions
diff --git a/media-sound/spek/Manifest b/media-sound/spek/Manifest index 1c2ff78a4c3c..f69287a54bb0 100644 --- a/media-sound/spek/Manifest +++ b/media-sound/spek/Manifest @@ -1,14 +1,9 @@ -AUX spek-0.8.1-disable-updates.patch 273 BLAKE2B c13fa0288b4464289967484a0c3a482b2a9f19e170a52329445cf3875831e552b85aa363ca6fb07033dc29de0edbce38d4045d8b2ff01b693f26e103cce1208e SHA512 90ca3adcf4fb677953ae4d7e50dc1bed62ba21e92f52dd9ec724b146244084bcde15da3317dab0feac9da522d0b3e49e5bad17c16209a3f0cc9b1b8780141040 -AUX spek-0.8.3-AR.patch 416 BLAKE2B 4a4d83b1eda983d19b42008be2a3531be1b845df07381e3e543d64be3a4c0f30b3ff37cf49c8a9ed15561bdb224b150c5605f896ccc4e25f98d40b92cebc9cad SHA512 dd0375e46bb3130cc7d31e548abdb2799c63037532030f935a79cc1a4349485de4a368e81dbee0f1527174bd2c2c42380cf0682715306287f96d453ef955f5e0 -AUX spek-0.8.3-ffmpeg3-1.patch 1314 BLAKE2B b8bc16079d2c6e7a108a6b4c92991ff674e0b073aef65da05bafc4ae3f88eeef1ae1728b563b7efbd1b64b95157a7e7519dfceb8007acc31de67a2eb87c76e34 SHA512 86f3668bff3ae9475d5db10c69ebbf277c0d03b18da3a1e8abc5531c80ebd22c4124e2fa700d9dfa4afda42d3141fc5fb569e4f7f2d9be2c6986577a3285eaaa -AUX spek-0.8.3-ffmpeg3.patch 1253 BLAKE2B 8111886d4e8fe3a6c7e942c617dbaecc16cf11691885458fc96dfb9988ef615392eb641454d26bcc40414fdbc0f590dab2f805f1f0e0549023edd7e6b5787a9c SHA512 3e56b1965e0bd07f11089c8e09af1d12f03ca34244f74703a006e5bb420cbcb9ae5f4af4e984b0735198f68b74143486bcc27f07c14dce4780b05b57fb87ed86 -AUX spek-0.8.3-replace-gnu+11-with-c++11.patch 248 BLAKE2B 90872d7bec32e44f4a792fc9c76ee38eb8c9406b1063dd217a8dc97794589a382eed1b34639e849382011f921ccb3b83032700277dd7a4bcb7b09659f14a46f4 SHA512 5bb0ac9970656a03d0c7ab7ddbde59660a0b443ffda59bf3a0e9897d8705f0b49211b8fec52f218c25aa7764d646eb47c489eb7b992bc6f32c7f82382e8d17b3 -AUX spek-0.8.3-stdlib.patch 472 BLAKE2B 3007ae0f366b366b67c3168e9e33cb18a72632e68886f8fcab428cde126c82fb84d7fc7d9b81fd0d8f77f81da49bcfdefd140d31afde4063a0b169d837d658e6 SHA512 d42906e7fbb0707fb8eefc3e3cc19a18c28f4af9b56995cdfa486fd3fab92c11cc313bc3b76fd115e99ada892e3191ff80f33020b0c4cc56fb26a0540b526ea4 +AUX 00_dfsg.patch 416 BLAKE2B a57f1ed325507b4d2d8600f08bbd5978bf3b621bfa3a3374e5c706f99c4bf2fb769f5d358e819b4633248682271a3f0fd96bfeb80cdb009feb230ca51dc7d06d SHA512 f30ac9a7027ba2877ef3382b31e1576f59d2d9a0a85482a79759afda9583e68fa61b4160825b95585e6747277c4bfbca61cc74bc7a66076f391a1fa2b91a2f54 +AUX 01_arm64-mips64el.patch 580 BLAKE2B 4908a8c59757555f091b666a71b8be65ba5895864dadd1be39f142c07962c881879ae04249c5c59519c5dd0520ae997cb699cc279299962880d73f4328a9c0d2 SHA512 4c6b9f8139788ccdc0cba16e0a5b6b41a0a3d0ac66e3a0227f137a00125266ae2c0675759524f4d8055c2d1fcd93b5acf8181dbb0df007dd25ac5bc3f34f3d3c +AUX 02_ftbfs-gcc13.patch 304 BLAKE2B 021f51fae89596aafb2b9e2085fedd9eaf013f8a44819f87dae18b25e976393b3c106502808cc1ce3bf2ec0ae839ec63375f7a1abc030219bf0cfbbc2ddd7518 SHA512 5f4cab0ee67991d441ff6c717b21c0a3a3f4f756954947fa8de81533b72053a68da38ef467cd7b1f489031b02db4c7db9e9c3ddb86a25710a629b6c0f054380a +AUX 03_metainfo.patch 2908 BLAKE2B 5dd973c3e42c13ecbcf39347efa2916a3d8b3583f39c4c6982102c43177b6271ef60b6acc69a2e052a5860963af17bcadeb9fe880b005c278874bf5d8c0eef5f SHA512 de573e457cf90948543db18053a5b02286166b88b55f9456436d796578d8a2aa84d022db980dd82bf936757dc38f86b9f7b67b9c37b1f2d94b934183ae96b001 AUX spek-0.8.4-disable-updates.patch 300 BLAKE2B 47a8035f2a3acc4bb3ff1163b8fa67af9812a5faf971f368e2ed1bb833dede9c659800228168512dfc6e6aa96487f780ac2ecb200c4baac581fd1621203954b6 SHA512 3d9c8c436606d9ad4275e5e9c1e8f8a32f6609a6b44e8bb7717ac9909e00fcebd9a601ba24c2082d473dbfa7bcdde995f89bd7af2e83c5a2e52b318fb70b77df -DIST spek-0.8.3.tar.gz 1349573 BLAKE2B ce783c319741c43f27462caf9dcd27e71f4c8fbc9d3a3d2ac0b977189cca4cf8ed14f258958bbf59532c4cae97562fa20819222ae68567e9e607f243a2777000 SHA512 a4b54746316d295574bc963e650728b23b3730ee6bcc8d78b043a5678baac70a0e859870120de2b0e6a17059e9e3757075f4691e2abde98c083afc393e93e17c -DIST spek-0.8.4.tar.xz 430096 BLAKE2B 4b3a512f0a8e74650161c9ed7ef0e054325d9f42743362180d970854fccc99cf20fcf329643ffbd0e84a5ee0aff746d2fc2750b91f300e29243ce1194b1b0d9d SHA512 08e39d4c0c7732feec159a8ff29550a62bab37a01325589787e027a027c50ee926f4cd9e0971061bf4e0b53a590b842c6586b4173e09cc9b27dd3b5668dc2d8b DIST spek-0.8.5.tar.xz 430464 BLAKE2B 54c977cc38f8162ec7fe45fe9eca023a9bdd2c1b42c0ad80dcf07c15ab93b416f58b499a3e8a9b9bb2ed16143deb899ce1c4fed2eba6b0e78eeab8b23a3326e7 SHA512 25f72c9372b142183ab34c47f1d7d6e62b9316d94b31aacff5d3ca007be030f4848a385be1bbb98f285aba010804fd429a7e099e597c30861347f5b8ed50d5b1 -EBUILD spek-0.8.3-r1.ebuild 893 BLAKE2B 81c94f5b4ae9f969d716ed1500199523cef3a36a6fc021161cb8c2369137d1d76c48b6aa14703f5fb4e40e17e0a5f152e3fc4b36b4d234445c6105a43e9de819 SHA512 e81fa761631491f921a4841a3df30aa54ff95d3c0d79da8788d99e0ca11b40070e355dff101577d1ee46c72632cf04cc165fc37daafd4277e4250d0fbe4b688a -EBUILD spek-0.8.4.ebuild 630 BLAKE2B c6b684e61b933eac984ac1555aaa45788bc5b8c6b03b3c7d2180dadb656c850797ecb00878891714df3a3abd2ee7a0dde84a0240dc4ac7134340e64055535145 SHA512 f17752eda54995f7840bb3dce921080331bf7bfd9ebeeed99a7142b8f138a871723c56738664e21ea6982ffe8c2cb6ccc1632826bd5a1dd4767859867c26dfad +EBUILD spek-0.8.5-r1.ebuild 811 BLAKE2B a944417e12f3b7f61da266190d7ec398d073b2cafee8bb63683ed9a06e97bbd90183cbed27a372db92793184f082cfb1e99c4be0128b57b6e2819d8b7ac8578f SHA512 75341d7a493b0ce6b5352c25d21f0832c7e34cf510ccbfe19be990d78c7c1b1807486201d801bd028689cab2894cb2a81a5a8581185f9af0159a1479fbf77456 EBUILD spek-0.8.5.ebuild 636 BLAKE2B bb2796afc46a73c7d063941bac919e45e2a2e2b1c0752cd3517f4b3e87867eef534c47b6075d79f6a8d5371f53dd0a751bdd1ab14dacee1defb16a32ea36dd8a SHA512 f0dbe6a3a7b353b3e653eaa7d60c47bb2c3c2fe8e24265d24fac124ad540491429d5d2c279baceb8ee680996513e17f92b3ab75c02048503884fb4521271d86e MISC metadata.xml 294 BLAKE2B 231c116c29552dc02373f839d0c41fc6937d307ac169be8fb4ed7303990deb8a1b6f64d6f9613065136a4204115b885b6a0ef289e6f4265b498c59b2c1e0b4d1 SHA512 da1c3f55330bfe6e15bcefc458d9d73898e9d231efaac7b2ea1dc0cde97ca18e436c347f4742870bf2b8dd900477486c5132f78132398901de42bf90803bcf2d diff --git a/media-sound/spek/files/00_dfsg.patch b/media-sound/spek/files/00_dfsg.patch new file mode 100644 index 000000000000..4384fc1f326d --- /dev/null +++ b/media-sound/spek/files/00_dfsg.patch @@ -0,0 +1,19 @@ +Author: Matteo Bini <matteobin@tiepi.it> +Description: Remove DFSG excluded files for Autoconf +Forwarded: not-needed +--- a/configure.ac ++++ b/configure.ac +@@ -81,13 +81,10 @@ AC_CONFIG_FILES([ + data/icons/32x32/Makefile + data/icons/48x48/Makefile + data/icons/scalable/Makefile +- dist/osx/Info.plist +- dist/win/spek.wxs + man/Makefile + po/Makefile.in + src/Makefile + tests/Makefile +- web/version + ]) + AC_OUTPUT + diff --git a/media-sound/spek/files/01_arm64-mips64el.patch b/media-sound/spek/files/01_arm64-mips64el.patch new file mode 100644 index 000000000000..8d14a48b3b29 --- /dev/null +++ b/media-sound/spek/files/01_arm64-mips64el.patch @@ -0,0 +1,15 @@ +Author: Mike Wang <mikewang000000@gmail.com> +Bug: https://github.com/alexkay/spek/issues/262 +Description: Fix FFT unit tests +Forwarded: https://github.com/alexkay/spek/commit/0998df9a7ac99d509ddd10fb76d883f24efc0179 +--- a/tests/test-fft.cc ++++ b/tests/test-fft.cc +@@ -62,7 +62,7 @@ static void test_sine() + if (i == k) { + continue; + } +- if (plan->get_output(i) > -150.0f) { ++ if (plan->get_output(i) > -149.0f) { + silence = false; + break; + } diff --git a/media-sound/spek/files/02_ftbfs-gcc13.patch b/media-sound/spek/files/02_ftbfs-gcc13.patch new file mode 100644 index 000000000000..3271d2eb3947 --- /dev/null +++ b/media-sound/spek/files/02_ftbfs-gcc13.patch @@ -0,0 +1,10 @@ +Author: Matteo Bini <matteobin@tiepi.it> +Description: Fix ftbfs with GCC-13 +Forwarded: https://github.com/alexkay/spek/commit/b1600d9926fa434330171cbebb407d2d0ccdcf03 +--- a/tests/perf.cc ++++ b/tests/perf.cc +@@ -1,3 +1,4 @@ ++#include <cstdint> + #include <cstdlib> + #include <iostream> + #include <fstream> diff --git a/media-sound/spek/files/03_metainfo.patch b/media-sound/spek/files/03_metainfo.patch new file mode 100644 index 000000000000..f4e57657f36a --- /dev/null +++ b/media-sound/spek/files/03_metainfo.patch @@ -0,0 +1,66 @@ +Author: Nils Fürniß <contact@nalsai.de> +Description: Add metainfo file +Forwarded: https://github.com/alexkay/spek/commit/03d7fb6a1a01e7a0adffd0b083fa4c026efb8f84 +--- a/data/Makefile.am ++++ b/data/Makefile.am +@@ -6,8 +6,15 @@ desktopdir = $(datadir)/applications + desktop_in_files = spek.desktop.in + desktop_DATA = spek.desktop + +-EXTRA_DIST = spek.desktop.in +-CLEANFILES = spek.desktop ++appdatadir = $(datadir)/metainfo ++appdata_in_files = spek.metainfo.xml.in ++appdata_DATA = spek.metainfo.xml ++ ++EXTRA_DIST = spek.desktop.in spek.metainfo.xml.in ++CLEANFILES = spek.desktop spek.metainfo.xml + + spek.desktop: spek.desktop.in $(wildcard $(top_srcdir)/po/*po) + $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ ++ ++spek.metainfo.xml: spek.metainfo.xml.in $(wildcard $(top_srcdir)/po/*po) ++ $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ +--- a/data/spek.metainfo.xml.in ++++ b/data/spek.metainfo.xml.in +@@ -0,0 +1,40 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<component type="desktop-application"> ++ <id>cc.spek.Spek</id> ++ <metadata_license>CC0-1.0</metadata_license> ++ <project_license>GPL-3.0</project_license> ++ <name>Spek</name> ++ <summary>View spectrograms of your audio files</summary> ++ <description> ++ <p>Spek is an acoustic spectrum analyser written in C and C++. It uses FFmpeg libraries for audio decoding and wxWidgets for the GUI.</p> ++ <ul> ++ <li>Supports all popular lossy and lossless audio file formats thanks to the FFmpeg libraries.</li> ++ <li>Ultra-fast signal processing, uses multiple threads to further speed up the analysis.</li> ++ <li>Shows the codec name and the audio signal parameters.</li> ++ <li>Allows to save the spectrogram as an image file.</li> ++ <li>Drag-and-drop support; associates with common audio file formats.</li> ++ <li>Auto-fitting time, frequency and spectral density rulers.</li> ++ <li>Adjustable spectral density range.</li> ++ <li>Translated into 19 languages.</li> ++ </ul> ++ </description> ++ <screenshots> ++ <screenshot type="default"> ++ <image>https://raw.githubusercontent.com/alexkay/spek/b3759bbb7d1108b3193394b941eeee982f15b739/web/flac.png</image> ++ </screenshot> ++ </screenshots> ++ <categories> ++ <category>Audio</category> ++ <category>AudioVideo</category> ++ </categories> ++ <url type="homepage">https://www.spek.cc/</url> ++ <url type="bugtracker">https://github.com/alexkay/spek/issues</url> ++ <developer_name>alexkay</developer_name> ++ <content_rating type="oars-1.1" /> ++ <launchable type="desktop-id">spek.desktop</launchable> ++ <releases> ++ <release version="0.8.5" date="2023-01-10"/> ++ <release version="0.8.4" date="2022-07-11"/> ++ <release version="0.8.2" date="2016-01-19"/> ++ </releases> ++</component> diff --git a/media-sound/spek/files/spek-0.8.1-disable-updates.patch b/media-sound/spek/files/spek-0.8.1-disable-updates.patch deleted file mode 100644 index e035a4c60819..000000000000 --- a/media-sound/spek/files/spek-0.8.1-disable-updates.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- spek-0.8.1/src/spek-preferences.cc -+++ spek-0.8.1/src/spek-preferences.cc -@@ -62,7 +62,7 @@ - - bool SpekPreferences::get_check_update() - { -- bool result = true; -+ bool result = false; - this->config->Read(wxT("/update/check"), &result); - return result; - } diff --git a/media-sound/spek/files/spek-0.8.3-AR.patch b/media-sound/spek/files/spek-0.8.3-AR.patch deleted file mode 100644 index be797ba663fc..000000000000 --- a/media-sound/spek/files/spek-0.8.3-AR.patch +++ /dev/null @@ -1,18 +0,0 @@ -Bug: https://bugs.gentoo.org/754861 -https://github.com/alexkay/spek/pull/198 - -diff --git a/configure.ac b/configure.ac -index 3fc451b..b270033 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -5,6 +5,7 @@ AM_INIT_AUTOMAKE([1.11.1 foreign no-dist-gzip dist-xz serial-tests]) - AM_SILENT_RULES([yes]) - - AC_LANG([C++]) -+AM_PROG_AR - AC_PROG_CXX - CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra" - AC_PROG_CXXCPP --- -2.26.2 - diff --git a/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch b/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch deleted file mode 100644 index dee0e3ca0f8f..000000000000 --- a/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://github.com/alexkay/spek/commit/ee8bc49ed4a93a14a933ecb0eebfe424111f8413 - -Index: spek-0.8.3/src/spek-audio.cc -=================================================================== ---- spek-0.8.3.orig/src/spek-audio.cc -+++ spek-0.8.3/src/spek-audio.cc -@@ -202,7 +202,7 @@ AudioFileImpl::AudioFileImpl( - this->packet.data = nullptr; - this->packet.size = 0; - this->offset = 0; -- this->frame = avcodec_alloc_frame(); -+ this->frame = av_frame_alloc(); - this->buffer_size = 0; - this->buffer = nullptr; - this->frames_per_interval = 0; -@@ -218,7 +218,7 @@ AudioFileImpl::~AudioFileImpl() - if (this->frame) { - // TODO: Remove this check after Debian switches to libav 9. - #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0) -- avcodec_free_frame(&this->frame); -+ av_frame_free(&this->frame); - #else - av_freep(&this->frame); - #endif -@@ -258,7 +258,7 @@ int AudioFileImpl::read() - - for (;;) { - while (this->packet.size > 0) { -- avcodec_get_frame_defaults(this->frame); -+ av_frame_unref(this->frame); - auto codec_context = this->format_context->streams[this->audio_stream]->codec; - int got_frame = 0; - int len = avcodec_decode_audio4(codec_context, this->frame, &got_frame, &this->packet); diff --git a/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch b/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch deleted file mode 100644 index ad82a38c31c5..000000000000 --- a/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch +++ /dev/null @@ -1,37 +0,0 @@ -commit 1ef950dcbf89dd8adf816009b54009f487828a45 -Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> -Date: Sun Mar 27 14:19:42 2016 -0700 - - Replace deprecated FFmpeg API - -diff --git a/src/spek-audio.cc b/src/spek-audio.cc -index b7633bc..21ea7a4 100644 ---- a/src/spek-audio.cc -+++ b/src/spek-audio.cc -@@ -222,7 +222,7 @@ AudioFileImpl::~AudioFileImpl() - this->packet.data -= this->offset; - this->packet.size += this->offset; - this->offset = 0; -- av_free_packet(&this->packet); -+ av_packet_unref(&this->packet); - } - if (this->format_context) { - if (this->audio_stream >= 0) { -@@ -326,7 +326,7 @@ int AudioFileImpl::read() - this->packet.data -= this->offset; - this->packet.size += this->offset; - this->offset = 0; -- av_free_packet(&this->packet); -+ av_packet_unref(&this->packet); - } - - int res = 0; -@@ -334,7 +334,7 @@ int AudioFileImpl::read() - if (this->packet.stream_index == this->audio_stream) { - break; - } -- av_free_packet(&this->packet); -+ av_packet_unref(&this->packet); - } - if (res < 0) { - // End of file or error. diff --git a/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch b/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch deleted file mode 100644 index 624e969dba4a..000000000000 --- a/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- spek-0.8.3/configure.ac -+++ spek-0.8.3/configure.ac -@@ -6,7 +6,7 @@ - - AC_LANG([C++]) - AC_PROG_CXX --CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra" -+CXXFLAGS="$CXXFLAGS -std=c++11 -Wall -Wextra" - AC_PROG_CXXCPP - AC_PROG_RANLIB - AC_PROG_INSTALL diff --git a/media-sound/spek/files/spek-0.8.3-stdlib.patch b/media-sound/spek/files/spek-0.8.3-stdlib.patch deleted file mode 100644 index c0ffa16b4d52..000000000000 --- a/media-sound/spek/files/spek-0.8.3-stdlib.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://bugs.gentoo.org/519450 - ---- spek-0.8.3/src/spek-fft.cc -+++ spek-0.8.3/src/spek-fft.cc -@@ -17,6 +17,7 @@ - */ - - #include <math.h> -+#include <stdlib.h> - - #define __STDC_CONSTANT_MACROS - extern "C" { ---- spek-0.8.3/src/spek-events.cc -+++ spek-0.8.3/src/spek-events.cc -@@ -16,6 +16,7 @@ - * along with Spek. If not, see <http://www.gnu.org/licenses/>. - */ - -+#include <stdlib.h> - #include "spek-events.h" - - //IMPLEMENT_DYNAMIC_CLASS(SpekHaveSampleEvent, wxEvent) diff --git a/media-sound/spek/spek-0.8.3-r1.ebuild b/media-sound/spek/spek-0.8.3-r1.ebuild deleted file mode 100644 index be7cff895114..000000000000 --- a/media-sound/spek/spek-0.8.3-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0" - -inherit autotools wxwidgets xdg - -DESCRIPTION="Analyse your audio files by showing their spectrogram" -HOMEPAGE="http://www.spek-project.org/" -SRC_URI="https://github.com/alexkay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - media-video/ffmpeg:0= - x11-libs/wxGTK:${WX_GTK_VER}[X]" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.1-disable-updates.patch - "${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch - "${FILESDIR}"/${P}-stdlib.patch - "${FILESDIR}"/${P}-ffmpeg3.patch - "${FILESDIR}"/${P}-ffmpeg3-1.patch - "${FILESDIR}"/${P}-AR.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - setup-wxwidgets unicode - default -} diff --git a/media-sound/spek/spek-0.8.4.ebuild b/media-sound/spek/spek-0.8.5-r1.ebuild index 437ebc2afb97..f40e5769fa0b 100644 --- a/media-sound/spek/spek-0.8.4.ebuild +++ b/media-sound/spek/spek-0.8.5-r1.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +WX_GTK_VER="3.2-gtk3" -WX_GTK_VER="3.0-gtk3" - -inherit wxwidgets xdg +inherit autotools wxwidgets xdg DESCRIPTION="Analyse your audio files by showing their spectrogram" HOMEPAGE="http://spek.cc/" @@ -16,18 +15,26 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - media-video/ffmpeg:= - x11-libs/wxGTK:${WX_GTK_VER}[X]" + >=media-video/ffmpeg-5:= + x11-libs/wxGTK:${WX_GTK_VER}[X] +" DEPEND="${RDEPEND}" BDEPEND=" sys-devel/gettext - virtual/pkgconfig" + virtual/pkgconfig +" PATCHES=( "${FILESDIR}"/${PN}-0.8.4-disable-updates.patch + # Debian patches + "${FILESDIR}"/00_dfsg.patch + "${FILESDIR}"/01_arm64-mips64el.patch + "${FILESDIR}"/02_ftbfs-gcc13.patch + "${FILESDIR}"/03_metainfo.patch ) -src_configure() { +src_prepare() { setup-wxwidgets unicode default + eautoreconf } |