From 449506d534e127ab0c194e8f2b360799489d787d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 00:32:36 +0100 Subject: [PATCH 1/5] dev-libs/granite: bump to 5.3.0 --- dev-libs/granite/Manifest | 1 + dev-libs/granite/granite-5.3.0.ebuild | 79 +++++++++++++++++++++++++++ dev-libs/granite/metadata.xml | 12 ++++ 3 files changed, 92 insertions(+) create mode 100644 dev-libs/granite/Manifest create mode 100644 dev-libs/granite/granite-5.3.0.ebuild create mode 100644 dev-libs/granite/metadata.xml diff --git a/dev-libs/granite/Manifest b/dev-libs/granite/Manifest new file mode 100644 index 0000000..9be82cc --- /dev/null +++ b/dev-libs/granite/Manifest @@ -0,0 +1 @@ +DIST granite-5.2.5.tar.gz 392987 BLAKE2B 507c3b810b750257a66195b45842a7664eb544f86a8606124d30d277c03680296f1ace7a9233d6e094ad5ce3357564e13b61d946f8ed926ccf22a5d9b5e98648 SHA512 64a08293bc4b33d77206c7070b4e2002dd8e2da8a358e43074b681a9228790dcb342d3a705cfc0309a7e1e7f498a2a656e972c2fee085ba99fb5214e33758fc3 diff --git a/dev-libs/granite/granite-5.3.0.ebuild b/dev-libs/granite/granite-5.3.0.ebuild new file mode 100644 index 0000000..dc1cb86 --- /dev/null +++ b/dev-libs/granite/granite-5.3.0.ebuild @@ -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 +} diff --git a/dev-libs/granite/metadata.xml b/dev-libs/granite/metadata.xml new file mode 100644 index 0000000..6d6fdac --- /dev/null +++ b/dev-libs/granite/metadata.xml @@ -0,0 +1,12 @@ + + + + + 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. + + + elementary/granite + + From af577fabcc5da06eeeb0957b18a2f7f479fea948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 00:35:31 +0100 Subject: [PATCH 2/5] media-gfx/akira: new pkg; add 0.0.13 and 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- media-gfx/akira/Manifest | 1 + media-gfx/akira/akira-0.0.13.ebuild | 50 +++++++++++++++++++++++++++++ media-gfx/akira/akira-9999.ebuild | 50 +++++++++++++++++++++++++++++ media-gfx/akira/metadata.xml | 11 +++++++ 4 files changed, 112 insertions(+) create mode 100644 media-gfx/akira/Manifest create mode 100644 media-gfx/akira/akira-0.0.13.ebuild create mode 100644 media-gfx/akira/akira-9999.ebuild create mode 100644 media-gfx/akira/metadata.xml diff --git a/media-gfx/akira/Manifest b/media-gfx/akira/Manifest new file mode 100644 index 0000000..2fe668a --- /dev/null +++ b/media-gfx/akira/Manifest @@ -0,0 +1 @@ +DIST akira-0.0.13.tar.gz 899335 BLAKE2B a995bf6083bec24f32e84adfc5551f620877d0ce98b18ff33c7eef57c8401bf8964c9104278691f997024670c8df97d451effba469991eb2d44ee37c166a082e SHA512 e8fbdeb37e1679ef3ee640da4bb37a19c40549b6006291b3dafe7cf56c9436da1ef303232040de8d58dafc5eb110317c77feb21b9e4582520e7baa52f871cd5e diff --git a/media-gfx/akira/akira-0.0.13.ebuild b/media-gfx/akira/akira-0.0.13.ebuild new file mode 100644 index 0000000..cdb58dd --- /dev/null +++ b/media-gfx/akira/akira-0.0.13.ebuild @@ -0,0 +1,50 @@ +# 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}" + +pkg_preinst() { + xdg_pkg_preinst + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/media-gfx/akira/akira-9999.ebuild b/media-gfx/akira/akira-9999.ebuild new file mode 100644 index 0000000..cdb58dd --- /dev/null +++ b/media-gfx/akira/akira-9999.ebuild @@ -0,0 +1,50 @@ +# 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}" + +pkg_preinst() { + xdg_pkg_preinst + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/media-gfx/akira/metadata.xml b/media-gfx/akira/metadata.xml new file mode 100644 index 0000000..528fdbc --- /dev/null +++ b/media-gfx/akira/metadata.xml @@ -0,0 +1,11 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + akiraux/akira + + From 69763259256976efba86c88b121ddb74096b2562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 01:44:23 +0100 Subject: [PATCH 3/5] dev-libs/granite: fix manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- dev-libs/granite/Manifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/granite/Manifest b/dev-libs/granite/Manifest index 9be82cc..f554324 100644 --- a/dev-libs/granite/Manifest +++ b/dev-libs/granite/Manifest @@ -1 +1 @@ -DIST granite-5.2.5.tar.gz 392987 BLAKE2B 507c3b810b750257a66195b45842a7664eb544f86a8606124d30d277c03680296f1ace7a9233d6e094ad5ce3357564e13b61d946f8ed926ccf22a5d9b5e98648 SHA512 64a08293bc4b33d77206c7070b4e2002dd8e2da8a358e43074b681a9228790dcb342d3a705cfc0309a7e1e7f498a2a656e972c2fee085ba99fb5214e33758fc3 +DIST granite-5.3.0.tar.gz 404331 BLAKE2B 44943f458a32f91dacfcbe8ecb26334fc5b410ee2b518b6c6d80f3c88bb642663891add54f767de20cba21a0829ebcce231c32b475c1875f319cdb4b0e3107ca SHA512 543f6344ec792a02f76f39eb803b6ff2386f0121dd61afcf6c3ae2f43b97fc01aacdb4022c9ce58c06a5d3e79d603cb397d4f95172e56fe9766902bf77d09342 From 08701f89955d1300b0317363f3f901010f0417db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 02:09:37 +0100 Subject: [PATCH 4/5] media-gfx/fondo: bump to 1.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- media-gfx/fondo/Manifest | 1 + media-gfx/fondo/fondo-1.5.0.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 media-gfx/fondo/fondo-1.5.0.ebuild diff --git a/media-gfx/fondo/Manifest b/media-gfx/fondo/Manifest index ed4a9e6..2ea4c02 100644 --- a/media-gfx/fondo/Manifest +++ b/media-gfx/fondo/Manifest @@ -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 diff --git a/media-gfx/fondo/fondo-1.5.0.ebuild b/media-gfx/fondo/fondo-1.5.0.ebuild new file mode 100644 index 0000000..750e94f --- /dev/null +++ b/media-gfx/fondo/fondo-1.5.0.ebuild @@ -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 +} From be32cd8ffb0a82d2a5b50697699f0ba5d40ca397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 7 Dec 2020 18:57:05 +0100 Subject: [PATCH 5/5] media-gfx/akira: fix vala; symlink to a more sane name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- media-gfx/akira/akira-0.0.13.ebuild | 11 +++++++++++ media-gfx/akira/akira-9999.ebuild | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/media-gfx/akira/akira-0.0.13.ebuild b/media-gfx/akira/akira-0.0.13.ebuild index cdb58dd..a5d94dc 100644 --- a/media-gfx/akira/akira-0.0.13.ebuild +++ b/media-gfx/akira/akira-0.0.13.ebuild @@ -34,6 +34,17 @@ DEPEND=" " 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 diff --git a/media-gfx/akira/akira-9999.ebuild b/media-gfx/akira/akira-9999.ebuild index cdb58dd..b992bcd 100644 --- a/media-gfx/akira/akira-9999.ebuild +++ b/media-gfx/akira/akira-9999.ebuild @@ -34,6 +34,17 @@ DEPEND=" " 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