From 3d89c3d6a2e43019b7615317e4b0ed65eefe28f8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 16 May 2019 13:17:11 +0200 Subject: [PATCH] www-misc/remwharead: New package. Package-Manager: Portage-2.3.62, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07 --- www-misc/remwharead/Manifest | 12 +++++ www-misc/remwharead/metadata.xml | 17 ++++++++ www-misc/remwharead/remwharead-9999.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 www-misc/remwharead/Manifest create mode 100644 www-misc/remwharead/metadata.xml create mode 100644 www-misc/remwharead/remwharead-9999.ebuild diff --git a/www-misc/remwharead/Manifest b/www-misc/remwharead/Manifest new file mode 100644 index 000000000..6d3ac5111 --- /dev/null +++ b/www-misc/remwharead/Manifest @@ -0,0 +1,12 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +EBUILD remwharead-9999.ebuild 939 BLAKE2B bdddfcec937ae49f52c472b39f6dc77bffe24bc1b8e377dbe09082e702cb65e52601f1d74af3e9e95003e5fdb49b3be26de17577e39d2cabf39b24165b119a22 SHA512 128ad57049e1696b5a07231dcd5d6faae3083814de415ea568493f76511ed348ff9ab83a91dfb9203459a83e0931c86f2d2ae4552b5f3b6cbe9083081afc6064 +MISC metadata.xml 606 BLAKE2B 34e704711f8b8c7bf5be247a0c650a3e5b6d39cea60b669a95464159aecd19ab493d4c82574c6a4984e9053c72ad9d4ec8f83b2a365b4caaaf01d3d6ffa59eed SHA512 340bc90f44d0a26c99fffb8a29f5315882c5cae0875c2e3c3f02e0ba1d93d81a3f9025db3a1a98e5a31bc85c39fe40797ce9429832b6d58021eb2d71d85433e1 +-----BEGIN PGP SIGNATURE----- + +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXN1GtwAKCRDPw5SX8bJu +B4RaAP9ohKrKx16tG2Yl3XdpwYytNlTfYZ14Arwq7pH3j2CZugD9GeLDgyCrUEzl +fB05uOC75Ki/mhwLNAufy2FKq5ZL6M0= +=86mN +-----END PGP SIGNATURE----- diff --git a/www-misc/remwharead/metadata.xml b/www-misc/remwharead/metadata.xml new file mode 100644 index 000000000..12bbc3a25 --- /dev/null +++ b/www-misc/remwharead/metadata.xml @@ -0,0 +1,17 @@ + + + + + remwharead saves URIs of things you want to remember in a database + along with an URI to the archived version, the current date and + time, title, description, the full text of the page and optional + tags. + + + gentoo@tastytea.de + tastytea + + + https://schlomp.space/tastytea/remwharead/issues + + diff --git a/www-misc/remwharead/remwharead-9999.ebuild b/www-misc/remwharead/remwharead-9999.ebuild new file mode 100644 index 000000000..b0df343f7 --- /dev/null +++ b/www-misc/remwharead/remwharead-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi + +DESCRIPTION="Saves URIs of things you want to remember in a database." +HOMEPAGE="https://schlomp.space/tastytea/remwharead" +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://schlomp.space/tastytea/remwharead.git" +else + SRC_URI="https://schlomp.space/tastytea/remwharead/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-3" +SLOT="0" +if [[ "${PV}" == "9999" ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64 ~arm ~x86" +fi +IUSE="test" + +RDEPEND=" + >=dev-cpp/curlpp-0.8.1 + dev-libs/libxdg-basedir + dev-db/vsqlite++ + dev-cpp/popl +" +DEPEND=" + dev-util/cmake + app-text/asciidoc + ${RDEPEND} +" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/${PN}" +fi + +src_configure() { + local mycmakeargs=( + -DWITH_TESTS="$(usex test)" + ) + + cmake-utils_src_configure +}