2022-01-09 15:52:35 +01:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-09-13 10:16:53 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit gnome2-utils meson xdg
|
|
|
|
|
|
|
|
DESCRIPTION="A GTK3 camera application that knows how to deal with the media request api"
|
2022-01-09 15:52:35 +01:00
|
|
|
HOMEPAGE="https://gitlab.com/postmarketOS/megapixels"
|
2021-11-12 12:50:28 +01:00
|
|
|
SRC_URI="https://gitlab.com/postmarketOS/megapixels/-/archive/${PV}/${P}.tar.gz"
|
2021-09-13 10:16:53 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
|
2021-10-07 14:05:26 +02:00
|
|
|
DEPEND="
|
2021-09-13 10:16:53 +02:00
|
|
|
gui-libs/gtk
|
2021-09-15 15:55:28 +02:00
|
|
|
x11-libs/gtk+:3
|
2021-09-13 10:16:53 +02:00
|
|
|
media-libs/tiff
|
|
|
|
media-gfx/zbar
|
|
|
|
media-libs/libepoxy
|
|
|
|
media-libs/libraw
|
2021-09-15 15:55:28 +02:00
|
|
|
media-gfx/dcraw
|
|
|
|
media-gfx/imagemagick
|
2021-09-13 10:16:53 +02:00
|
|
|
"
|
2021-12-03 22:27:50 +01:00
|
|
|
|
2021-10-07 14:05:26 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
2021-09-13 10:16:53 +02:00
|
|
|
|
2022-12-15 13:54:39 +01:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/8721f29e27f21111c439ee45f4ea76b56017d016.patch
|
|
|
|
)
|
|
|
|
|
2021-09-13 10:16:53 +02:00
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_pkg_postrm
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|