net-libs/geonames - 0.3.1 (gentoo-lomiri)

Search

Install

Install this version:

emerge -a =net-libs/geonames-0.3.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-libs/geonames-0.3.1

Or alternatively:

emerge --autounmask-write -a =net-libs/geonames-0.3.1

Package Information

Description:
A library for parsing and querying a local copy of the geonames.org database.
Homepage:
https://gitlab.com/ubports/development/core/geonames
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.3.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit lomiri

if [[ ${PV} == 9999 ]]; then
    KEYWORDS=""
    EGIT_REPO_URI="https://gitlab.com/ubports/development/core/${PN}.git"
    inherit git-r3
else
    KEYWORDS="~amd64"
    SRC_URI="https://gitlab.com/ubports/development/core/${PN}/-/archive/${PV}/${P}.tar.gz"
fi

DESCRIPTION="A library for parsing and querying a local copy of the geonames.org database."
HOMEPAGE="https://gitlab.com/ubports/development/core/${PN}"
LICENSE="GPL-3"
SLOT="0"

DEPEND="
    dev-libs/glib
"

RDEPEND="${DEPEND}"

BDEPEND="
    dev-build/cmake
    dev-build/cmake-extras
    dev-build/samurai
"

src_configure() {
    local mycmakeargs=(
        -DWANT_TESTS="OFF"
        -DWANT_DEMO="OFF"
        -DWANT_DOC="OFF"
    )

    lomiri_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

    dev-libs/glib

RDEPEND

    dev-libs/glib

BDEPEND

    dev-build/cmake
    dev-build/cmake-extras
    dev-build/samurai

Manifest for 0.3.1

Type File Size Source URLs
DIST geonames-0.3.1.tar.gz 170328318 bytes https://gitlab.com/ubports/development/core/geonames/-/archive/0.3.1/geonames-0.3.1.tar.gz