From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA4C01382C5 for ; Sun, 31 May 2020 16:20:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3799CE096A; Sun, 31 May 2020 16:20:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11BDBE096A for ; Sun, 31 May 2020 16:20:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B54C234F096 for ; Sun, 31 May 2020 16:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F72F31 for ; Sun, 31 May 2020 16:20:05 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1590941971.8b9daec6431c853fbdbd944fef316b603c5514ce.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/dumb/, media-libs/dumb/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/dumb/Manifest media-libs/dumb/dumb-2.0.3.ebuild media-libs/dumb/files/dumb-2.0.3-pkg-config.patch media-libs/dumb/metadata.xml X-VCS-Directories: media-libs/dumb/ media-libs/dumb/files/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 8b9daec6431c853fbdbd944fef316b603c5514ce X-VCS-Branch: master Date: Sun, 31 May 2020 16:20:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e3ef1f4-7003-4010-9cf2-4c43ef130ddc X-Archives-Hash: ce4b2e968cd2b8fe826389bebe675277 commit: 8b9daec6431c853fbdbd944fef316b603c5514ce Author: James Le Cuirot gentoo org> AuthorDate: Sun May 31 15:47:09 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun May 31 16:19:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9daec6 media-libs/dumb: Bump to 2.0.3, EAPI 7, new upstream This adds an allegro USE flag to replace the media-libs/aldumb package. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: James Le Cuirot gentoo.org> media-libs/dumb/Manifest | 1 + media-libs/dumb/dumb-2.0.3.ebuild | 51 +++++++++++++++++++++++ media-libs/dumb/files/dumb-2.0.3-pkg-config.patch | 21 ++++++++++ media-libs/dumb/metadata.xml | 4 ++ 4 files changed, 77 insertions(+) diff --git a/media-libs/dumb/Manifest b/media-libs/dumb/Manifest index 089690e1d59..4f2c4403b6a 100644 --- a/media-libs/dumb/Manifest +++ b/media-libs/dumb/Manifest @@ -1 +1,2 @@ DIST dumb-0.9.3.tar.gz 167379 BLAKE2B 1a9f62b784f8e8ba5b30b892bc9588bbebca7d5270b5d1161230c1c538d1aed8c6d2f2afa6a9087858ad45dccee9c640498548a845b2f046a0c390e7a84525cc SHA512 9ecdea460858b7e6ad7ca2534ecb3581397e6c1fa904459affe19ce49f528e580e143b42b13413b292ae7b57901a8008e6a9ee3821824f6ff7914b136f75c658 +DIST dumb-2.0.3.tar.gz 186576 BLAKE2B 0bd2e512b88260e67b11856630aecfdda2f11a8c5f931c1da3451dbfc15cd5e7e38e718d12b99e0598d9522cf259317a98c5d3088dd979c487a8971fd562ee3f SHA512 18b10a507d69a754cdf97fbeae41c17f211a6ba1f166a822276bdb6769d3edc326919067a3f4d1247d6715d7a5a8276669d83b9427e7336c6d111593fb7e36cf diff --git a/media-libs/dumb/dumb-2.0.3.ebuild b/media-libs/dumb/dumb-2.0.3.ebuild new file mode 100644 index 00000000000..7c509445721 --- /dev/null +++ b/media-libs/dumb/dumb-2.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="Module/tracker based music format parser and player library" +HOMEPAGE="https://github.com/kode54/dumb" +SRC_URI="https://github.com/kode54/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="DUMB-0.9.3" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="allegro cpu_flags_x86_sse examples" + +RDEPEND=" + allegro? ( + media-libs/allegro:0[${MULTILIB_USEDEP}] + !media-libs/aldumb + ) + examples? ( + >=dev-libs/argtable-2 + media-libs/libsdl2[sound] + ) +" + +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}"/${P}-pkg-config.patch +) + +DOCS=( + CHANGELOG.md + DUMBFILE_SYSTEM.md + README.md + UPDATING_YOUR_PROJECTS.md +) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_ALLEGRO4=$(usex allegro) + -DBUILD_EXAMPLES=$(multilib_native_usex examples) + -DUSE_SSE=$(usex cpu_flags_x86_sse) + ) + cmake_src_configure +} diff --git a/media-libs/dumb/files/dumb-2.0.3-pkg-config.patch b/media-libs/dumb/files/dumb-2.0.3-pkg-config.patch new file mode 100644 index 00000000000..5b8d9856e17 --- /dev/null +++ b/media-libs/dumb/files/dumb-2.0.3-pkg-config.patch @@ -0,0 +1,21 @@ +From 3a4f71afbc23d716d0d1f71664b94af143ae8e11 Mon Sep 17 00:00:00 2001 +From: Robert Colton +Date: Tue, 18 Dec 2018 22:03:51 -0500 +Subject: [PATCH] fix pkg-config linking issue -llibdumb + +--- + pkg-config.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pkg-config.pc.in b/pkg-config.pc.in +index c11861c..92a9735 100644 +--- a/pkg-config.pc.in ++++ b/pkg-config.pc.in +@@ -7,6 +7,6 @@ Name: DUMB + Description: DUMB is a module audio renderer library. + Version: @DUMB_VERSION@ + URL: https://github.com/kode54/dumb/ +-Libs: -L${libdir} -l@PROJECT_NAME@ ++Libs: -L${libdir} -ldumb + Libs.private: -lm + Cflags: -I${includedir} diff --git a/media-libs/dumb/metadata.xml b/media-libs/dumb/metadata.xml index 18f5db99219..66e3068bc83 100644 --- a/media-libs/dumb/metadata.xml +++ b/media-libs/dumb/metadata.xml @@ -6,6 +6,10 @@ Gentoo Sound project + kode54/dumb dumb + + Add support for Allegro 4 +