[proaudio] proaudio/proaudio: [3302] bump, cleanup |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 3302
Author: dominique
Date: 2022-10-28 04:32:25 +0200 (Fri, 28 Oct 2022)
Log Message:
-----------
bump, cleanup
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/museseq/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/museseq/files/museseq-4.1-cmake-rpath.patch
trunk/overlays/proaudio/media-sound/museseq/museseq-4.1.ebuild
trunk/overlays/proaudio/media-sound/museseq/museseq-9999.ebuild
Removed Paths:
-------------
trunk/overlays/proaudio/media-sound/museseq/files/museseq-2.1.1-cmake-rpath.patch
trunk/overlays/proaudio/media-sound/museseq/files/sse_functions_64bit.s
trunk/overlays/proaudio/media-sound/museseq/museseq-2.1.1.ebuild
trunk/overlays/proaudio/media-sound/museseq/museseq-2.9999.ebuild
Modified: trunk/overlays/proaudio/media-sound/museseq/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/Manifest 2022-10-28 02:18:31 UTC (rev 3301)
+++ trunk/overlays/proaudio/media-sound/museseq/Manifest 2022-10-28 02:32:25 UTC (rev 3302)
@@ -1,7 +1,6 @@
-AUX museseq-2.1.1-cmake-rpath.patch 442 SHA256 70bde2cdc603ce0547e1170d374e92da512a3a829826c9472b3bbaef7007f880 SHA512 5741ff14bc6fe2ee6f5557d89cf96650c5948e117a057fde764f3f2e63d29d57a3dab21f474cd1442d09b802cad64e4ed9fe25c0084d52eb70073dbaf7c07fb2 WHIRLPOOL 2ed96374df4963853df6217f7c8b9bde6fd7d6a0dabc7d5518f41775ce24fce0a7d5846d1e5733b1ef323878d7c6a3b4bdde59c55e9ec036c9a3668d64178239
-AUX sse_functions_64bit.s 12051 SHA256 460e6f8ec1a8a4691a72ebec5551c0104f933ea500c6f93ee51be47fb8508285 SHA512 14713938ef5c5cc8f0f9173b9d21729d9a01d3231f16f0322b9d5ff234bdeb2e0d582397ed2b6b6ca1c33237b8243d0241904eadd0f260e5b40cb25d8991513b WHIRLPOOL 045dfe3b99281836a5b9098c18b9692af98125b771532b51e44bc4585b931c3a43a30095da1d63a6bcd6d0131afc694bcd43e93d3c699158ae2d11d334637156
-DIST muse-2.1.1.tar.gz 5409903 SHA256 aa901a6ce014d8e7996d976ec43b8f8c9d454efb12a123e837de4c25a78de619 SHA512 dc2d632a8ae3ac22d20a9c68fe13d4c1e50011dacb4e0fdc3dda410ffbd4be06de01d1f317b3bd4447820855b9b6c543610e4dc1e8c9e24b13bf138ddc2ac1fb WHIRLPOOL c71aa26c0680239bf8e694624052e22a5dc087efe777f225fa8a8315eb65290e744c511cd3eab97c719a56dbaa18d9aba2bc2b38e6c233b54e2a9eba420e3e05
-EBUILD museseq-2.1.1.ebuild 1371 SHA256 b738c25645a3d48b6cba2340cd134c53314c179a5e0578852ce4968b0950d632 SHA512 91649b2f974978e53187576d4042bbabe6776edacf40cb8dacaf3811b1a439b4183f4dc89558d5a06ed6ad4d5ee0ab3dea928aa5dd871350e274a3fd7a8223de WHIRLPOOL 615a87151dfa244e230e793cdaef1c5649f9a1780911579f02af7166a19ed5898cf15e2cf764b12c8a633cad4de7176468727209504d136f837b05897f1b74e8
-EBUILD museseq-2.9999.ebuild 1348 SHA256 41098b80369b2fcec4e2083e55a1a0a1f2f6b7246e21d7345dbb4919037a681a SHA512 61f32862970ad73e681043b037aafb29b320bda9a1a40bff02eed9ca2366ab152531e21b33ee5e4b0b49ceaa492b7f8595d4b9546ee82ff6703692096113a5ca WHIRLPOOL 82e1bd989f0e76ebf786ea84976161187aaa98272c78994d1792a03fe48111333c44e8257374677033f0e16660ee9abf17f47f8502741a68549f837d27853e92
-MISC ChangeLog 2620 SHA256 bcc6a4e91cf51a2d22397631362021b168e5bcfecdf0d4ef03ab3aad254892f8 SHA512 a1c15133136c5b7a54e4c812b8560d50d489a5008671f43aae79a9b7bdd3f76e729246ba5d74826fc0005ede384a6261dc47f294b2243e0f74857bf2d4c53be1 WHIRLPOOL 5bd744cd5bf8247179831ad60e3b04774877a0ed06218313b025bcd081682fd9f49881cc498f98de4f1d41d5d1bc87c176cf9060186c678752322c3ab3a4d00d
-MISC metadata.xml 603 SHA256 8e497a29b208fd4546323fe278988c3b13c2657f713433a99cff906db0cac2f2 SHA512 e173d68af23c23a02c5cbea082cde793b05a955865ecf2a319d5c27b9f0e582a7e21020b14eccb8a576f4036d629b67f94c0885e07ca22a05c6688ee1b40da32 WHIRLPOOL 5bfc4cd7a95afcb76f256909eeb26272feff1fa26aaaaee2d2d55bb506baddf04ba578ca143d8fa5e2a4860aac2d622b049d86639a259a8d9be4620ad6b92208
+AUX museseq-4.1-cmake-rpath.patch 522 BLAKE2B 38916f64c313b4a0e4290e4e8ab95b075343c00656c756c053d02b2cc70bfb6b6d8be744d23c58e00c03f648952f10696931a636eaa9da731602acb89bdf1cde SHA512 eb99354477f582b1626f68e6706ffc84dcfd564c41706e87250825d2955bb091767b741d3f0d3a3934ef2329389f82e4f6f32539cf92ee6820f5194bc9524135
+DIST muse-4.1.tar.gz 11854563 BLAKE2B 88e3c69eb5ea50a8342d5b3dad9bc84221de5564a1c2d0ec7f0abcaea74d0fca00a0ca262653190bc36ec24ac6c379355f807b4e2acf8c3c58a00387c7166429 SHA512 70f8bd54dab7f62b630c2c8a12fdab42c74120e9713da66f8adac6a43b61243501d2d59cc12ba58e181241f90d448851e046c6413fdfcdc6123e47231a373d15
+EBUILD museseq-4.1.ebuild 1318 BLAKE2B d3c63006779b22df5a7d08330c522cf15c6ba30f5969d629b625fb4a89fe934fed47b8ffb9a1294c20ea4fb7d4d03137840e446274bfabc5df621938ae9ced46 SHA512 245edc61cb77a44add48b264719e171276c33b5d684565ca26fc0e957de27f9f9282ae40ec833c85e858bc5088ecd4c0c2b6253f6e535a5936cc08004ceec0a0
+EBUILD museseq-9999.ebuild 1942 BLAKE2B 45d9f0cd5ac36f9836aeb43b0bab418d7a0f27676eac9b67b9931b00645e0bf534e661a32af3b1ce2adb67e8987968878b8c4dfceca37a99f5a95bdce81a6a30 SHA512 ccb9a037e89b94f2a4855c4496c8585dbe64235c85e8f21184fe79105a22d83ac9596cb34e9ebb0977c337a7b3389a1775f65fc995e0131df1aa6f4b2f3b363d
+MISC ChangeLog 2620 BLAKE2B a36809e32590ff9062aced303d5c89fb95027fa005f12e6b44b8a86c8fa3edd440c68b86f35b662e13405f0f1e3dc8b1528061dd501eb725e8c2359b8f6f7fc2 SHA512 a1c15133136c5b7a54e4c812b8560d50d489a5008671f43aae79a9b7bdd3f76e729246ba5d74826fc0005ede384a6261dc47f294b2243e0f74857bf2d4c53be1
+MISC metadata.xml 603 BLAKE2B 042a8122d84d461da551a640edeace9c034a28096a7198bc24e610114e372dd2d04590cc93a177fd574e9b86a2c77c79b21924f51486a3fd124e9a88790c90bb SHA512 e173d68af23c23a02c5cbea082cde793b05a955865ecf2a319d5c27b9f0e582a7e21020b14eccb8a576f4036d629b67f94c0885e07ca22a05c6688ee1b40da32
Deleted: trunk/overlays/proaudio/media-sound/museseq/files/museseq-2.1.1-cmake-rpath.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/files/museseq-2.1.1-cmake-rpath.patch 2022-10-28 02:18:31 UTC (rev 3301)
+++ trunk/overlays/proaudio/media-sound/museseq/files/museseq-2.1.1-cmake-rpath.patch 2022-10-28 02:32:25 UTC (rev 3302)
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 17e82ee..c4d2340 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -136,7 +136,7 @@ if ( MODULES_BUILD_STATIC )
- else ( MODULES_BUILD_STATIC )
- SET(MODULES_BUILD SHARED )
- SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
-- SET(CMAKE_INSTALL_RPATH ${MusE_MODULES_DIR})
-+ SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${MusE_MODULES_DIR})
- endif ( MODULES_BUILD_STATIC )
-
- ##
Added: trunk/overlays/proaudio/media-sound/museseq/files/museseq-4.1-cmake-rpath.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/files/museseq-4.1-cmake-rpath.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/museseq/files/museseq-4.1-cmake-rpath.patch 2022-10-28 02:32:25 UTC (rev 3302)
@@ -0,0 +1,11 @@
+--- muse-4.1/CMakeLists.txt.orig 2022-10-02 22:23:44.597621115 +0200
++++ muse-4.1/CMakeLists.txt 2022-10-02 22:24:54.494285461 +0200
+@@ -249,7 +249,7 @@
+ # We need these always, for a few of the shared modules in the muse/core build,
+ # even when building muse/core as static. Otherwise it can't find them on run. Tim.
+ SET(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
+-SET(CMAKE_INSTALL_RPATH ${MusE_MODULES_DIR})
++SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${MusE_MODULES_DIR})
+
+ ##
+ ## Just print a notice if this is OS X
Deleted: trunk/overlays/proaudio/media-sound/museseq/files/sse_functions_64bit.s
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/files/sse_functions_64bit.s 2022-10-28 02:18:31 UTC (rev 3301)
+++ trunk/overlays/proaudio/media-sound/museseq/files/sse_functions_64bit.s 2022-10-28 02:32:25 UTC (rev 3302)
@@ -1,609 +0,0 @@
-/*
- Copyright (C) 2005-2006 Paul Davis, John Rigg
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- Author: Sampo Savolainen
- 64-bit conversion: John Rigg
-
- $Id: sse_functions_64bit.s 1142 2006-11-19 16:45:16Z drobilla $
-*/
-
-
-#; void x86_sse_mix_buffers_with_gain (float *dst, float *src, unsigned int nframes, float gain);
-
-.globl x86_sse_mix_buffers_with_gain
- .type x86_sse_mix_buffers_with_gain,@function
-
-x86_sse_mix_buffers_with_gain:
-
-#; %rdi float *dst
-#; %rsi float *src
-#; %rdx unsigned int nframes
-#; %xmm0 float gain
-
- pushq %rbp
- movq %rsp, %rbp
-
- #; save the registers
- pushq %rbx
- pushq %rdi
- pushq %rsi
-
- #; if nframes == 0, go to end
- cmp $0, %rdx
- je .MBWG_END
-
- #; Check for alignment
-
- movq %rdi, %rax
- andq $12, %rax #; mask alignment offset
-
- movq %rsi, %rbx
- andq $12, %rbx #; mask alignment offset
-
- cmp %rax, %rbx
- jne .MBWG_NONALIGN #; if not aligned, calculate manually
-
- #; if we are aligned
- cmp $0, %rbx
- jz .MBWG_SSE
-
- #; Pre-loop, we need to run 1-3 frames "manually" without
- #; SSE instructions
-
-.MBWG_PRELOOP:
-
- #; gain is already in %xmm0
- movss (%rsi), %xmm1
- mulss %xmm0, %xmm1
- addss (%rdi), %xmm1
- movss %xmm1, (%rdi)
-
- addq $4, %rdi #; dst++
- addq $4, %rsi #; src++
- decq %rdx #; nframes--
- jz .MBWG_END
-
- addq $4, %rbx
-
- cmp $16, %rbx #; test if we've reached 16 byte alignment
- jne .MBWG_PRELOOP
-
-
-.MBWG_SSE:
-
- cmp $4, %rdx #; we know it's not zero, but if it's not >=4, then
- jnge .MBWG_NONALIGN #; we jump straight to the "normal" code
-
- #; gain is already in %xmm0
- shufps $0x00, %xmm0, %xmm0
-
-
-.MBWG_SSELOOP:
-
- movaps (%rsi), %xmm1 #; source => xmm0
- mulps %xmm0, %xmm1 #; apply gain to source
- addps (%rdi), %xmm1 #; mix with destination
- movaps %xmm1, (%rdi) #; copy result to destination
-
- addq $16, %rdi #; dst+=4
- addq $16, %rsi #; src+=4
-
- subq $4, %rdx #; nframes-=4
- cmp $4, %rdx
- jge .MBWG_SSELOOP
-
- cmp $0, %rdx
- je .MBWG_END
-
- #; if there are remaining frames, the nonalign code will do nicely
- #; for the rest 1-3 frames.
-
-.MBWG_NONALIGN:
- #; not aligned!
-
- #; gain is already in %xmm0
-
-.MBWG_NONALIGNLOOP:
-
- movss (%rsi), %xmm1
- mulss %xmm0, %xmm1
- addss (%rdi), %xmm1
- movss %xmm1, (%rdi)
-
- addq $4, %rdi
- addq $4, %rsi
-
- decq %rdx
- jnz .MBWG_NONALIGNLOOP
-
-.MBWG_END:
-
- popq %rsi
- popq %rdi
- popq %rbx
-
- #; return
- leave
- ret
-
-.size x86_sse_mix_buffers_with_gain, .-x86_sse_mix_buffers_with_gain
-
-
-#; void x86_sse_mix_buffers_no_gain (float *dst, float *src, unsigned int nframes);
-
-.globl x86_sse_mix_buffers_no_gain
- .type x86_sse_mix_buffers_no_gain,@function
-
-x86_sse_mix_buffers_no_gain:
-
-#; %rdi float *dst
-#; %rsi float *src
-#; %rdx unsigned int nframes
-
- pushq %rbp
- movq %rsp, %rbp
-
- #; save the registers
- pushq %rbx
- pushq %rdi
- pushq %rsi
-
- #; the real function
-
- #; if nframes == 0, go to end
- cmp $0, %rdx
- je .MBNG_END
-
- #; Check for alignment
-
- movq %rdi, %rax
- andq $12, %rax #; mask alignment offset
-
- movq %rsi, %rbx
- andq $12, %rbx #; mask alignment offset
-
- cmp %rax, %rbx
- jne .MBNG_NONALIGN #; if not aligned, calculate manually
-
- cmp $0, %rbx
- je .MBNG_SSE
-
- #; Pre-loop, we need to run 1-3 frames "manually" without
- #; SSE instructions
-
-.MBNG_PRELOOP:
-
- movss (%rsi), %xmm0
- addss (%rdi), %xmm0
- movss %xmm0, (%rdi)
-
- addq $4, %rdi #; dst++
- addq $4, %rsi #; src++
- decq %rdx #; nframes--
- jz .MBNG_END
- addq $4, %rbx
-
- cmp $16, %rbx #; test if we've reached 16 byte alignment
- jne .MBNG_PRELOOP
-
-.MBNG_SSE:
-
- cmp $4, %rdx #; if there are frames left, but less than 4
- jnge .MBNG_NONALIGN #; we can't run SSE
-
-.MBNG_SSELOOP:
-
- movaps (%rsi), %xmm0 #; source => xmm0
- addps (%rdi), %xmm0 #; mix with destination
- movaps %xmm0, (%rdi) #; copy result to destination
-
- addq $16, %rdi #; dst+=4
- addq $16, %rsi #; src+=4
-
- subq $4, %rdx #; nframes-=4
- cmp $4, %rdx
- jge .MBNG_SSELOOP
-
- cmp $0, %rdx
- je .MBNG_END
-
- #; if there are remaining frames, the nonalign code will do nicely
- #; for the rest 1-3 frames.
-
-.MBNG_NONALIGN:
- #; not aligned!
-
- movss (%rsi), %xmm0 #; src => xmm0
- addss (%rdi), %xmm0 #; xmm0 += dst
- movss %xmm0, (%rdi) #; xmm0 => dst
-
- addq $4, %rdi
- addq $4, %rsi
-
- decq %rdx
- jnz .MBNG_NONALIGN
-
-.MBNG_END:
-
- popq %rsi
- popq %rdi
- popq %rbx
-
- #; return
- leave
- ret
-
-.size x86_sse_mix_buffers_no_gain, .-x86_sse_mix_buffers_no_gain
-
-
-#; void x86_sse_apply_gain_to_buffer (float *buf, unsigned int nframes, float gain);
-
-.globl x86_sse_apply_gain_to_buffer
- .type x86_sse_apply_gain_to_buffer,@function
-
-x86_sse_apply_gain_to_buffer:
-
-#; %rdi float *buf 32(%rbp)
-#; %rsi unsigned int nframes
-#; %xmm0 float gain
-#; %xmm1 float buf[0]
-
- pushq %rbp
- movq %rsp, %rbp
-
- #; save %rdi
- pushq %rdi
-
- #; the real function
-
- #; if nframes == 0, go to end
- movq %rsi, %rcx #; nframes
- cmp $0, %rcx
- je .AG_END
-
- #; set up the gain buffer (gain is already in %xmm0)
- shufps $0x00, %xmm0, %xmm0
-
- #; Check for alignment
-
- movq %rdi, %rdx #; buf => %rdx
- andq $12, %rdx #; mask bits 1 & 2, result = 0, 4, 8 or 12
- jz .AG_SSE #; if buffer IS aligned
-
- #; PRE-LOOP
- #; we iterate 1-3 times, doing normal x87 float comparison
- #; so we reach a 16 byte aligned "buf" (=%rdi) value
-
-.AGLP_START:
-
- #; Load next value from the buffer into %xmm1
- movss (%rdi), %xmm1
- mulss %xmm0, %xmm1
- movss %xmm1, (%rdi)
-
- #; increment buffer, decrement counter
- addq $4, %rdi #; buf++;
-
- decq %rcx #; nframes--
- jz .AG_END #; if we run out of frames, we go to the end
-
- addq $4, %rdx #; one non-aligned byte less
- cmp $16, %rdx
- jne .AGLP_START #; if more non-aligned frames exist, we do a do-over
-
-.AG_SSE:
-
- #; We have reached the 16 byte aligned "buf" ("rdi") value
-
- #; Figure out how many loops we should do
- movq %rcx, %rax #; copy remaining nframes to %rax for division
- movq $0, %rdx #; 0 the edx register
-
-
- pushq %rdi
- movq $4, %rdi
- divq %rdi #; %rdx = remainder == 0
- popq %rdi
-
- #; %rax = SSE iterations
- cmp $0, %rax
- je .AGPOST_START
-
-
-.AGLP_SSE:
-
- movaps (%rdi), %xmm1
- mulps %xmm0, %xmm1
- movaps %xmm1, (%rdi)
-
- addq $16, %rdi
- subq $4, %rcx #; nframes-=4
-
- decq %rax
- jnz .AGLP_SSE
-
- #; Next we need to post-process all remaining frames
- #; the remaining frame count is in %rcx
-
- #; if no remaining frames, jump to the end
- cmp $0, %rcx
- andq $3, %rcx #; nframes % 4
- je .AG_END
-
-.AGPOST_START:
-
- movss (%rdi), %xmm1
- mulss %xmm0, %xmm1
- movss %xmm1, (%rdi)
-
- #; increment buffer, decrement counter
- addq $4, %rdi #; buf++;
-
- decq %rcx #; nframes--
- jnz .AGPOST_START #; if we run out of frames, we go to the end
-
-.AG_END:
-
-
- popq %rdi
-
- #; return
- leave
- ret
-
-.size x86_sse_apply_gain_to_buffer, .-x86_sse_apply_gain_to_buffer
-#; end proc
-
-
-#; x86_sse_apply_gain_vector(float *buf, float *gain_vector, unsigned int nframes)
-
-.globl x86_sse_apply_gain_vector
- .type x86_sse_apply_gain_vector,@function
-
-x86_sse_apply_gain_vector:
-
-#; %rdi float *buf
-#; %rsi float *gain_vector
-#; %rdx unsigned int nframes
-
- pushq %rbp
- movq %rsp, %rbp
-
- #; Save registers
- pushq %rdi
- pushq %rsi
- pushq %rbx
-
- #; if nframes == 0 go to end
- cmp $0, %rdx
- je .AGA_END
-
- #; Check alignment
- movq %rdi, %rax
- andq $12, %rax
-
- movq %rsi, %rbx
- andq $12, %rbx
-
- cmp %rax,%rbx
- jne .AGA_ENDLOOP
-
- cmp $0, %rax
- jz .AGA_SSE #; if buffers are aligned, jump to the SSE loop
-
-#; Buffers aren't 16 byte aligned, but they are unaligned by the same amount
-.AGA_ALIGNLOOP:
-
- movss (%rdi), %xmm0 #; buf => xmm0
- movss (%rsi), %xmm1 #; gain value => xmm1
- mulss %xmm1, %xmm0 #; xmm1 * xmm0 => xmm0
- movss %xmm0, (%rdi) #; signal with gain => buf
-
- decq %rdx
- jz .AGA_END
-
- addq $4, %rdi #; buf++
- addq $4, %rsi #; gab++
-
- addq $4, %rax
- cmp $16, %rax
- jne .AGA_ALIGNLOOP
-
-#; There are frames left for sure, as that is checked in the beginning
-#; and within the previous loop. BUT, there might be less than 4 frames
-#; to process
-
-.AGA_SSE:
- movq %rdx, %rax #; nframes => %rax
- shr $2, %rax #; unsigned divide by 4
-
- cmp $0, %rax #; Jos toimii ilman t\xE4t\xE4, niin kiva
- je .AGA_ENDLOOP
-
-.AGA_SSELOOP:
- movaps (%rdi), %xmm0
- movaps (%rsi), %xmm1
- mulps %xmm1, %xmm0
- movaps %xmm0, (%rdi)
-
- addq $16, %rdi
- addq $16, %rsi
-
- decq %rax
- jnz .AGA_SSELOOP
-
- andq $3, %rdx #; Remaining frames are nframes & 3
- jz .AGA_END
-
-
-#; Inside this loop, we know there are frames left to process
-#; but because either there are < 4 frames left, or the buffers
-#; are not aligned, we can't use the parallel SSE ops
-.AGA_ENDLOOP:
- movss (%rdi), %xmm0 #; buf => xmm0
- movss (%rsi), %xmm1 #; gain value => xmm1
- mulss %xmm1, %xmm0 #; xmm1 * xmm0 => xmm0
- movss %xmm0, (%rdi) #; signal with gain => buf
-
- addq $4,%rdi
- addq $4,%rsi
- decq %rdx #; nframes--
- jnz .AGA_ENDLOOP
-
-.AGA_END:
-
- popq %rbx
- popq %rsi
- popq %rdi
-
- leave
- ret
-
-.size x86_sse_apply_gain_vector, .-x86_sse_apply_gain_vector
-#; end proc
-
-
-#; float x86_sse_compute_peak(float *buf, long nframes, float current);
-
-.globl x86_sse_compute_peak
- .type x86_sse_compute_peak,@function
-
-
-x86_sse_compute_peak:
-
-#; %rdi float *buf 32(%rbp)
-#; %rsi unsigned int nframes
-#; %xmm0 float current
-#; %xmm1 float buf[0]
-
- pushq %rbp
- movq %rsp, %rbp
-
- #; save %rdi
- pushq %rdi
-
- #; if nframes == 0, go to end
- movq %rsi, %rcx #; nframes
- cmp $0, %rcx
- je .CP_END
-
- #; create the "abs" mask in %xmm2
- pushq $2147483647
- movss (%rsp), %xmm2
- addq $8, %rsp
- shufps $0x00, %xmm2, %xmm2
-
- #; Check for alignment
-
- #;movq 8(%rbp), %rdi #; buf
- movq %rdi, %rdx #; buf => %rdx
- andq $12, %rdx #; mask bits 1 & 2, result = 0, 4, 8 or 12
- jz .CP_SSE #; if buffer IS aligned
-
- #; PRE-LOOP
- #; we iterate 1-3 times, doing normal x87 float comparison
- #; so we reach a 16 byte aligned "buf" (=%rdi) value
-
-.LP_START:
-
- #; Load next value from the buffer
- movss (%rdi), %xmm1
- andps %xmm2, %xmm1
- maxss %xmm1, %xmm0
-
- #; increment buffer, decrement counter
- addq $4, %rdi #; buf++;
-
- decq %rcx #; nframes--
- jz .CP_END #; if we run out of frames, we go to the end
-
- addq $4, %rdx #; one non-aligned byte less
- cmp $16, %rdx
- jne .LP_START #; if more non-aligned frames exist, we do a do-over
-
-.CP_SSE:
-
- #; We have reached the 16 byte aligned "buf" ("rdi") value
-
- #; Figure out how many loops we should do
- movq %rcx, %rax #; copy remaining nframes to %rax for division
-
- shr $2,%rax #; unsigned divide by 4
- jz .POST_START
-
- #; %rax = SSE iterations
-
- #; current maximum is at %xmm0, but we need to ..
- shufps $0x00, %xmm0, %xmm0 #; shuffle "current" to all 4 FP's
-
- #;prefetcht0 16(%rdi)
-
-.LP_SSE:
-
- movaps (%rdi), %xmm1
- andps %xmm2, %xmm1
- maxps %xmm1, %xmm0
-
- addq $16, %rdi
-
- decq %rax
- jnz .LP_SSE
-
- #; Calculate the maximum value contained in the 4 FP's in %xmm0
- movaps %xmm0, %xmm1
- shufps $0x4e, %xmm1, %xmm1 #; shuffle left & right pairs (1234 => 3412)
- maxps %xmm1, %xmm0 #; maximums of the two pairs
- movaps %xmm0, %xmm1
- shufps $0xb1, %xmm1, %xmm1 #; shuffle the floats inside the two pairs (1234 => 2143)
- maxps %xmm1, %xmm0
-
- #; now every float in %xmm0 is the same value, current maximum value
-
- #; Next we need to post-process all remaining frames
- #; the remaining frame count is in %rcx
-
- #; if no remaining frames, jump to the end
-
- andq $3, %rcx #; nframes % 4
- jz .CP_END
-
-.POST_START:
-
- movss (%rdi), %xmm1
- andps %xmm2, %xmm1
- maxss %xmm1, %xmm0
-
- addq $4, %rdi #; buf++;
-
- decq %rcx #; nframes--;
- jnz .POST_START
-
-.CP_END:
-
- popq %rdi
-
- #; return
- leave
- ret
-
-.size x86_sse_compute_peak, .-x86_sse_compute_peak
-#; end proc
-
-#ifdef __ELF__
-.section .note.GNU-stack,"",%progbits
-#endif
-
Deleted: trunk/overlays/proaudio/media-sound/museseq/museseq-2.1.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/museseq-2.1.1.ebuild 2022-10-28 02:18:31 UTC (rev 3301)
+++ trunk/overlays/proaudio/media-sound/museseq/museseq-2.1.1.ebuild 2022-10-28 02:32:25 UTC (rev 3302)
@@ -1,56 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit cmake-utils toolchain-funcs flag-o-matic versionator
-
-MY_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
-HOMEPAGE="http://www.muse-sequencer.org/"
-SRC_URI="mirror://sourceforge/lmuse/muse-${MY_PV}/muse-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="1"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc dssi fluidsynth lash osc vst"
-REQUIRED_USE=""
-
-CDEPEND=">=media-libs/alsa-lib-0.9.0
- >=media-libs/libsamplerate-0.1.0
- >=media-libs/libsndfile-1.0
- virtual/jack
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtsvg:4
- dssi? ( >=media-libs/dssi-0.9.0 )
- lash? ( >=media-sound/lash-0.4.0 )
- osc? ( >=media-libs/liblo-0.23 )"
-RDEPEND="${CDEPEND}
- fluidsynth? ( >=media-sound/fluidsynth-0.9.0 )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- doc? ( app-text/openjade
- app-doc/doxygen
- media-gfx/graphviz )"
-
-S=${WORKDIR}/muse-${PV}
-RESTRICT="mirror"
-
-PATCHES=("${FILESDIR}"/${P}-cmake-rpath.patch)
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_enable dssi DSSI)
- $(cmake-utils_use_enable fluidsynth FLUID)
- $(cmake-utils_use_enable lash LASH)
- $(cmake-utils_use_enable osc OSC)
- $(cmake-utils_use_enable vst VST_NATIVE)
- )
- cmake-utils_src_configure
-}
-
-#src_compile() {
-# cmake-utils_src_compile -j1
-#}
Deleted: trunk/overlays/proaudio/media-sound/museseq/museseq-2.9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/museseq-2.9999.ebuild 2022-10-28 02:18:31 UTC (rev 3301)
+++ trunk/overlays/proaudio/media-sound/museseq/museseq-2.9999.ebuild 2022-10-28 02:32:25 UTC (rev 3302)
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit cmake-utils toolchain-funcs flag-o-matic versionator subversion
-
-DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
-HOMEPAGE="http://www.muse-sequencer.org/"
-ESVN_REPO_URI="https://lmuse.svn.sourceforge.net/svnroot/lmuse/trunk/muse2"
-
-LICENSE="GPL-2"
-SLOT="1"
-KEYWORDS=""
-IUSE="doc dssi fluidsynth lash osc vst"
-REQUIRED_USE=""
-
-CDEPEND=">=media-libs/alsa-lib-0.9.0
- >=media-libs/libsamplerate-0.1.0
- >=media-libs/libsndfile-1.0
- virtual/jack
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtsvg:4
- dssi? ( >=media-libs/dssi-0.9.0 )
- lash? ( >=media-sound/lash-0.4.0 )
- osc? ( >=media-libs/liblo-0.23 )"
-RDEPEND="${CDEPEND}
- fluidsynth? ( >=media-sound/fluidsynth-0.9.0 )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- doc? ( app-text/openjade
- app-doc/doxygen
- media-gfx/graphviz )"
-
-S=${WORKDIR}/muse2
-RESTRICT="mirror"
-
-PATCHES=("${FILESDIR}"/${PN}-2.1.1-cmake-rpath.patch)
-
-src_prepare() {
- base_src_prepare
- subversion_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_enable dssi DSSI)
- $(cmake-utils_use_enable fluidsynth FLUID)
- $(cmake-utils_use_enable lash LASH)
- $(cmake-utils_use_enable osc OSC)
- $(cmake-utils_use_enable vst VST_NATIVE)
- )
- cmake-utils_src_configure
-}
Added: trunk/overlays/proaudio/media-sound/museseq/museseq-4.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/museseq-4.1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/museseq/museseq-4.1.ebuild 2022-10-28 02:32:25 UTC (rev 3302)
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=8
+inherit cmake
+
+MY_PV="${PN}seq-${PV}"
+
+DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
+HOMEPAGE="http://www.muse-sequencer.org/"
+SRC_URI="mirror://sourceforge/lmuse/muse-${MY_PV}/muse-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc dssi fluidsynth lash osc vst"
+REQUIRED_USE=""
+
+CDEPEND=">=media-libs/alsa-lib-0.9.0
+ >=media-libs/libsamplerate-0.1.9
+ >=media-libs/libsndfile-1.0.28
+ media-libs/ladspa-sdk
+ virtual/jack
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dssi? ( >=media-libs/dssi-0.9.0 )
+ lash? ( >=media-sound/lash-0.4.0 )
+ osc? ( >=media-libs/liblo-0.23 )"
+RDEPEND="${CDEPEND}
+ fluidsynth? ( >=media-sound/fluidsynth-0.9.0 )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ doc? ( app-text/openjade
+ app-doc/doxygen
+ media-gfx/graphviz )"
+
+S=${WORKDIR}/muse-${PV}
+RESTRICT="mirror"
+
+PATCHES=("${FILESDIR}"/${P}-cmake-rpath.patch)
+CMAKE_BUILD_TYPE="Release"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DSSI="$(usex dssi)"
+ -DENABLE_FLUID="$(usex fluidsynth)"
+ -DENABLE_LASH="$(usex lash)"
+ -DENABLE_OSC="$(usex osc)"
+ -DENABLE_VST_NATIVE="$(usex vst)"
+ )
+ cmake_src_configure
+}
+
+#src_compile() {
+# cmake-utils_src_compile -j1
+#}
Added: trunk/overlays/proaudio/media-sound/museseq/museseq-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/museseq/museseq-9999.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/museseq/museseq-9999.ebuild 2022-10-28 02:32:25 UTC (rev 3302)
@@ -0,0 +1,76 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=8
+inherit cmake git-r3
+
+DESCRIPTION="The Linux (midi) MUSic Editor (a sequencer)"
+HOMEPAGE="http://www.muse-sequencer.org/"
+EGIT_REPO_URI="https://github.com/muse-sequencer/muse.git"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS=""
+IUSE="doc dssi fluidsynth lash lrdf lv2 osc python rtaudio rubberband vst"
+REQUIRED_USE=""
+
+CDEPEND=">=media-libs/alsa-lib-1.1.3
+ >=media-libs/libsamplerate-0.1.9
+ >=media-libs/libsndfile-1.0.28
+ media-libs/ladspa-sdk
+ virtual/jack
+ >=kde-frameworks/extra-cmake-modules-5.94.0
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dssi? ( >=media-libs/dssi-0.9.0 )
+ lash? ( >=media-sound/lash-0.4.0 )
+ lrdf? ( >=media-libs/liblrdf-0.5.0 )
+ lv2? ( >=media-libs/lv2-1.14.0
+ >=dev-libs/sord-0.16.0
+ >=media-libs/lilv-0.24.0
+ dev-cpp/gtkmm
+ x11-libs/gtk+ )
+ osc? ( >=media-libs/liblo-0.23 )
+ python? ( dev-python/Pyro4
+ dev-python/PyQt5 )
+ rtaudio? ( >=media-libs/rtaudio-5.0 )
+ rubberband? ( media-libs/rubberband )
+ vst? ( media-plugins/dssi-vst )"
+RDEPEND="${CDEPEND}
+ fluidsynth? ( >=media-sound/fluidsynth-1.1.9 )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ doc? ( app-text/openjade
+ app-doc/doxygen
+ media-gfx/graphviz )"
+
+S="${WORKDIR}/${P}/src"
+RESTRICT="mirror"
+
+PATCHES=("${FILESDIR}"/${PN}-4.1-cmake-rpath.patch)
+
+#src_prepare() {
+# base_src_prepare
+# subversion_src_prepare
+#}
+
+src_configure() {
+ # fix it: libinstpatch not in gentoo
+ local mycmakeargs=(
+ -DENABLE_INSTPATCH="off"
+ -DENABLE_DSSI="$(usex dssi)"
+ -DENABLE_FLUID="$(usex fluidsynth)"
+ -DENABLE_LASH="$(usex lash)"
+ -DENABLE_LRDF="$(usex lrdf)"
+ -DENABLE_LV2="$(usex lv2)"
+ -DENABLE_LV2_GTK2="$(usex lv2)"
+ -DENABLE_OSC="$(usex osc)"
+ -DENABLE_PYTHON="$(usex python)"
+ -DENABLE_RTAUDIO="$(usex rtaudio)"
+ -DENABLE_RUBBERBAND="$(usex rubberband)"
+ -DENABLE_VST_NATIVE="$(usex vst)"
+ )
+ cmake_src_configure
+}