diff --git a/dev-libs/granite/Manifest b/dev-libs/granite/Manifest new file mode 100644 index 0000000..f554324 --- /dev/null +++ b/dev-libs/granite/Manifest @@ -0,0 +1 @@ +DIST granite-5.3.0.tar.gz 404331 BLAKE2B 44943f458a32f91dacfcbe8ecb26334fc5b410ee2b518b6c6d80f3c88bb642663891add54f767de20cba21a0829ebcce231c32b475c1875f319cdb4b0e3107ca SHA512 543f6344ec792a02f76f39eb803b6ff2386f0121dd61afcf6c3ae2f43b97fc01aacdb4022c9ce58c06a5d3e79d603cb397d4f95172e56fe9766902bf77d09342 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 + + 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..a5d94dc --- /dev/null +++ b/media-gfx/akira/akira-0.0.13.ebuild @@ -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 +} diff --git a/media-gfx/akira/akira-9999.ebuild b/media-gfx/akira/akira-9999.ebuild new file mode 100644 index 0000000..b992bcd --- /dev/null +++ b/media-gfx/akira/akira-9999.ebuild @@ -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 +} 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 + + 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 +}