summaryrefslogtreecommitdiff
path: root/media-libs/liblo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-09 23:42:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-09 23:42:15 +0100
commit12de738b83927a4b71c3ad067edbb6279d15b368 (patch)
tree87b2ef3927262a0aba7a923512909bdbadd71b8b /media-libs/liblo
parent7b7a5ff63901698b7b993201e07bcaf8d0e5db2f (diff)
gentoo auto-resync : 09:05:2023 - 23:42:14
Diffstat (limited to 'media-libs/liblo')
-rw-r--r--media-libs/liblo/Manifest5
-rw-r--r--media-libs/liblo/files/liblo-0.31-werror.patch11
-rw-r--r--media-libs/liblo/liblo-0.31.ebuild18
-rw-r--r--media-libs/liblo/metadata.xml1
4 files changed, 28 insertions, 7 deletions
diff --git a/media-libs/liblo/Manifest b/media-libs/liblo/Manifest
index 191ca8000572..86566e5f3877 100644
--- a/media-libs/liblo/Manifest
+++ b/media-libs/liblo/Manifest
@@ -1,3 +1,4 @@
+AUX liblo-0.31-werror.patch 280 BLAKE2B fb0b0a7afe71eae8708a07ed51b79a9b8ab41c2f87c94014939e4a5b9eed1c1e69be5e8b167d42e65ea768414a52c7791a9a9d9772f7c4e6f495ab333bc4b8de SHA512 738466367faf1fbea464e5efb3634f6a88bea30c927e38ed8370e04f3fcb7fcabd9470e6a82f02ba186d1449812cdb0d28b16ff9ed9fff4ef377c62973a08bf7
DIST liblo-0.31.tar.gz 643928 BLAKE2B 724a6369856b5f2ccd50edb8eacbf309760548b1f855d8b4f343cbfc3257ab3ceffc5f4e40d594ecb20050fcea11b7a6bc26f8e4a6ea72969628ebef05209fd5 SHA512 97f9561296c2e53f92db0cfee625687208b490f8bc229b6cffe88b43ca2a8da1ed3217aaa2151245ea483e54ad6c5e92b9cf10a20661766fa6d3bedb5a8cdd01
-EBUILD liblo-0.31.ebuild 929 BLAKE2B f3e2cff90156abddda65fdbd26b61ca673be3f558112b94da4eca4c3882ef108d585e61bedafbeee2df26782ac436acd14512049de27c8f38d4adbef94210409 SHA512 d3ec7d5f85513b450a81cdcf9c111f00584f23596bf54bedba9fab212de0fdfe298b761f070814542e9e5dd45e63f150166841a30b1a526795c9fe41acc44868
-MISC metadata.xml 471 BLAKE2B 10976882ff2988bc6bb9c78efa7d1bc06fd4e8bbb3b651cac722534e6a1cedff4e573301d5c44607e316197ad204d7c95b33f2e9ec7e125cc96ec838c75195ff SHA512 ab00f94cf77883590045615da2130621cf221fcf721aae86e7c58fa73a8817c0b3c21d3cd3692de11398d3f9696ff80e83aeb55bea40bd5c5736c869be1bb762
+EBUILD liblo-0.31.ebuild 1162 BLAKE2B 059e7afa1e6dd57436b6b3fee992d8a8df9dbae9249e9866dab321054ca619331f032f97a8ec448c99b556043a20664745afd441c127b7e98d281663499390cc SHA512 4fdfffc01533cf01bd0f9dceb09839a6cda2d7ec127b5faa702aa1836d3e57e2216eb2b024b13d7c0e040a3a4c3127b1477787075fa1d067c46f1da7641cd1a4
+MISC metadata.xml 526 BLAKE2B 8cacb20b2b399dd421942f725e964f9fb919fbeb3f6ecc68ed45c0542077ccc448c9b2bc4feb091bc42cf1aa3975d53103267a0eb102d2ab7d7e8b7ee30b2294 SHA512 f13fb96648368ab5cd16fe85c39a7b72ea5d6f91c454705d2a947d0868b239137ec3f6d640c518600e3af6dead34d0ba20acc67ef76e1ded1e95fa8d38b239ab
diff --git a/media-libs/liblo/files/liblo-0.31-werror.patch b/media-libs/liblo/files/liblo-0.31-werror.patch
new file mode 100644
index 000000000000..84ea528ba8a4
--- /dev/null
+++ b/media-libs/liblo/files/liblo-0.31-werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -172,7 +172,7 @@ if test "x$want_threads" = "xyes"; then
+ fi
+
+ # Add back -Werror if it was there before
+-CFLAGS="$CFLAGS""$CFLAGS_werror"
++CFLAGS="$CFLAGS"
+
+ # Optional threads support
+ THREADS_ENABLER='#include "lo/lo_serverthread.h"'
diff --git a/media-libs/liblo/liblo-0.31.ebuild b/media-libs/liblo/liblo-0.31.ebuild
index feff8bb7ffce..aab48eb3797a 100644
--- a/media-libs/liblo/liblo-0.31.ebuild
+++ b/media-libs/liblo/liblo-0.31.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools
DESCRIPTION="Lightweight OSC (Open Sound Control) implementation"
@@ -11,12 +12,15 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~ppc-macos"
-IUSE="doc ipv6 static-libs"
-
-RESTRICT="test"
+IUSE="doc ipv6 static-libs test"
+RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.31-werror.patch
+)
+
src_prepare() {
default
@@ -30,8 +34,12 @@ src_configure() {
use doc || export ac_cv_prog_HAVE_DOXYGEN=false
# switching threads on/off breaks ABI, bugs #473282, #473286 and #473356
- myeconfargs=(
+ local myeconfargs=(
--enable-threads
+ --disable-network-tests
+ $(use_enable test tests)
+ # See README.md note wrt ipv6. Disabled by default upstream
+ # because can break Pd and SuperCollider.
$(use_enable ipv6)
$(use_enable static-libs static)
)
diff --git a/media-libs/liblo/metadata.xml b/media-libs/liblo/metadata.xml
index 97aae0efaf93..918a0e860f01 100644
--- a/media-libs/liblo/metadata.xml
+++ b/media-libs/liblo/metadata.xml
@@ -8,5 +8,6 @@
<longdescription>liblo is an implementation of the Open Sound Control protocol for POSIX systems, started by Steve Harris.</longdescription>
<upstream>
<remote-id type="sourceforge">liblo</remote-id>
+ <remote-id type="github">radarsat1/liblo</remote-id>
</upstream>
</pkgmetadata>