mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
gui-libs/text-engine: Initial import
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
This commit is contained in:
1
gui-libs/text-engine/Manifest
Normal file
1
gui-libs/text-engine/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST text-engine-0.1.0.tar.gz 15728 BLAKE2B 41a5b4bb0347eca29268cf089a7ea127a0a467fa123384bc1d92cbb215ca98f9963742ba5f93972d163c7f6708ac428762a92023d98ad130b56657b6eccb7956 SHA512 36be3e913187dfbba96945891a64cb2b3efde8324cdb3457a64c2fdfd19e2c1289d48a92ca60c957c52e18a6cabbcc13f178c34687f183f60557e41db5c36418
|
||||
11
gui-libs/text-engine/metadata.xml
Normal file
11
gui-libs/text-engine/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>liaoyuan@gmail.com</email>
|
||||
<name>Yuan Liao</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mjakeman/text-engine</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
46
gui-libs/text-engine/text-engine-0.1.0.ebuild
Normal file
46
gui-libs/text-engine/text-engine-0.1.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mjakeman/text-engine.git"
|
||||
else
|
||||
SRC_URI="https://github.com/mjakeman/text-engine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A lightweight rich-text framework for GTK 4"
|
||||
HOMEPAGE="https://github.com/mjakeman/text-engine"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
gui-libs/gtk:4
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-libs/json-glib
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/subdir('demo')/d" meson.build ||
|
||||
die "Failed to modify meson.ebuild to exclude the demo program"
|
||||
}
|
||||
46
gui-libs/text-engine/text-engine-9999.ebuild
Normal file
46
gui-libs/text-engine/text-engine-9999.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mjakeman/text-engine.git"
|
||||
else
|
||||
SRC_URI="https://github.com/mjakeman/text-engine/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A lightweight rich-text framework for GTK 4"
|
||||
HOMEPAGE="https://github.com/mjakeman/text-engine"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
gui-libs/gtk:4
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-libs/json-glib
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/subdir('demo')/d" meson.build ||
|
||||
die "Failed to modify meson.ebuild to exclude the demo program"
|
||||
}
|
||||
Reference in New Issue
Block a user