Compare commits

..

No commits in common. "1d6f492edb21b59bec2d513b70e2124ac5d3bfc1" and "0f5c6ec4b5c9d727ac8fcaf653741a9076811347" have entirely different histories.

4 changed files with 79 additions and 135 deletions

View File

@ -1 +1 @@
DIST akira-3b6c58ab4376f0c40cf647164354a65ba2b15a3f.tar.gz 1000439 BLAKE2B e5940adcf00543f19c349bbcbd1841cb67512e5ad0617c55b63f764e0879356650048a10b32561a0849d1091d07a2a8a2f3d9a43082c037c3494cb85f1f40494 SHA512 cdf2648bb7f4910967039682b21ac488b5fb873aba877af02660d0e102672ebeaca4079d30d44aa13ea3e6608be11a5962e15c47fba61224f221c58489b67d37
DIST akira-0.0.13.tar.gz 899335 BLAKE2B a995bf6083bec24f32e84adfc5551f620877d0ce98b18ff33c7eef57c8401bf8964c9104278691f997024670c8df97d451effba469991eb2d44ee37c166a082e SHA512 e8fbdeb37e1679ef3ee640da4bb37a19c40549b6006291b3dafe7cf56c9436da1ef303232040de8d58dafc5eb110317c77feb21b9e4582520e7baa52f871cd5e

View File

@ -0,0 +1,61 @@
# Copyright 1999-2021 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

@ -1,89 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson vala virtualx xdg
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
COMMIT="3b6c58ab4376f0c40cf647164354a65ba2b15a3f"
SRC_URI="https://github.com/akiraux/Akira/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
S="${WORKDIR}/${PN^}-${COMMIT}"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-arch/libarchive
>=dev-libs/granite-6.0.0
dev-libs/json-glib
dev-libs/libgee:0.8
dev-libs/libxml2
>=x11-libs/cairo-1.14
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/gettext
"
pkg_setup() {
vala_setup
}
src_prepare() {
eapply_user
# Remove automagic test dependencies
sed -i \
-e 's/\(appstream_util =\) .*/\1 disabler()/' \
-e 's/\(desktop_file_validate =\) .*/\1 disabler()/' \
-e 's/\(vala_lint =\) .*/\1 disabler()/' \
meson.build || die
}
src_configure() {
local emesonargs=(
$(meson_use test install-tests)
)
meson_src_configure
}
src_install() {
meson_src_install
dosym com.github.akiraux.akira /usr/bin/akira
}
src_test() {
local -x PATH="${BUILD_DIR}/tests:${PATH}"
local -x top_builddir="${S}"
virtx meson_src_test
}
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

@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EAPI=7
inherit gnome2-utils meson vala virtualx xdg
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"
@ -12,65 +12,37 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/akiraux/${PN}.git"
else
COMMIT="3b6c58ab4376f0c40cf647164354a65ba2b15a3f"
SRC_URI="https://github.com/akiraux/Akira/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
S="${WORKDIR}/${PN^}-${COMMIT}"
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"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
DEPEND="
>=dev-libs/granite-5.3.0
app-arch/libarchive
>=dev-libs/granite-6.0.0
dev-libs/gobject-introspection
dev-libs/json-glib
dev-libs/libgee:0.8
dev-libs/libgee
dev-libs/libxml2
>=x11-libs/cairo-1.14
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/gettext
x11-libs/goocanvas:2.0
x11-libs/gtksourceview:4
"
pkg_setup() {
vala_setup
}
RDEPEND="${DEPEND}"
src_prepare() {
eapply_user
# Remove automagic test dependencies
sed -i \
-e 's/\(appstream_util =\) .*/\1 disabler()/' \
-e 's/\(desktop_file_validate =\) .*/\1 disabler()/' \
-e 's/\(vala_lint =\) .*/\1 disabler()/' \
meson.build || die
}
src_configure() {
local emesonargs=(
$(meson_use test install-tests)
)
meson_src_configure
xdg_environment_reset
vala_src_prepare
default
}
src_install() {
meson_src_install
dosym com.github.akiraux.akira /usr/bin/akira
}
src_test() {
local -x PATH="${BUILD_DIR}/tests:${PATH}"
local -x top_builddir="${S}"
virtx meson_src_test
dosym "${EPREFIX}/usr/bin/com.github.akiraux.${PN}" "${EPREFIX}/usr/bin/${PN}"
}
pkg_preinst() {