From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/
Date: Thu, 26 Nov 2020 07:53:25 +0000 (UTC) [thread overview]
Message-ID: <1606375768.1e1109bd3e34483c11e56e4b16da8f9407cea4d1.juippis@gentoo> (raw)
commit: 1e1109bd3e34483c11e56e4b16da8f9407cea4d1
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Wed Nov 25 18:50:40 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 07:29:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1109bd
media-sound/snapcast: remove unused patch
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../files/snapcast-options-for-use-flags.patch | 90 ----------------------
1 file changed, 90 deletions(-)
diff --git a/media-sound/snapcast/files/snapcast-options-for-use-flags.patch b/media-sound/snapcast/files/snapcast-options-for-use-flags.patch
deleted file mode 100644
index 956d6299d45..00000000000
--- a/media-sound/snapcast/files/snapcast-options-for-use-flags.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 52fec6e..d068db1 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -11,6 +11,11 @@ option(BUILD_TESTS "Build tests (run tests with make test)" ON)
- option(BUILD_SERVER "Build Snapserver" ON)
- option(BUILD_CLIENT "Build Snapclient" ON)
-
-+option(BUILD_WITH_FLAC "Build with FLAC support" ON)
-+option(BUILD_WITH_VORBIS "Build with VORBIS support" ON)
-+option(BUILD_WITH_TREMOR "Build with vorbis using TREMOR" ON)
-+option(BUILD_WITH_AVAHI "Build with AVAHI support" ON)
-+
-
- if (NOT BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS)
- message(FATAL_ERROR "One or both of BUILD_SHARED_LIBS or BUILD_STATIC_LIBS must be set to ON to build")
-@@ -109,10 +114,12 @@ else()
- endif (ALSA_FOUND)
- endif()
-
-- pkg_search_module(AVAHI avahi-client)
-- if (AVAHI_FOUND)
-- add_definitions(-DHAS_AVAHI)
-- endif (AVAHI_FOUND)
-+ if(BUILD_WITH_AVAHI)
-+ pkg_search_module(AVAHI avahi-client)
-+ if (AVAHI_FOUND)
-+ add_definitions(-DHAS_AVAHI)
-+ endif (AVAHI_FOUND)
-+ endif(BUILD_WITH_AVAHI)
-
- add_definitions(-DHAS_DAEMON)
-
-@@ -154,29 +161,39 @@ if(NOT HAS_CXX11_STRING_SUPPORT)
- add_definitions("-DNO_CPP11_STRING")
- endif()
-
--pkg_search_module(FLAC flac)
--if (FLAC_FOUND)
-- add_definitions("-DHAS_FLAC")
--endif (FLAC_FOUND)
-+if(BUILD_WITH_FLAC)
-+ pkg_search_module(FLAC flac)
-+ if (FLAC_FOUND)
-+ add_definitions("-DHAS_FLAC")
-+ endif (FLAC_FOUND)
-+endif()
-
--pkg_search_module(OGG ogg)
--if (OGG_FOUND)
-- add_definitions("-DHAS_OGG")
--endif (OGG_FOUND)
-+if(BUILD_WITH_VORBIS OR BUILD_WITH_TREMOR)
-+ pkg_search_module(OGG ogg)
-+ if (OGG_FOUND)
-+ add_definitions("-DHAS_OGG")
-+ endif (OGG_FOUND)
-+endif()
-
--pkg_search_module(VORBIS vorbis)
--if (VORBIS_FOUND)
-- add_definitions("-DHAS_VORBIS")
--endif (VORBIS_FOUND)
-+if(BUILD_WITH_VORBIS)
-+ pkg_search_module(VORBIS vorbis)
-+ if (VORBIS_FOUND)
-+ add_definitions("-DHAS_VORBIS")
-+ endif (VORBIS_FOUND)
-+endif()
-
--pkg_search_module(TREMOR vorbisidec)
--if (TREMOR_FOUND)
-- add_definitions("-DHAS_TREMOR")
--endif (TREMOR_FOUND)
-+if(BUILD_WITH_TREMOR)
-+ pkg_search_module(TREMOR vorbisidec)
-+ if (TREMOR_FOUND)
-+ add_definitions("-DHAS_TREMOR")
-+ endif (TREMOR_FOUND)
-+endif()
-
--pkg_search_module(VORBISENC vorbisenc)
--if (VORBISENC_FOUND)
-- add_definitions("-DHAS_VORBISENC")
-+if(BUILD_WITH_VORBIS)
-+ pkg_search_module(VORBISENC vorbisenc)
-+ if (VORBISENC_FOUND)
-+ add_definitions("-DHAS_VORBISENC")
-+ endif(VORBISENC_FOUND)
- endif()
next reply other threads:[~2020-11-26 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-26 7:53 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-27 22:08 [gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/ Conrad Kostecki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606375768.1e1109bd3e34483c11e56e4b16da8f9407cea4d1.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox