diff options
Diffstat (limited to 'dev-libs/libg15render')
-rw-r--r-- | dev-libs/libg15render/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libg15render/files/libg15render-3.0.4-missing-include.patch | 11 | ||||
-rw-r--r-- | dev-libs/libg15render/libg15render-3.0.4-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-libs/libg15render/metadata.xml | 1 |
4 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/libg15render/Manifest b/dev-libs/libg15render/Manifest index 384b611a0835..4d796c181df9 100644 --- a/dev-libs/libg15render/Manifest +++ b/dev-libs/libg15render/Manifest @@ -2,9 +2,11 @@ AUX libg15render-1.2-freetype_pkgconfig.patch 1660 BLAKE2B ac8e1a850a796592a248e AUX libg15render-1.2-pixel-c.patch 686 BLAKE2B a6273daa806090247eab17e2f03f3baa3fbcd7ffe4ee502611a4ecb39134dea809a46d77243c61e949f732b9f7fabd7a7002cc0434dad7e7986da1f25dc2962d SHA512 f1d40893c1f2f17d42c9ca6941d802e0c22a5eb85d9f8167612f7bf21045c096744634ea38928ecfc30c39a6085e6b8652168e711534edf82e3d8f5243c072a4 AUX libg15render-3.0.4-docdir.patch 716 BLAKE2B 11adf063140a938951eab6784b4cd73399d5103a6ceb7e64f59a2d56d3dc473832252bd068c5ed4384be5b1f9894926223a3ee9239a71d6da96f4fe67bcae50e SHA512 61f8e273161607d6878199225832e05d6c547f5e9ca190296b6205c1f97d3f3897a3893195819ed1528d314b76e12cab0c959f0d1ca36cda079f93df19dd692d AUX libg15render-3.0.4-freetype_pkgconfig.patch 1696 BLAKE2B b4a1f6e9117e74fa98d38faff8bd23d03dce13612dcf84280d12b37e1d7a7ebaa2fce94ef19a3670b5c80f131118c3ff8a30e2ca68f292477ed8ae3985346a3f SHA512 bdda475e9a479ca21c70e89e68e9bebee89b993314940869f834a6b687219359430d3944a8c0b01955f289fa7fb0cb560ba55deed4c4a0850a7ef30273f3e551 +AUX libg15render-3.0.4-missing-include.patch 276 BLAKE2B 1709a732899868b357f67ff1812a1e55bb25c19b58d0b4ebdcd61511ff4a57da4119362d661d7aa9283996ce36c7652775148aa00c7e49d8e74bff96babd0c42 SHA512 48f890024aeffcf83312f58ac53d00e09b978ff39f4b3b5db03ead0641342b6318da8d7ccd07b2f5e1308f381bdbf271782b8ea1310a1ce197d62bb778a857f7 DIST libg15render-1.2.tar.bz2 246034 BLAKE2B 70c21341949186dc65bec7ef0f695c783928ab024e5bd3f83eedc527a501bee64cf0561f5e642e3e9173f063b6f74ecca458262ee9c40a2a8837f197338bbb31 SHA512 960fd6bc6159b1b12e1de3b0c07e5960d7d5056d4927be8eddf89a911e2c97a8677ef41456aa255399e8a86cd354b848fab28a47005ee2d1b6640e0c886deaac DIST libg15render-3.0.4.tar.bz2 293668 BLAKE2B 82fece311baf59098d6196b5aa31d6584bf3f610854839e3dcf2318f3e3275ae9394ea2b21576d6e6cc4fffb2440d19b7322704087988de8c47e60d822949758 SHA512 f11470b4c8709b7cab8747d8eca4d55ddf88f6dd0a46f11de78612d6070c8b5ea7188ec1ea0236edbb0e5904e6dffd7c75831d5e00564b3cebf8b9dc58b0100e EBUILD libg15render-1.2-r2.ebuild 921 BLAKE2B 5812234ab1d3a7cb7bd34058cf14bd03fec5b99e4a0e42e55f41cc2c1426d689bf6af91d4869702242394d269bf53357a3aa0c59b182446f78743a9af7466389 SHA512 92a8c023f219dd606bac9268d685efcc716aaba88335f60bf5c2b6884515a739b14d5219710f0956405aec0a932ee4e8dcd58ecb31b955f2d56d7cd0a9428bca +EBUILD libg15render-3.0.4-r1.ebuild 1074 BLAKE2B f6a32faca9969bc88cae4b863e8512e482c4c14e468db1805808336b5575f865c107facddc868ffa01ddf668d46c734e200e5d2b258b9415a43f720644f343f5 SHA512 623bdf3bb3fbef71bcf398dcb964dae6217ee0255fa5d69cc68447f3bfd5d03a8790d1f6deae6c30317029d2c8618bc3751c6493bc14d29c633b9ccf95179d6f EBUILD libg15render-3.0.4.ebuild 1032 BLAKE2B 28f64fb8740a2a6e1863a3c3076219d648f05c8dfa74f1db13ec1feea6a46c935684b6c4afac91bdde03140e1cfa8c113ae9a17ac3bebe5c4f3d901644e2a712 SHA512 f7ac050c524e6a4678ab0e58ba51fd3962c93a60827e430c049b3a13f2aba06d2b4d2b4a7b4ce7a92f1dcfabb30157522bb1600421d5417e5a6fe78ba992f2cd EBUILD libg15render-9999.ebuild 987 BLAKE2B 63d263a43766e6605c712f97d3dcb97ee195866d97463f0372ea565564b01289c8f811b45c292c83f9cf7af64026c18b87ec1edf45ead4dc370d2b9b1195cb09 SHA512 8439c0144154f3643acfd07b1b8c4e9ec0f8b0ca9bce22b337c1b0acb82c0194cc04ab86377b3187fbd07c63f73de7159a4ed4f10be5bfd4cb7a7e9f45b4e689 -MISC metadata.xml 297 BLAKE2B e99602692f6e8088ab7498eff9b8cba7c30e67897b51d032d52dc6b896c735e0d7e8814da90f385882e5d5ffdc27f569b77e20bce0b7d3a66edecb62e05dce51 SHA512 43e029e26caf0a8bcbcfe2e86d1f923f82e59b28aac358e53c493daae165aaa05732fc2283d50dd856967a460b0ce21a5530c599b83929f0c94ae09b76d4da79 +MISC metadata.xml 358 BLAKE2B 1ae1aa2f37ee789bf25cab02988fa4f1553c30fae19540c1fffa7cd8bb7a1e88724b4dd1ed1e4c4c8779ba626863f9efb5781f44491bcde0f1f566916859ef2a SHA512 1eea36420bfa6fdf22e8cc9418b0cba7140c5dd128c43b6d368e280ca65977c6532bcfcbf02ab73a19a7df3f205df4103df0a761dd59f2d64d66f8082056e710 diff --git a/dev-libs/libg15render/files/libg15render-3.0.4-missing-include.patch b/dev-libs/libg15render/files/libg15render-3.0.4-missing-include.patch new file mode 100644 index 000000000000..eeb70bc2c9c6 --- /dev/null +++ b/dev-libs/libg15render/files/libg15render-3.0.4-missing-include.patch @@ -0,0 +1,11 @@ +https://gitlab.com/menelkir/libg15render/-/commit/ea940d38ca5c17685e4c13dcdcde43bbd6ec1fea +--- a/pixel.c ++++ b/pixel.c +@@ -19,6 +19,7 @@ + #include <fcntl.h> + #include <stdlib.h> + #include <math.h> ++#include <unistd.h> + #include "libg15render.h" + + void swap (int *x, int *y){ diff --git a/dev-libs/libg15render/libg15render-3.0.4-r1.ebuild b/dev-libs/libg15render/libg15render-3.0.4-r1.ebuild new file mode 100644 index 000000000000..bdf4d4d973fc --- /dev/null +++ b/dev-libs/libg15render/libg15render-3.0.4-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard" +HOMEPAGE="https://gitlab.com/menelkir/libg15render" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/menelkir/libg15render.git" +else + SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="truetype" + +RDEPEND=" + >=dev-libs/libg15-3.0 + truetype? ( media-libs/freetype )" +DEPEND="${RDEPEND}" +BDEPEND=" + truetype? ( virtual/pkgconfig )" + +PATCHES=( + "${FILESDIR}/${P}-freetype_pkgconfig.patch" + "${FILESDIR}/${PN}-3.0.4-docdir.patch" + "${FILESDIR}/${P}-missing-include.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable truetype ttf) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # no static archives + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/libg15render/metadata.xml b/dev-libs/libg15render/metadata.xml index 947c62c9e342..10e3efad11d7 100644 --- a/dev-libs/libg15render/metadata.xml +++ b/dev-libs/libg15render/metadata.xml @@ -6,5 +6,6 @@ </maintainer> <upstream> <remote-id type="sourceforge">g15tools</remote-id> + <remote-id type="gitlab">menelkir/libg15render</remote-id> </upstream> </pkgmetadata> |