diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-14 16:34:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-14 16:34:53 +0000 |
commit | dfd7c8230bca447ee0b09dc11150181b0b3148e2 (patch) | |
tree | 11f7e2fe7599d1e364bdfb4176f2f41e99a3c603 /media-sound | |
parent | cd8b6c60f3cbb06647bf3d03fb2ac29ccfc31c8f (diff) |
gentoo auto-resync : 14:11:2023 - 16:34:53
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57283 -> 57284 bytes | |||
-rw-r--r-- | media-sound/hydrogen/Manifest | 8 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.2.1-gnuinstalldirs.patch | 4 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch | 2 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.3.0-cflags.patch | 11 | ||||
-rw-r--r-- | media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch | 25 | ||||
-rw-r--r-- | media-sound/hydrogen/hydrogen-9999.ebuild | 4 | ||||
-rw-r--r-- | media-sound/mac/Manifest | 2 | ||||
-rw-r--r-- | media-sound/mac/mac-10.24.ebuild | 31 | ||||
-rw-r--r-- | media-sound/mpg123/Manifest | 3 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-1.31.3-r1.ebuild | 110 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-1.31.3.ebuild | 110 |
12 files changed, 43 insertions, 267 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex b461d70df71b..813ec5a3dfec 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest index 92938f02adf1..126b7ccae725 100644 --- a/media-sound/hydrogen/Manifest +++ b/media-sound/hydrogen/Manifest @@ -1,6 +1,8 @@ -AUX hydrogen-1.2.1-gnuinstalldirs.patch 1893 BLAKE2B 5c73531087d253791c0168db9454e9a3da31afa3989eb08291053939b5fe4ff438364a632f42ce965434a64a09cf18a67d34538892348ff554d4e49b75493e87 SHA512 b957b08ad9f92a0238ec55732024c43dfcba66b294fea5f0ac37c4c714ed88499726b0fcc4e4c7995d22c42f587a5ece3fb13886a132a3dbc11e66d0e84e83da -AUX hydrogen-1.2.2-cflags.patch 357 BLAKE2B 1d1373088426ed706f5d338bd2473b505bcabae1eba0220cfdb49267323ed57358126d6de2f1300cdc7037687c3de847158469d1858013f98873ae0e73d9d9b0 SHA512 5e1fd16f821c0f8d0ca409c9c92a06ab6eb36bdef53d409c351156e136ad9b7b3b085c95a27d6a9739ed23b5c6bf6ac0766be386eed568378f5aedbc587d55e7 +AUX hydrogen-1.2.1-gnuinstalldirs.patch 1725 BLAKE2B e6b4b0f00b3a155d391ee21ad031b3a12882e652914b9ab40550bade3fc2465c327abe2edb9a4a9ff8e7d15d6700a16ba3e081bba696110ce96f21b91c90ed98 SHA512 d81f04c4f66d860832d767cdb0ef85fbfd05c4846c38ea1b4128ed1bb7e384b54e9844f91236b8fa39af50691334f22efcbea348fc48fc71e844a5b9bd03acab +AUX hydrogen-1.2.2-cflags.patch 282 BLAKE2B 9535b11fe3d29d5a2ae621aa25084d3cf1540143a3c17979ef9f088b99a7ace4a7e0307f06582f660cb3e7820f27486d130d0f9738670d84e2892a5553043021 SHA512 07d1d0fad5d018507fbf533d71f38ba2325fefb2e51973e3b032fe029b4688695388e7962556d57d9f128178c05235a0aad2281d4b4bd5c293f2f8e10eb51815 +AUX hydrogen-1.3.0-cflags.patch 282 BLAKE2B c16bd70b48e231f98787d416d2658c95c329237433f5734a24bd50caa4cf4922964afe80d2a4c4e08e5e169dacfbe415e75db9502169dfae15e6b9ded3d4eb68 SHA512 ff7733a3e1123e6851f5697f2c36c46a457ba22e9543399abe1cd9969d75eddd1c5afc27b4eb97747f86457485acb42c8154fc423b49c8a8a112c519639bae39 +AUX hydrogen-1.3.0-gnuinstalldirs.patch 1677 BLAKE2B 3346a4043f26f7cb9eb65ecb2f42c996b14fc9eab6ba87ace41e928868248e1ed12c00eef55b4d6ea54205d8fb561e42cdb39a6f7e21ca1e3e6497571c17055f SHA512 0e675e6fa839aa0451bdf1caf6fee66b973092ef5ac32ff301f8e9d5f114461d0d95b836012da5cc2fcf756c38eed33ff7233bb44ff83f6275f439eecdd247f5 DIST hydrogen-1.2.2.tar.gz 12948890 BLAKE2B 30d8624078a29a0514aee01d56865e5923f755de02acfddde45a26d6ffbd68cf3c8c774827fe4538b7d03faefaabb9ddcfd9a28bb404c535ad7f6734eb5b1aff SHA512 bd6b102b14d30a8e2f4ea7e405199bb34f9b7691b57c3f9f3096c9e30c25c158e3bfd40bcfdd2d449bc153b7d3d9717df401f1e7a086e33dc953247870f1dee0 EBUILD hydrogen-1.2.2-r1.ebuild 2113 BLAKE2B f78e407369f85ca05f053950ae826a51903f9750830bacee886b5ef594c249a4787949f804248b6bde73257d817b5770fe31244ce9a59bfdcd81edeeb27d707c SHA512 25022dae42bf24fa3b4f076a7635036554c21fa634c68fc9e30adaf6aac7c3f69da8da6355a20945241192810d056ef3c3116d34fbb4f70df5530d2ac171a76c -EBUILD hydrogen-9999.ebuild 2120 BLAKE2B 8574c965293a8b6c081e02498519b8cc647640cf2d21a6319f476b690d15bd4190870c5ae4a5272b87ad3da3e45e0c9b2afa9c520cc4b9df9dcca4ba7aec11dc SHA512 dd477d0a775e5b4d268c0aa273f8cc1a2b81d0a26cc55acec57a366b94d24f353400ca6eae857236c2248e3cbc6c04cd5a0bbf2adf743a5a385251b670334e7e +EBUILD hydrogen-9999.ebuild 2120 BLAKE2B 903cbde4cf7fd4276a2f514ee7c3254868cc901518c7208ca5854ad99fcf04bad52e8557f9d5a3de699fbf08a909581b1e7f099eaeacb1c21f5f23c50fb34e0f SHA512 d1655b2d89514636eeb31c93ee455c088a87a93dddd6e060425a089aa73754caf6c8064bc42fae6b3797243174a043da8422f286f4190d2bda521aa3c65fd724 MISC metadata.xml 478 BLAKE2B bd59feef45263e2f2440696d657c0845f70498b64dec764dc4fff3e0c837a725195f55a2a651498f5c38448ae7c45fdc50def9a8068fe58e93332ad66de7e1ab SHA512 757c7766697ad73293ed281df0079de5775068bc6b899a9dc6bd3a41a36ed024646e01d242177948be1756d407e44cacd2bb2ed7ec0e4698fd358ec0031db3c4 diff --git a/media-sound/hydrogen/files/hydrogen-1.2.1-gnuinstalldirs.patch b/media-sound/hydrogen/files/hydrogen-1.2.1-gnuinstalldirs.patch index d7b6105a42ff..61f94d84bfc7 100644 --- a/media-sound/hydrogen/files/hydrogen-1.2.1-gnuinstalldirs.patch +++ b/media-sound/hydrogen/files/hydrogen-1.2.1-gnuinstalldirs.patch @@ -1,5 +1,3 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dc368f7..b764d7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -418,10 +418,10 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/data/doc/CMakeLists.txt) @@ -16,8 +14,6 @@ index dc368f7..b764d7c 100644 ENDIF() # -diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt -index e96d7ed..79b74e0 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -77,5 +77,5 @@ ENDIF() diff --git a/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch b/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch index f244b4edcc08..13bd531df885 100644 --- a/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch +++ b/media-sound/hydrogen/files/hydrogen-1.2.2-cflags.patch @@ -1,5 +1,3 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1fe4013..180aa2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,7 @@ ENDIF() diff --git a/media-sound/hydrogen/files/hydrogen-1.3.0-cflags.patch b/media-sound/hydrogen/files/hydrogen-1.3.0-cflags.patch new file mode 100644 index 000000000000..f08f1af10ddd --- /dev/null +++ b/media-sound/hydrogen/files/hydrogen-1.3.0-cflags.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -173,7 +173,7 @@ endif() + if(WANT_DEBUG) + set(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O0") + else() +- set(CMAKE_CXX_FLAGS "$ENV{CMAKE_CXX_FLAGS} -O3 -ffast-math") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") + endif() + + if(WANT_APPIMAGE) diff --git a/media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch b/media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch new file mode 100644 index 000000000000..c716ca75ac9e --- /dev/null +++ b/media-sound/hydrogen/files/hydrogen-1.3.0-gnuinstalldirs.patch @@ -0,0 +1,25 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -478,10 +478,10 @@ else() + endif() + install(DIRECTORY data DESTINATION ${H2_DATA_PATH} PATTERN ".git" EXCLUDE PATTERN "i18n" EXCLUDE PATTERN doc EXCLUDE) + if(NOT MINGW AND NOT APPLE) +- install(FILES ${CMAKE_SOURCE_DIR}/linux/org.hydrogenmusic.Hydrogen.metainfo.xml DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo") +- install(FILES ${CMAKE_SOURCE_DIR}/linux/org.hydrogenmusic.Hydrogen.desktop DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") ++ install(FILES ${CMAKE_SOURCE_DIR}/linux/org.hydrogenmusic.Hydrogen.metainfo.xml DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/metainfo") ++ install(FILES ${CMAKE_SOURCE_DIR}/linux/org.hydrogenmusic.Hydrogen.desktop DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications") + install(FILES ${CMAKE_SOURCE_DIR}/data/img/gray/h2-icon.svg DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/icons/hicolor/scalable/apps" RENAME "org.hydrogenmusic.Hydrogen.svg") +- install(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1") ++ install(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_FULL_MANDIR}/man1") + endif() + + # +--- a/src/core/CMakeLists.txt ++++ b/src/core/CMakeLists.txt +@@ -77,5 +77,5 @@ endif() + + if(NOT APPLE AND NOT WIN32) + install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/core DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hydrogen" FILES_MATCHING PATTERN "*.h" PATTERN ".svn" EXCLUDE) +- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/config.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hydrogen" ) ++ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/config.h" DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/hydrogen" ) + endif() diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild index 28fdaf94ba63..440fe2ae3992 100644 --- a/media-sound/hydrogen/hydrogen-9999.ebuild +++ b/media-sound/hydrogen/hydrogen-9999.ebuild @@ -59,8 +59,8 @@ RDEPEND="${CDEPEND}" DOCS=( AUTHORS ChangeLog DEVELOPERS.md README.md ) PATCHES=( - "${FILESDIR}/${PN}-1.2.1-gnuinstalldirs.patch" - "${FILESDIR}/${PN}-1.2.2-cflags.patch" + "${FILESDIR}/${PN}-1.3.0-gnuinstalldirs.patch" + "${FILESDIR}/${PN}-1.3.0-cflags.patch" ) src_prepare() { diff --git a/media-sound/mac/Manifest b/media-sound/mac/Manifest index 31cbbc98b166..0ce941f24073 100644 --- a/media-sound/mac/Manifest +++ b/media-sound/mac/Manifest @@ -3,10 +3,8 @@ AUX mac-10.18-output.patch 2812 BLAKE2B 1b4324f2f13a1e87e5ee4f2f063f3e2f242c1a47 AUX mac-4.11.4.5.7-gcc6.patch 10119 BLAKE2B d6a363f26c7a08c6bdb0e14fea6bb29553427372fa74375c1cf5721f28bd6bbcc6e091cb3703705d773bda93e3cede89725cbe28b8b678307fa3d5eeca1c3a5d SHA512 0439cb133779dd540c5cee6760dd6a8acd23434b60baaba804430883cb6d67ca37151370356e9adec3f031cb02c34d529a8f91618f0f9fca6e58e14a295c3a63 AUX mac-4.11.4.5.7-null.patch 406 BLAKE2B 8e8c38cebd040bc9728de64c994ee422ee6ab6f403773ff69ea26b85c38ceb4b15ced1b3b6343b36ebc7e380bde54eddf2c13e6c00e8f33cfac99955f6b44920 SHA512 d8fc2ed994b627176f78796980a9d8f4ce386c97aa05ce68085f642f3feb62a0994f88c8586f60a4a1f1116bc42e57d3881deb967e81a887eed800589d61c867 AUX mac-4.11.4.5.7-output.patch 1498 BLAKE2B 7016b28d4c9a71d02471de1f4a5e5f1ade7db75d53f096916d3f87b154d82fcb4c3e6fd3891f909e0eebef512795ad2072d332241d69315b9e1ab959f7f895ad SHA512 c96874817ea5389ea2af46c634cd548733e614274b43c9395e146c9151dd9e7a03bbb8c82f36807cc2178070f8a87b886c6db94c27cb4369dbfcb874074db490 -DIST mac-10.24.zip 1653617 BLAKE2B 4b22b29cbdaa8d715d985231feafdc4c5a3e85e623b2954bcdfaa3cc868502be8c6aa809264bc3b9d3b096bfa2b34fe22724ec5a072c3c93242834790d08aea7 SHA512 e6e88d14b2bc2b33425fc653e1771709f3cddfbed5441090eab32009365e8770aef52e0a4229ca189180d59b928f4f899302fde9f9b8ac7bfbc5fb15533b26c4 DIST mac-10.25.zip 1654085 BLAKE2B c4e32bb1af2ecf893931075e0a91ae11fc25e1e911150e40746b50aed9bb7eacfac6cac61f9c65329c497262a7965ce59cb2a179087b60b17185949c61c2df8a SHA512 34ae8ad1d27d79cebf680b7e99954028dea197165414cec507459b868739ae1e43e810553ead095dcbe91e696bb8d5c8b7677780efa13aff5a61011594ebecb7 DIST monkeys-audio_4.11-u4-b5-s7.orig.tar.gz 511190 BLAKE2B 28b5a3aadd9dae410c93cfc43c40c07fe207036f27cf60d59d8fa137a0327f90a78746c14930b7d3becb7f5fa69a454a6855aae1553dc74cd5168a9a523bb8f0 SHA512 7e73b35c86d6007ab2a94a2d8b7449bb4ac505bbba53e40373a279dc83a9cad5f62a51419a6375335576cf325c88ed7d317b0ef3039b8a497100cb74a63c25d0 -EBUILD mac-10.24.ebuild 595 BLAKE2B b1fd8cf304d1789e4bf368a2218ba7932d87f5f775b28ef71e0f4bf16968fc143d8a159188be73902f663d7158c49bcccbca79ca0e998547c5c5072a7078879e SHA512 2a8a1bd49b9b41a8a52e43eea311a29f334e5f359df0d2dc7149e677cca9c66ce019378c19d805b96afe4789491e9c397ea72a62f9352ef174763332c51da88d EBUILD mac-10.25.ebuild 595 BLAKE2B b1fd8cf304d1789e4bf368a2218ba7932d87f5f775b28ef71e0f4bf16968fc143d8a159188be73902f663d7158c49bcccbca79ca0e998547c5c5072a7078879e SHA512 2a8a1bd49b9b41a8a52e43eea311a29f334e5f359df0d2dc7149e677cca9c66ce019378c19d805b96afe4789491e9c397ea72a62f9352ef174763332c51da88d EBUILD mac-4.11.4.5.7-r1.ebuild 1419 BLAKE2B f0f98dbf50f62289d4f6767b96c3a31d70561253c014c2f0dd4e0941941c3389ea5c59e404ded08c0e2e3d0d0c658dbb378993b18aca171e71ee17cd8c6a318f SHA512 96d6deb9c106b8efe2c7ec151aabafdf1922475274efaf37763a22e538bbb73b021b607c1fd95ad591dcce4ec5506b6ee6ce4bd9488d4e124a3ff6353a2a78ec MISC metadata.xml 374 BLAKE2B ac05d2add0cd7ac5956aad2f5a7bc031880ac86b1ba62266c3d5afcfa769e687d974cf00e1e1d4c3b50964b5a05c193f4a033eabe0ec0a6d626018aedf32be00 SHA512 586664bdcd30ef7b414740d264e143511f39411a33b845ce0f39503dd2215e501fba07c408ea777472ede967e91001617ac91dd9acb303ad8757bcabbba17b0e diff --git a/media-sound/mac/mac-10.24.ebuild b/media-sound/mac/mac-10.24.ebuild deleted file mode 100644 index 0a410340c429..000000000000 --- a/media-sound/mac/mac-10.24.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Monkey's Audio Codecs" -HOMEPAGE="https://www.monkeysaudio.com" -SRC_URI="http://monkeysaudio.com/files/MAC_${PV/.}_SDK.zip -> ${P}.zip" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="~alpha amd64 ~loong ppc ppc64 ~riscv sparc x86" - -RDEPEND="" -DEPEND="" -BDEPEND="app-arch/unzip" - -src_unpack() { - mkdir -p "${S}" || die - cd "${S}" || die - default -} - -CMAKE_BUILD_TYPE=Release - -PATCHES=( - "${FILESDIR}/${PN}-10.18-linux.patch" - "${FILESDIR}/${PN}-10.18-output.patch" -) diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest index ec52163d33ff..a4ae94436bb1 100644 --- a/media-sound/mpg123/Manifest +++ b/media-sound/mpg123/Manifest @@ -1,6 +1,3 @@ -DIST mpg123-1.31.3.tar.bz2 1094474 BLAKE2B 343bca53e067485dba438a177ba65f38d512c4aaac6f413bb1e070f99d6407f9a694899f06fbd3577ef287b4e898b38ac3585f86d18f643cab15f678d3105c11 SHA512 5dd550e06f5d0d432cac1b7e546215e56378b44588c1a98031498473211e08bc4228de45be41f7ba764f7f6c0eb752a6501235bcc3712c9a8d8852ae3c607d98 DIST mpg123-1.32.3.tar.bz2 1111054 BLAKE2B 67f889403c2bb639d675ec5ebea5a19c4b7174971d62bdd8d940ad659e6b0c06dada38422fc9d71b878917aa89e305ec48c8faa78d65d507cd6a0c9a79951359 SHA512 946c1073b6eebfd65333ec543df1caeea25864479e9c8e153fb53d8b636cc756d8d81947f7b5cbedbbfb1ea664d3fb27562ed36e7726d95e80591bd2ad622afc -EBUILD mpg123-1.31.3-r1.ebuild 2989 BLAKE2B 4c42558156e251601969641261db7d209a46f3ba1824cd0379a0fbb2704858fc389b880437c1a39d2871278a0cb47d6384f77b4eefc2b203d3404377963b5677 SHA512 efe89a4deee7bd0b914a5adba2a7789719ce1a66bc94ef612dc5d5013883ba5a8ab2be26515158e58d7fa29c1cabda05353b344c93a3c1237193481916b97a48 -EBUILD mpg123-1.31.3.ebuild 2991 BLAKE2B 8a0ed91c206eb68ff907b23c34bd93431f518c7b344b7f2b62256ef8f4fa4b5cb40a18893d17164dfede32c2e39eb906ba7c38ec23b4d8c0c93476305c14af75 SHA512 ddaea7b6484da86fda2622889793e698b49e4ab3e3fe7b3f595cef280cbf264a8ef5c6796a09bea0196af8d1dbd7f8691041629d648d5a79a8308e5807577b3e EBUILD mpg123-1.32.3.ebuild 2988 BLAKE2B 57017403a9889d0cbb6df65215d1c1d7a0094a2ddf356bc10ef882ab181ac9785b0d3f708e0af428705490a3c62613163ae1b7a8713f4f58403fb0bd0d7980be SHA512 9c55b8ccb6b2b13e454cd562f76b86051c7d217c6ec2e9c88595422977c7e5054b2cba40a35fa1a95f0350b71f333d6c67aecf2e22ac7dcff29ad8d6a261c138 MISC metadata.xml 526 BLAKE2B 42eed8f068420cefea4cf3e75a880889be7abe182feec2aa95e0e7f550cf68eb2582460e43500d24b7ad189adb3e0e135da1079efb405957fe3dfc6b93a91ece SHA512 11e572b6ec77d6c971766e666db84ee4b605479c3f89ba639177de7fb109a8d9e38d1f5034a52554736e6bd0915aae84830169ba3580f6d64794adc4c8cb9d0e diff --git a/media-sound/mpg123/mpg123-1.31.3-r1.ebuild b/media-sound/mpg123/mpg123-1.31.3-r1.ebuild deleted file mode 100644 index c799d036667f..000000000000 --- a/media-sound/mpg123/mpg123-1.31.3-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs libtool multilib-minimal - -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" -HOMEPAGE="https://www.mpg123.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse" - -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. -# Note: build system prefers libsdl2 > libsdl. We could in theory add both -# but it's tricky when it comes to handling switching between them properly. -# We'd need a USE flag for both sdl1 and sdl2 and to make them clash. -RDEPEND=" - dev-libs/libltdl:0 - alsa? ( media-libs/alsa-lib ) - jack? ( virtual/jack ) - nas? ( media-libs/nas ) - portaudio? ( media-libs/portaudio ) - pulseaudio? ( media-libs/libpulse ) - sdl? ( media-libs/libsdl2 )" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/libtool - virtual/pkgconfig -" -IDEPEND="app-eselect/eselect-mpg123" - -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) - -src_prepare() { - default - elibtoolize # for Darwin bundles -} - -multilib_src_configure() { - local _audio=dummy - local _output=dummy - local _cpu=generic_fpu - - # Build fails without -D_GNU_SOURCE like this: - # error: ‘struct hostent’ has no member named ‘h_addr’ - append-cflags -D_GNU_SOURCE - - append-lfs-flags - - if $(multilib_is_native_abi) ; then - local flag - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do - if use ${flag}; then - _audio+=" ${flag/pulseaudio/pulse}" - _output=${flag/pulseaudio/pulse} - fi - done - fi - - use cpu_flags_ppc_altivec && _cpu=altivec - - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then - use cpu_flags_x86_sse && _cpu=x86-64 - elif use x86 && gcc-specs-pie ; then - # Don't use any mmx, 3dnow, sse and 3dnowext - # bug #164504 - _cpu=generic_fpu - else - use cpu_flags_x86_mmx && _cpu=mmx - use cpu_flags_x86_3dnow && _cpu=3dnow - use cpu_flags_x86_sse && _cpu=x86 - use cpu_flags_x86_3dnowext && _cpu=x86 - fi - - local myconf=( - --with-optimization=0 - --with-audio="${_audio}" - --with-default-audio=${_output} - --with-cpu=${_cpu} - --enable-network - $(use_enable ipv6) - --enable-int-quality=$(usex int-quality) - ) - - multilib_is_native_abi || myconf+=( --disable-modules ) - - ECONF_SOURCE="${S}" econf "${myconf[@]}" - - if ! $(multilib_is_native_abi) ; then - sed -i -e 's:src doc:src/libmpg123:' Makefile || die - fi -} - -multilib_src_install_all() { - einstalldocs - mv "${ED}"/usr/bin/mpg123{,-mpg123} - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - eselect mpg123 update ifunset -} - -pkg_postrm() { - eselect mpg123 update ifunset -} diff --git a/media-sound/mpg123/mpg123-1.31.3.ebuild b/media-sound/mpg123/mpg123-1.31.3.ebuild deleted file mode 100644 index 4834ae56d825..000000000000 --- a/media-sound/mpg123/mpg123-1.31.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs libtool multilib-minimal - -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" -HOMEPAGE="https://www.mpg123.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse" - -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. -# Note: build system prefers libsdl2 > libsdl. We could in theory add both -# but it's tricky when it comes to handling switching between them properly. -# We'd need a USE flag for both sdl1 and sdl2 and to make them clash. -RDEPEND=" - dev-libs/libltdl:0 - alsa? ( media-libs/alsa-lib ) - jack? ( virtual/jack ) - nas? ( media-libs/nas ) - portaudio? ( media-libs/portaudio ) - pulseaudio? ( media-sound/pulseaudio ) - sdl? ( media-libs/libsdl2 )" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/libtool - virtual/pkgconfig -" -IDEPEND="app-eselect/eselect-mpg123" - -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) - -src_prepare() { - default - elibtoolize # for Darwin bundles -} - -multilib_src_configure() { - local _audio=dummy - local _output=dummy - local _cpu=generic_fpu - - # Build fails without -D_GNU_SOURCE like this: - # error: ‘struct hostent’ has no member named ‘h_addr’ - append-cflags -D_GNU_SOURCE - - append-lfs-flags - - if $(multilib_is_native_abi) ; then - local flag - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do - if use ${flag}; then - _audio+=" ${flag/pulseaudio/pulse}" - _output=${flag/pulseaudio/pulse} - fi - done - fi - - use cpu_flags_ppc_altivec && _cpu=altivec - - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then - use cpu_flags_x86_sse && _cpu=x86-64 - elif use x86 && gcc-specs-pie ; then - # Don't use any mmx, 3dnow, sse and 3dnowext - # bug #164504 - _cpu=generic_fpu - else - use cpu_flags_x86_mmx && _cpu=mmx - use cpu_flags_x86_3dnow && _cpu=3dnow - use cpu_flags_x86_sse && _cpu=x86 - use cpu_flags_x86_3dnowext && _cpu=x86 - fi - - local myconf=( - --with-optimization=0 - --with-audio="${_audio}" - --with-default-audio=${_output} - --with-cpu=${_cpu} - --enable-network - $(use_enable ipv6) - --enable-int-quality=$(usex int-quality) - ) - - multilib_is_native_abi || myconf+=( --disable-modules ) - - ECONF_SOURCE="${S}" econf "${myconf[@]}" - - if ! $(multilib_is_native_abi) ; then - sed -i -e 's:src doc:src/libmpg123:' Makefile || die - fi -} - -multilib_src_install_all() { - einstalldocs - mv "${ED}"/usr/bin/mpg123{,-mpg123} - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - eselect mpg123 update ifunset -} - -pkg_postrm() { - eselect mpg123 update ifunset -} |