Skip to content

Commit

Permalink
media-gfx/colorpicker: add 1.1.5, drop 1.0.5
Browse files Browse the repository at this point in the history
Closes #24

Signed-off-by: Xin Yang <[email protected]>
  • Loading branch information
YangMame committed May 23, 2024
1 parent 5411943 commit eea6f86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion media-gfx/colorpicker/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST 1.0.5.tar.gz 100755 BLAKE2B f872f6e962d6a4eabb642adab18454aed06016cda27e2e03a45e86eafbf593d35253fc8742a679d9de699b94d2aa4d4c9468a539d1c2d96725bcadd5b7e197ac SHA512 b51f0d8a8cc77c4c2b0398fba3deddbbce3b0e17d811739cd3fe2e243fbca4048140fb71a45ddf9906750765b32dffd724933fe93be0f8e869ea52636ea20074
DIST colorpicker-1.1.5.tar.gz 102382 BLAKE2B d4b8f1c2c2eb8622303547bd4df290f8a5dbcaef36aa4710a5aa2cbf4eef5293f6954c012abd3ef840065752a06a6470260fa7260c55905c6894da493810e5cc SHA512 5dfcdb20d819ae646c2e17ed977104ddb9db7b2b291baf13744765d8ef83d8b6a4d85644572f26ca69bc218f6694e34a16264c9d02db274f885cba50ed87ebd2
Original file line number Diff line number Diff line change
@@ -1,45 +1,32 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

inherit meson vala xdg

DESCRIPTION="A color picker for elementaryOS."
HOMEPAGE="https://github.com/RonnyDo/ColorPicker"
SRC_URI="https://github.com/RonnyDo/ColorPicker/archive/${PV}.tar.gz"
SRC_URI="https://github.com/RonnyDo/ColorPicker/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3.0"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
dev-libs/granite
x11-libs/gtk+
dev-util/meson
dev-lang/vala
"
RDEPEND="${DEPEND}"

src_unpack() {
if [ "${A}" != "" ]; then
unpack ${A}
fi
mv * ${PN}-${PV}
mv * "${P}"
}

src_configure() {
cd ${S}
export VALAC=`find /usr/bin/valac*`
meson build && cd build
meson configure --prefix=/usr
}

src_compile() {
cd ${S}/build
ninja
}

src_install() {
cd ${S}/build
DESTDIR="${D}" ninja install
vala_setup
meson_src_configure
}

0 comments on commit eea6f86

Please sign in to comment.