summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2023-09-18 13:58:47 +0200
committerhaarp <main.haarp@gmail.com>2023-09-18 13:58:47 +0200
commitc8682dd4a6799fbf67a79b6b686b878b9a12730f (patch)
treed8e906b85dbb498b8fea6a6a7166b3b32fe8ff04
parentUpdate some links (diff)
downloadhaarp-c8682dd4a6799fbf67a79b6b686b878b9a12730f.tar.gz
haarp-c8682dd4a6799fbf67a79b6b686b878b9a12730f.tar.bz2
haarp-c8682dd4a6799fbf67a79b6b686b878b9a12730f.zip
Add font-manager
Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r--app-misc/font-manager/Manifest1
-rw-r--r--app-misc/font-manager/font-manager-0.8.8-r2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/app-misc/font-manager/Manifest b/app-misc/font-manager/Manifest
new file mode 100644
index 0000000..15d3d86
--- /dev/null
+++ b/app-misc/font-manager/Manifest
@@ -0,0 +1 @@
+DIST font-manager-0.8.8.tar.gz 3284114 BLAKE2B 3d00c048541e98114f2d7fb11f8e8cfabe98b6b0fcc2bab93b0e3917419d2871a566d9798b68b728f4165f9741502e41c489e9bfb55d42f896092a8b78abbd89 SHA512 0849a8988ee3d1c9f34198b25ab14115747ca5cb825f2b48f26d542e20fff7f6583d24c3946e6fc97ca08f44d100a6aa8a10dd8662d90b94c3923341ff2cc3ff
diff --git a/app-misc/font-manager/font-manager-0.8.8-r2.ebuild b/app-misc/font-manager/font-manager-0.8.8-r2.ebuild
new file mode 100644
index 0000000..d095f3c
--- /dev/null
+++ b/app-misc/font-manager/font-manager-0.8.8-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2 meson vala
+
+DESCRIPTION="A simple font management application for Gtk+ Desktop Environments"
+HOMEPAGE="https://fontmanager.github.io"
+SRC_URI="https://github.com/FontManager/font-manager/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+VALA_MIN_API_VERSION=0.44
+VALA_USE_DEPEND="vapigen"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gnome-search-provider google-fonts +manager nemo reproducible thunar +viewer +nls"
+
+RDEPEND="gnome-base/gnome-common
+ >=dev-db/sqlite-3.8
+ >=dev-libs/json-glib-0.15
+ >=dev-libs/libxml2-2.9
+ >=media-libs/fontconfig-2.1
+ >=media-libs/freetype-2.5
+ >=x11-libs/gtk+-3.22
+ >=x11-libs/pango-1.4
+ google-fonts? (
+ >=net-libs/libsoup-2.62
+ >=net-libs/webkit-gtk-2.24
+ )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ doc? (
+ app-text/yelp-tools
+ dev-util/gtk-doc
+ )
+"
+
+src_prepare() {
+ default
+ vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # https://forums.gentoo.org/viewtopic-p-7080966.html
+ export VALAC="$(type -P valac-0.56)"
+ export VAPIGEN="$(type -P vapigen-0.56)"
+
+ meson_src_configure \
+ $(meson_use manager) \
+ $(meson_use viewer) \
+ $(meson_use reproducible) \
+ $(meson_use nemo) \
+ $(meson_use thunar) \
+ $(meson_use gnome-search-provider search-provider) \
+ $(meson_use google-fonts webkit) \
+ $(meson_use nls enable-nls) \
+ $(meson_use doc yelp-doc) \
+ $(meson_use doc gtk-doc) \
+ --buildtype=release
+}