Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/popl/
Date: Sun, 07 Oct 2018 17:02:49
Message-Id: 1538931708.e82f9d8b7a2e375886466f0cf92a1a6292237035.whissi@gentoo
1 commit: e82f9d8b7a2e375886466f0cf92a1a6292237035
2 Author: Christian Buchinger <cb-gentoo <AT> guya <DOT> de>
3 AuthorDate: Fri Oct 5 11:03:01 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 17:01:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82f9d8b
7
8 dev-cpp/popl: New package
9
10 Header-only C++ program options parser library.
11 Needed as dependency for new package media-sound/snapcast
12
13 Closes: https://bugs.gentoo.org/667796
14 Signed-off-by: Christian Buchinger <cb-gentoo <AT> guya.de>
15 Package-Manager: Portage-2.3.50, Repoman-2.3.11
16 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
17
18 dev-cpp/popl/Manifest | 1 +
19 dev-cpp/popl/metadata.xml | 20 ++++++++++++++++++++
20 dev-cpp/popl/popl-1.2.0.ebuild | 29 +++++++++++++++++++++++++++++
21 dev-cpp/popl/popl-9999.ebuild | 29 +++++++++++++++++++++++++++++
22 4 files changed, 79 insertions(+)
23
24 diff --git a/dev-cpp/popl/Manifest b/dev-cpp/popl/Manifest
25 new file mode 100644
26 index 00000000000..a19372ed67b
27 --- /dev/null
28 +++ b/dev-cpp/popl/Manifest
29 @@ -0,0 +1 @@
30 +DIST popl-1.2.0.tar.gz 12302 BLAKE2B cfe775ef5cd823ce7b6cb651f7f8de6c67d24e5e3b657d13e7b2087f3b9673c11a870adbe2195665f4e2c3c7799c2427020d4e86126090ef845aa6a906c7a825 SHA512 a5d372346dd282f634b1ca92f468588f7069b34a5911a6ea46e5ef33e8e6c360ca13f67bf221555d76c7620c4222694077a74589a1c32bdbc094e64366299609
31
32 diff --git a/dev-cpp/popl/metadata.xml b/dev-cpp/popl/metadata.xml
33 new file mode 100644
34 index 00000000000..0edc57f0bdf
35 --- /dev/null
36 +++ b/dev-cpp/popl/metadata.xml
37 @@ -0,0 +1,20 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <maintainer type="person">
42 + <email>cb-gentoo@××××.de</email>
43 + <name>Christian Buchinger</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 + <upstream>
50 + <maintainer status="active">
51 + <name>Johannes Pohl</name>
52 + <email>github@××××××.de</email>
53 + </maintainer>
54 + <bugs-to>https://github.com/badaix/popl/issues</bugs-to>
55 + <remote-id type="github">badaix/popl</remote-id>
56 + </upstream>
57 +</pkgmetadata>
58
59 diff --git a/dev-cpp/popl/popl-1.2.0.ebuild b/dev-cpp/popl/popl-1.2.0.ebuild
60 new file mode 100644
61 index 00000000000..39652fbae85
62 --- /dev/null
63 +++ b/dev-cpp/popl/popl-1.2.0.ebuild
64 @@ -0,0 +1,29 @@
65 +# Copyright 1999-2018 Gentoo Authors
66 +# Distributed under the terms of the GNU General Public License v2
67 +
68 +EAPI=6
69 +
70 +DESCRIPTION="Header-only C++ program options parser library"
71 +HOMEPAGE="https://github.com/badaix/popl"
72 +
73 +if [[ ${PV} == *9999 ]] ; then
74 + inherit cmake-utils git-r3
75 +
76 + EGIT_REPO_URI="https://github.com/badaix/popl.git"
77 + EGIT_BRANCH="develop"
78 +else
79 + inherit cmake-utils
80 +
81 + SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
82 +
83 + KEYWORDS="~amd64 ~x86"
84 +fi
85 +
86 +LICENSE="MIT"
87 +SLOT="0"
88 +
89 +src_configure() {
90 + local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
91 +
92 + cmake-utils_src_configure
93 +}
94
95 diff --git a/dev-cpp/popl/popl-9999.ebuild b/dev-cpp/popl/popl-9999.ebuild
96 new file mode 100644
97 index 00000000000..39652fbae85
98 --- /dev/null
99 +++ b/dev-cpp/popl/popl-9999.ebuild
100 @@ -0,0 +1,29 @@
101 +# Copyright 1999-2018 Gentoo Authors
102 +# Distributed under the terms of the GNU General Public License v2
103 +
104 +EAPI=6
105 +
106 +DESCRIPTION="Header-only C++ program options parser library"
107 +HOMEPAGE="https://github.com/badaix/popl"
108 +
109 +if [[ ${PV} == *9999 ]] ; then
110 + inherit cmake-utils git-r3
111 +
112 + EGIT_REPO_URI="https://github.com/badaix/popl.git"
113 + EGIT_BRANCH="develop"
114 +else
115 + inherit cmake-utils
116 +
117 + SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
118 +
119 + KEYWORDS="~amd64 ~x86"
120 +fi
121 +
122 +LICENSE="MIT"
123 +SLOT="0"
124 +
125 +src_configure() {
126 + local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
127 +
128 + cmake-utils_src_configure
129 +}