diff options
Diffstat (limited to 'media-libs/guilib')
-rw-r--r-- | media-libs/guilib/Manifest | 3 | ||||
-rw-r--r-- | media-libs/guilib/guilib-1.2.1-r1.ebuild | 43 | ||||
-rw-r--r-- | media-libs/guilib/guilib-1.2.1.ebuild | 8 |
3 files changed, 49 insertions, 5 deletions
diff --git a/media-libs/guilib/Manifest b/media-libs/guilib/Manifest index 219c4eb13f33..495b898bcade 100644 --- a/media-libs/guilib/Manifest +++ b/media-libs/guilib/Manifest @@ -1,3 +1,4 @@ DIST GUIlib-1.2.1.tar.gz 345042 BLAKE2B f9dbd0f4c3ba2e0ae90ef010af6a75d92dcdcdaf895f9ec56871a2057e2d4f9691184ceb1d639a76e09073c8802800172ea81169591ca80beadfee3d2c7ffdcb SHA512 8fa39fec10e942720f09092addc2d384fe1783b3d0fe2c01734ea60adfa1067f81bbeffc41142045ed4050c1eb21985273548e687a348bd9fff39473d42d9a68 -EBUILD guilib-1.2.1.ebuild 721 BLAKE2B 3e135f285dbbc753669a8d171a4c298168aa872195a0ea536eda186a88e708555b35ea869ce3dd17a993f5ea0415601b5993e2c9b05d0e591b8d003a2fc2e8f7 SHA512 d587fcec102fff6949146c2553a7ec2b664f84c798285c0da62c8c5127410dbcb165402d6228f8e3bfeb6cec901eb4dfa837f4016d4206a690a35fcc7de7a555 +EBUILD guilib-1.2.1-r1.ebuild 757 BLAKE2B add4e3898ccdde178f96fa84fae4f4aaa68cfe2ea36b0910269e0070adc24369484b52193a047b328c66e8ccdb373184778ecb2b1ff89fb26589d65a6ecaac45 SHA512 5cc95362f9f455f9c8c44a9509c3c877da1d7080affc2d70fb1473271585fe85f88c69ae3acbbbbf75a515b3e52814fc51d68374659768d67ea56d5bc6785dba +EBUILD guilib-1.2.1.ebuild 718 BLAKE2B 2e21da5985af1995b1e7b267ae212085caa5f47b03b474649887ed0cae7685c555d8385e2773b4711f0a781dc6b91f7b951be1465e1cd4511b0e117362a2badd SHA512 6a0f9468808f78858f17e010bf3a2cc9cdfbbe808e68944cac2bd2ae63b9ed43e66f366e0c171fb171fe572f4eb7ffcd3108c25c106f5881d16895b4feadb708 MISC metadata.xml 227 BLAKE2B 129a977f3a470f0774cb25c7d9d67968f807b5bbba6b1d1b1d0155e288555355796826ce187abf95a06ee0a448e08e9c5ec34ee79d9895bf2718b47ff0d9bfe8 SHA512 d39fc0676c06bf09884fa817e0d5dc386a536d5626a9c2cf34ddb8b7e29d612ecb2c617214788ffe729c5118c632c119e03ce6d38f17114c48c090c82a2ec2e5 diff --git a/media-libs/guilib/guilib-1.2.1-r1.ebuild b/media-libs/guilib/guilib-1.2.1-r1.ebuild new file mode 100644 index 000000000000..381f5353ebae --- /dev/null +++ b/media-libs/guilib/guilib-1.2.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_P=GUIlib-${PV} + +DESCRIPTION="Simple widget set for SDL" +HOMEPAGE="https://www.libsdl.org/projects/GUIlib/" +SRC_URI="https://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="static-libs" + +RDEPEND=">=media-libs/libsdl-1.0.1" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + sed -i -e '/^noinst_PROGRAMS/,$d' Makefile.am || die + + rm -f *.m4 + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + + if use static-libs; then + find "${ED}" -name '*.la' -exec rm {} + || die + fi +} diff --git a/media-libs/guilib/guilib-1.2.1.ebuild b/media-libs/guilib/guilib-1.2.1.ebuild index 0e2073999a72..b58526c31b56 100644 --- a/media-libs/guilib/guilib-1.2.1.ebuild +++ b/media-libs/guilib/guilib-1.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -6,9 +6,9 @@ inherit autotools MY_P=GUIlib-${PV} -DESCRIPTION="a simple widget set for SDL" -SRC_URI="http://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz" -HOMEPAGE="http://www.libsdl.org/projects/GUIlib/" +DESCRIPTION="Simple widget set for SDL" +SRC_URI="https://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz" +HOMEPAGE="https://www.libsdl.org/projects/GUIlib/" LICENSE="public-domain" SLOT="0" |