Skip to content

Commit

Permalink
media-gfx/igal: Version bump to 3.1
Browse files Browse the repository at this point in the history
Version bump to 3.1 and
EAPI=8 and Cleanup

Closes: https://bugs.gentoo.org/453814
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Stein <[email protected]>
  • Loading branch information
jonasstein committed Mar 12, 2022
1 parent c54f208 commit f706496
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-gfx/igal/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST igal-3.1.tar.gz 29372 BLAKE2B bb83a13b082d4d94b0ff186ef34e9c670b5a49ba74ccd40675db6820931132697b886e58db9da7e620322fdb29a59437acd817d6ef69ea4cebdaa408d1fbe567 SHA512 28f036a5450d05c2d795355f52e0e3f5720d94e5e9d82d4b6bd53ff8ce5ea08352e3ec85ddbcca754e986a06fd205b1667b102981484c783add4496c50c102fe
DIST igal2-2.0.tar.gz 27206 BLAKE2B 64683d32d0fc3c16d4e27f6dcd1acb3d1e1b55de8e4362065bda9b9b27e6d54409e115af46da2505dfe79f00e5004ebfb395dc4fe71d91b557c43a0c4d4f01e1 SHA512 663bc4f05fbb226c55c3304126ceb480f050715499a2849567ad1d33da568ed02f85b64ad176f6e1cb1c99c8f50650676a7323f0d0497880802a245274a77a0f
38 changes: 38 additions & 0 deletions media-gfx/igal/igal-3.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Static HTML image gallery generator"
HOMEPAGE="https://igal.trexler.at/"
SRC_URI="https://github.com/solbu/${PN}2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}2-${PV}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"

RDEPEND="
dev-lang/perl
virtual/imagemagick-tools
virtual/jpeg"

src_prepare() {
default
sed -i -e "s|/usr/local/lib/igal2|${EPREFIX}/usr/share/igal2|g" \
igal2 igal2.1 || die
sed -i -e "s|/usr/local/bin/igal2|exec ${EPREFIX}/usr/bin/igal2|" \
-e "1s|^#.*|#!${EPREFIX}/bin/bash|" \
utilities/igal2.sh || die
}

src_compile() { :; }

src_install() {
dobin igal2 utilities/igal2.sh
dosym igal2 /usr/bin/igal
doman igal2.1
dodoc ChangeLog README
insinto /usr/share/igal2
doins *.html tile.png igal2.css
}

0 comments on commit f706496

Please sign in to comment.