[proaudio] proaudio/proaudio: [3206] wineasio: add wineasio-settings installation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 3206
Author: dominique
Date: 2021-01-22 02:58:15 +0100 (Fri, 22 Jan 2021)
Log Message:
-----------
wineasio: add wineasio-settings installation
Modified Paths:
--------------
trunk/overlays/proaudio/app-emulation/wineasio/ChangeLog
trunk/overlays/proaudio/app-emulation/wineasio/Manifest
trunk/overlays/proaudio/app-emulation/wineasio/wineasio-1.0.0.ebuild
Modified: trunk/overlays/proaudio/app-emulation/wineasio/ChangeLog
===================================================================
--- trunk/overlays/proaudio/app-emulation/wineasio/ChangeLog 2021-01-21 15:17:53 UTC (rev 3205)
+++ trunk/overlays/proaudio/app-emulation/wineasio/ChangeLog 2021-01-22 01:58:15 UTC (rev 3206)
@@ -4,6 +4,9 @@
*wineasio-1.0.0 (21 Jan 2021)
+ 22 Jan 2021: Dominique Michel <dominique@xxxxxxxxxxxxx> -9999 +1.0.0
+ wineasio-1.0.0: add python-single-r1 eclass and WineASIO Settings installation.
+
21 Jan 2021: Dominique Michel <dominique@xxxxxxxxxxxxx> -9999 +1.0.0
-wineasio-9999.ebuild
+wineasio-1.0.0: make it to finaly build the 64 and 32 bits wineasio dll.
Modified: trunk/overlays/proaudio/app-emulation/wineasio/Manifest
===================================================================
--- trunk/overlays/proaudio/app-emulation/wineasio/Manifest 2021-01-21 15:17:53 UTC (rev 3205)
+++ trunk/overlays/proaudio/app-emulation/wineasio/Manifest 2021-01-22 01:58:15 UTC (rev 3206)
@@ -1,4 +1,4 @@
DIST wineasio-1.0.0.tar.gz 242947 BLAKE2B ac1fea94eb627468241db260229e6da29fbf79e2c7ee02bbed71e9e5e9f5f90bae624f37a23a89f20068ffe4d4e811064753ff9cb08325be47b3caae52156df8 SHA512 9401c4e3ae66b3ba98645a06cc551d275c813b30c3912bf1285aa4b85332298004dbf5c9c733ee7c023ff37e22d49efafcd9d1841aa07cc5ccefd8628571fcbf
-EBUILD wineasio-1.0.0.ebuild 2805 BLAKE2B cd3cc9142fc311034e5a405a35d4eeb380d1b1853c6611f831090e32ef4a245328050c0a9064215f6c0b8dc1eadf657786ec0f52b60a60f6ceb92c6970ddc1d7 SHA512 99d448334b6e60515ad49034dff1a4427c8bb51210633cd09e6fe7c594f8d4eeadef967ee087555a5159be1f93de4920731441a839f10f89a1e68e950b296c38
-MISC ChangeLog 1605 BLAKE2B b46e86196aba10cda214748000a9f3f879a2d5c604abb5a78defafa2d0cc9f8c399a8eb065297a1060aa34e82c83288fb40d01950047589ee315120f28d37ef8 SHA512 1523b5d7567cd23fb38ccc54ae0aabc0a0f44c422718445e5d8b3ee7fc78fc49811fc6700c88105e718e5b0c5757f7d3b028ab0908d20b651c96dafcc635a10d
+EBUILD wineasio-1.0.0.ebuild 3342 BLAKE2B 9f3f7d4f2890aecae411df20c72d062dc18d98300ff07ab4ae38eb292ce63934b58923185333e8592eae0a38d8f28a4abe34df91d631f06d02707db5db1ca807 SHA512 242c7d9254efb9851d6ffd92c7abc6432d1d8b9a849e2d6cd8399cf59d80ef9712ea55dbcc1f6318f71429928be4266c6a53c0e9aa0be17226f45ca2e5a0f451
+MISC ChangeLog 1759 BLAKE2B dda2d7d303bc08f8e93990387554b05be9e9c9b3ef14ee97edca7d0f5e04634586669b13c9a025179d721d99e4bb35426604114abe455ad9b8bfaa88574384b4 SHA512 5a7ca6d9fae059f65fbd886b16c49fdda373c59e2255b7620a457be55a8f60d4055c2b41d2d63f5383cb78d0f3bc022e1e6698902b0e30d5ea4bce1ae08a8081
MISC metadata.xml 261 BLAKE2B ab09b95e48499595f240d83a5a2328b206d5983b57bbd4f6a0ba5f695a5be713ca35aaa6106a06a83a2e471d646e2ae12069c0779178823f1f9f30bd234a1dfe SHA512 590077890c7cc0e1fd1c8b4388764030dcf95e6bd04f996a73839809b011e666a859417ae2ec91eba8af11e4fe5bbe9c89791e1eccd23b7fc6ec43cca304e0b1
Modified: trunk/overlays/proaudio/app-emulation/wineasio/wineasio-1.0.0.ebuild
===================================================================
--- trunk/overlays/proaudio/app-emulation/wineasio/wineasio-1.0.0.ebuild 2021-01-21 15:17:53 UTC (rev 3205)
+++ trunk/overlays/proaudio/app-emulation/wineasio/wineasio-1.0.0.ebuild 2021-01-22 01:58:15 UTC (rev 3206)
@@ -3,7 +3,8 @@
EAPI=6
-inherit multilib-build multilib-minimal
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit multilib-build multilib-minimal python-single-r1 xdg desktop
# git-r3
DESCRIPTION="ASIO driver for Wine"
@@ -17,11 +18,16 @@
LICENSE="GPL-2"
KEYWORDS="~amd64"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
SLOT="0"
MULTILIB_COMPAT=( abi_x86_{32,64} )
-DEPEND="media-libs/asio-sdk"
+DEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/PyQt5[gui,widgets,${PYTHON_MULTI_USEDEP}]
+ ')
+ media-libs/asio-sdk"
RDEPEND="virtual/wine[${MULTILIB_USEDEP}]
virtual/jack[${MULTILIB_USEDEP}]"
@@ -34,6 +40,10 @@
cp Makefile.mk Makefile.mk.back || die "backup Makefile.mk failed"
}
+src_configure() {
+ echo "Nothing to configure"
+}
+
multilib_src_compile() {
if multilib_is_native_abi; then
echo "Compiling wineasio 64 bits"
@@ -52,6 +62,7 @@
src_compile() {
multilib_foreach_abi multilib_src_compile
+ sed -i "s:X-PREFIX-X:/usr:" gui/wineasio-settings
}
multilib_src_install() {
@@ -68,7 +79,13 @@
src_install() {
multilib_foreach_abi multilib_src_install
+ exeinto /usr/share/wineasio
+ doexe gui/*.py
+ python_fix_shebang "${ED}/usr/share/wineasio"
+ exeinto /usr/bin
+ doexe gui/wineasio-settings
dodoc README.md
+ make_desktop_entry wineasio-settings "WineASIO Settings" wine "AudioVideo;Audio;Engineering"
}
pkg_postinst() {