Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Andreas Westman Dorcsak 2020-12-10 20:13:16 +01:00
commit 918f243f1a
9 changed files with 283 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST granite-5.3.0.tar.gz 404331 BLAKE2B 44943f458a32f91dacfcbe8ecb26334fc5b410ee2b518b6c6d80f3c88bb642663891add54f767de20cba21a0829ebcce231c32b475c1875f319cdb4b0e3107ca SHA512 543f6344ec792a02f76f39eb803b6ff2386f0121dd61afcf6c3ae2f43b97fc01aacdb4022c9ce58c06a5d3e79d603cb397d4f95172e56fe9766902bf77d09342

View File

@ -0,0 +1,79 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_MIN_API_VERSION=0.40
BUILD_DIR="${WORKDIR}/${P}-build"
inherit meson vala xdg
DESCRIPTION="Elementary OS library that extends GTK+"
HOMEPAGE="https://github.com/elementary/granite"
SRC_URI="https://github.com/elementary/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="doc +introspection test"
RESTRICT="!test? ( test )"
BDEPEND="
$(vala_depend)
virtual/pkgconfig
doc? (
dev-lang/vala[valadoc]
dev-util/gtk-doc
)
"
DEPEND="
>=dev-libs/glib-2.50:2
dev-libs/libgee:0.8[introspection=]
>=x11-libs/gtk+-3.22:3[introspection=]
"
RDEPEND="${DEPEND}"
src_prepare() {
default
vala_src_prepare
if use doc; then
sed -i \
"s/find_program('valadoc')/find_program('valadoc-$(vala_best_api_version)')/g" \
doc/meson.build || die "Failed to replace valadoc"
local doc_sed_list=(
"lib/Widgets/AboutDialog.vala"
"lib/Widgets/AlertView.vala"
"lib/Widgets/AsyncImage.vala"
"lib/Widgets/Avatar.vala"
"lib/Widgets/CellRendererBadge.vala"
"lib/Widgets/DynamicNotebook.vala"
"lib/Widgets/MessageDialog.vala"
"lib/Widgets/ModeButton.vala"
"lib/Widgets/OverlayBar.vala"
"lib/Widgets/SeekBar.vala"
"lib/Widgets/StorageBar.vala"
"lib/Widgets/Toast.vala"
"lib/Widgets/Welcome.vala"
)
for src_file in "${doc_sed_list[@]}"; do
sed -ie "s@{{../doc@{{${BUILD_DIR}/doc@g" \
"./${src_file}" || die "Failed to fix docs for ./${src_file}"
done
fi
}
src_configure() {
local emesonargs=(
$(meson_use doc documentation)
)
meson_src_configure
if use doc; then
cp -r ./doc/images "${BUILD_DIR}/doc/" || die "Failed to copy doc images"
fi
}
src_install() {
use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/granite/html/." )
meson_src_install
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
Granite is a companion library for GTK+ and GLib. Among other things,
it provides complex widgets and convenience functions designed for
use in apps built for elementary OS.
</longdescription>
<upstream>
<remote-id type="github">elementary/granite</remote-id>
</upstream>
</pkgmetadata>

1
media-gfx/akira/Manifest Normal file
View File

@ -0,0 +1 @@
DIST akira-0.0.13.tar.gz 899335 BLAKE2B a995bf6083bec24f32e84adfc5551f620877d0ce98b18ff33c7eef57c8401bf8964c9104278691f997024670c8df97d451effba469991eb2d44ee37c166a082e SHA512 e8fbdeb37e1679ef3ee640da4bb37a19c40549b6006291b3dafe7cf56c9436da1ef303232040de8d58dafc5eb110317c77feb21b9e4582520e7baa52f871cd5e

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils vala xdg meson
DESCRIPTION="Native Linux App for UI and UX Design built in Vala and Gtk "
HOMEPAGE="https://github.com/akiraux/akira"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/akiraux/${PN}.git"
else
SRC_URI="https://github.com/akiraux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${P^}"
fi
RESTRICT="mirror test"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
>=dev-libs/granite-5.3.0
app-arch/libarchive
dev-libs/gobject-introspection
dev-libs/json-glib
dev-libs/libgee
dev-libs/libxml2
sys-devel/gettext
x11-libs/goocanvas:2.0
x11-libs/gtksourceview:4
"
RDEPEND="${DEPEND}"
src_prepare() {
xdg_environment_reset
vala_src_prepare
default
}
src_install() {
meson_src_install
dosym "${EPREFIX}/usr/bin/com.github.akiraux.akira" "${EPREFIX}/usr/bin/akira"
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils vala xdg meson
DESCRIPTION="Native Linux App for UI and UX Design built in Vala and Gtk "
HOMEPAGE="https://github.com/akiraux/akira"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/akiraux/${PN}.git"
else
SRC_URI="https://github.com/akiraux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${P^}"
fi
RESTRICT="mirror test"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
>=dev-libs/granite-5.3.0
app-arch/libarchive
dev-libs/gobject-introspection
dev-libs/json-glib
dev-libs/libgee
dev-libs/libxml2
sys-devel/gettext
x11-libs/goocanvas:2.0
x11-libs/gtksourceview:4
"
RDEPEND="${DEPEND}"
src_prepare() {
xdg_environment_reset
vala_src_prepare
default
}
src_install() {
meson_src_install
dosym "${EPREFIX}/usr/bin/com.github.akiraux.${PN}" "${EPREFIX}/usr/bin/${PN}"
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="github">akiraux/akira</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1 +1,2 @@
DIST fondo-1.3.10.tar.gz 3483903 BLAKE2B 90ecc1291c445d32c74920b9ef79d68c862fe1b70fcd6e616c71393fefeef5a1b538bb4de017f4a64f53be8e49c1c26ad164e51bd8d43606722324c02d0cda74 SHA512 c906b399461590da0e69fa4ee87d0308bcb697506cc97e9626cd506370e0b1eec2d6426894490e3c6c194eb8548c3d099b40d694c7409b16b2015d1ba1bb58dd
DIST fondo-1.5.0.tar.gz 3517422 BLAKE2B aa63eac326f08e988259c33ea041ab4110d6cb2b44f55b7c85f2d701b11d68507b1854eb366aa407df96b40dc5a061653de07ef703dbe7294fb8c9bba7190028 SHA512 a865495af88e32a8f337a68acedbb7ab7afdb9f698d92c697d0253eef213c1de93f22ad355cfe834ef27dc61ccb5539f6016882e28bc051f32549bfe29da97e7

View File

@ -0,0 +1,56 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson vala xdg
DESCRIPTION="Wallpaper App for Linux "
HOMEPAGE="https://github.com/calo001/fondo"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/calo001/${PN}.git"
else
SRC_URI="https://github.com/calo001/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="
mirror
!test? ( test )
"
LICENSE="AGPL-3"
SLOT="0"
IUSE="test"
RDEPEND="
dev-libs/granite
x11-libs/gtk+:3
net-libs/libsoup
dev-libs/json-glib
"
DEPEND="
${RDEPEND}
"
src_prepare() {
xdg_environment_reset
vala_src_prepare
default
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}