app-mobilephone/flashlight - 0.1.1 (guru)

Search

Install

Install this version:

emerge -a =app-mobilephone/flashlight-0.1.1

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

autounmask =app-mobilephone/flashlight-0.1.1

Or alternatively:

emerge --autounmask-write -a =app-mobilephone/flashlight-0.1.1

Package Information

Description:
Simple flashlight application for the PinePhone
Homepage:
https://gitlab.com/a-wai/flashlight.git
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.1.1 7 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit meson gnome2-utils udev

MY_COMMIT="f5feb4b3d17bbf16171d716bbb8e28f3a84542ef"

DESCRIPTION="Simple flashlight application for the PinePhone"
HOMEPAGE="https://gitlab.com/a-wai/flashlight.git"
SRC_URI="https://gitlab.com/a-wai/flashlight/-/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${MY_COMMIT}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

RDEPEND="
	dev-libs/glib
	x11-libs/gtk+
"
BDEPEND="dev-lang/python-exec[native-symlinks]"

src_install() {
	meson_src_install
	udev_dorules "${FILESDIR}/60-flashlight.rules"
	mv "${D}/usr/share/appdata" "${D}/usr/share/metainfo" || die
}

pkg_postinst() {
	gnome2_schemas_update
	xdg_desktop_database_update
	udev_reload
}

pkg_postrm() {
	gnome2_schemas_update
	xdg_icon_cache_update
	udev_reload
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-libs/glib
	x11-libs/gtk+

BDEPEND

dev-lang/python-exec[native-symlinks]

Manifest for 0.1.1

Type File Size Source URLs
DIST flashlight-0.1.1.tar.gz 20077 bytes https://gitlab.com/a-wai/flashlight/-/archive/f5feb4b3d17bbf16171d716bbb8e28f3a84542ef.tar.gz