commit:     1e578c6558bd6f2e98e2d9f7cb4e1a12318aa2e4
Author:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
AuthorDate: Sun Sep 19 22:11:20 2021 +0000
Commit:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
CommitDate: Mon Sep 20 01:48:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e578c65

media-libs/portsmf: New package

Dependency for media-sound/tenacity.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>

 media-libs/portsmf/Manifest            |  1 +
 media-libs/portsmf/metadata.xml        | 11 +++++++++++
 media-libs/portsmf/portsmf-239.ebuild  | 23 +++++++++++++++++++++++
 media-libs/portsmf/portsmf-9999.ebuild | 23 +++++++++++++++++++++++
 4 files changed, 58 insertions(+)

diff --git a/media-libs/portsmf/Manifest b/media-libs/portsmf/Manifest
new file mode 100644
index 000000000..8d3f29c1c
--- /dev/null
+++ b/media-libs/portsmf/Manifest
@@ -0,0 +1 @@
+DIST portsmf-239.tar.gz 82769 BLAKE2B 
7596c3c66c15a5daa51c4962f785375568c35093a293bba48ec2742c6409c72ba3ff2f10c2b0a38969a0c14510ef06b94c6ed52429d5c55f05635637b5acbb37
 SHA512 
5908ef79043b44f90da8286d639a0693334f160454d206f4a212fe958a7a2e19cbc18e4240e191c1678690f34976c5e0d34dcb030d7bab007ee528fbb5e19486

diff --git a/media-libs/portsmf/metadata.xml b/media-libs/portsmf/metadata.xml
new file mode 100644
index 000000000..807b7136a
--- /dev/null
+++ b/media-libs/portsmf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Ryan Fox</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">tenacityteam/portsmf</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/media-libs/portsmf/portsmf-239.ebuild 
b/media-libs/portsmf/portsmf-239.ebuild
new file mode 100644
index 000000000..3bec77ff8
--- /dev/null
+++ b/media-libs/portsmf/portsmf-239.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="https://github.com/tenacityteam/portsmf/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+else
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/tenacityteam/portsmf.git";
+fi
+
+DESCRIPTION="C++ library for Standard Midi Files (SMF)"
+HOMEPAGE="https://github.com/tenacityteam/portsmf";
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""

diff --git a/media-libs/portsmf/portsmf-9999.ebuild 
b/media-libs/portsmf/portsmf-9999.ebuild
new file mode 100644
index 000000000..3bec77ff8
--- /dev/null
+++ b/media-libs/portsmf/portsmf-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} != *9999* ]]; then
+       SRC_URI="https://github.com/tenacityteam/portsmf/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+else
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/tenacityteam/portsmf.git";
+fi
+
+DESCRIPTION="C++ library for Standard Midi Files (SMF)"
+HOMEPAGE="https://github.com/tenacityteam/portsmf";
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""

Reply via email to