-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DIST zalc-1.2.5.tar.gz 17533 BLAKE2B 8613a8f9d75dedb4c8fc7d50925f35b89ac6db014955f1752915801a5d17a175dfaaca2aebb40b1addb8c9f23eb90f47e5e0b10a14be60f55a5e9a82b7b222a2 SHA512 32416f71c1fb24a35730f70d4a875c1ae5ac916305dc43196274dcab75a4f1ab017be09bd3965e5972bc1dbbf145740716d5c83280b24a5b0dc3cc1b85047168 | ||
EBUILD zalc-1.2.5.ebuild 1053 BLAKE2B 8060ad481e3331151e0f6a0d8ed2c2ad352563a880bbca3c1489f26e258e35aa166d3b8c48371e7b071f589703a390dd44e2928c523aeab161b5ccc2d724a0ae SHA512 ccd01d2e4f4b2948f753b840c0b4dd51205eb259e7045831196485d60687f45e3c9c7f005875f43ab543eaa82ee3e6d0659bf288c33d58a9abbb269e33061a73 | ||
EBUILD zalc-9999.ebuild 1053 BLAKE2B 8060ad481e3331151e0f6a0d8ed2c2ad352563a880bbca3c1489f26e258e35aa166d3b8c48371e7b071f589703a390dd44e2928c523aeab161b5ccc2d724a0ae SHA512 ccd01d2e4f4b2948f753b840c0b4dd51205eb259e7045831196485d60687f45e3c9c7f005875f43ab543eaa82ee3e6d0659bf288c33d58a9abbb269e33061a73 | ||
MISC metadata.xml 317 BLAKE2B a064dab932a673a4ccd23732ebc842cd57c3b9faca938fe291ad7286b5649ff5f3cd8ac1191b340e621a20f3888dcab3470ec041aae115e3cba0a9eab7b67068 SHA512 2b7cae78785fa166c52e6d3eba008543924b3b057ffce125c9afce60453dbde9e8b65546042de78bd48cf4697d6487213a281e7ccad4ac44a944b41d89f2387b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Jorge Pizarro Callejas</name> | ||
<description>Jorgicio Gentoo Overlay</description> | ||
</maintainer> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit cmake-utils desktop | ||
|
||
DESCRIPTION="A small, FLTK-based calculator" | ||
HOMEPAGE="https://ziggi.org/category/developments/zalc/" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/ziggi/${PN}" | ||
else | ||
SRC_URI="https://github.com/ziggi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux ~x86-macos" | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
DEPEND="x11-libs/fltk" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare(){ | ||
sed -i -e "/Version=/d" ${PN}.desktop | ||
cmake-utils_src_prepare | ||
} | ||
|
||
src_configure(){ | ||
local mycmakeargs=( | ||
-DFLTK_INCLUDE_DIRS="/usr/include/fltk" | ||
) | ||
cmake-utils_src_configure | ||
} | ||
|
||
src_install(){ | ||
# For some strange reason, it can't install using the provided cmake-utils install function, | ||
# so I'll do this manually. | ||
dobin "${WORKDIR}/${P}_build/${PN}" | ||
doicon -s 16 ${PN}.png | ||
domenu ${PN}.desktop | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit cmake-utils desktop | ||
|
||
DESCRIPTION="A small, FLTK-based calculator" | ||
HOMEPAGE="https://ziggi.org/category/developments/zalc/" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/ziggi/${PN}" | ||
else | ||
SRC_URI="https://github.com/ziggi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux ~x86-macos" | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
DEPEND="x11-libs/fltk" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare(){ | ||
sed -i -e "/Version=/d" ${PN}.desktop | ||
cmake-utils_src_prepare | ||
} | ||
|
||
src_configure(){ | ||
local mycmakeargs=( | ||
-DFLTK_INCLUDE_DIRS="/usr/include/fltk" | ||
) | ||
cmake-utils_src_configure | ||
} | ||
|
||
src_install(){ | ||
# For some strange reason, it can't install using the provided cmake-utils install function, | ||
# so I'll do this manually. | ||
dobin "${WORKDIR}/${P}_build/${PN}" | ||
doicon -s 16 ${PN}.png | ||
domenu ${PN}.desktop | ||
} |