diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
commit | bed3b604e16fc6075e29f1af8d47507a07035bd3 (patch) | |
tree | 1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /media-libs/sge | |
parent | d6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff) |
gentoo auto-resync : 21:06:2024 - 00:11:18
Diffstat (limited to 'media-libs/sge')
-rw-r--r-- | media-libs/sge/Manifest | 2 | ||||
-rw-r--r-- | media-libs/sge/sge-030809-r1.ebuild (renamed from media-libs/sge/sge-030809.ebuild) | 37 |
2 files changed, 18 insertions, 21 deletions
diff --git a/media-libs/sge/Manifest b/media-libs/sge/Manifest index f2c7ff13d260..2001b128372c 100644 --- a/media-libs/sge/Manifest +++ b/media-libs/sge/Manifest @@ -3,5 +3,5 @@ AUX sge-030809-cmap.patch 684 BLAKE2B 951a434b5aa8fbf890b62c9cfaa420137ae5898a91 AUX sge-030809-freetype.patch 625 BLAKE2B c075614e5c163344661a8628bd9b612ab154e8bee063c52e0c64575a5c5e8905da9f0d3edc553c6e5570f395aebf6ef533962f306604402d0abed891f412a890 SHA512 ec7fbcf0d072b6f1b51de6838113d8f1e030a8b91036f6e6674d63728adf1b81e6f31edff7e6bc28d270f200b907c6ecdc924730d9195e563f3da807a519764a AUX sge-030809-freetype_pkgconfig.patch 701 BLAKE2B 036fbfbfdf76f8460b0b82d9abbf29c1ae0e20d7d779fa21925be9def41ebb9cc6d34a2b050b7b4b3b843ef3a4589e65636dc43d42699d2bee084d41598dd22e SHA512 9925452ea57a581869c7bd0d27af1bcb440a4e5a6fdd93084ca1c7cefecb9d78d2805a11d2b725fcedaeaf4e9f84f0efa093aee018b59ec34e7c00bf80f73b77 DIST sge030809.tar.gz 251698 BLAKE2B fbb8ac88e6328c160af95e8922eb401f5ae34b296ba5e5bc161d5236b94ed7fc3b1502cdc684092d73276d1120c2f1eb56bc7571ec44b941cdc6ebcbc51f0176 SHA512 59144d573f254cc451a22a2d60ba68c7d9437b5095f63fc7ec36c21c3caf7580c5365267a004e08b9d08cf187a59ddefb76a5829f4a6aa1ff4d45f7d044bb2fb -EBUILD sge-030809.ebuild 1329 BLAKE2B ad3c4cc7a10c94c17bca8d814019806a902858677368decd5406b4c08e0e4af6c28619c7e4638343c5174b7aafbc59b7bf1a3c05dc58f5fde8bba7026b2b529f SHA512 32b82982728f325897ed2f93d224c83e783e41286b2c99754200486a9f278df872456449ed93fe8ce1096e81ce68caeb3586093b7469af25cd5dc5aee51e11b6 +EBUILD sge-030809-r1.ebuild 1347 BLAKE2B 8158b91f533923ead352efb88780db74f52007b26d2ca9de873881df36659c0493031a21aed8fc982be1cc1ae26954b1f5052c502b81de59d39e991076ff91fd SHA512 c54f64e8f9a9af6877d0d07db77b2d7c7ed08da14176285cf5b14e1a2394b8e2a579be79ae1366ed06503cbb33b010530a74f637c80c311dafbd62b7f6221074 MISC metadata.xml 332 BLAKE2B 8a0ed915f74a92bdf297e5d14f38abe506292fffb96586aa834f243bd59c885efa441a05f354b96d5da458c917338b7a781799d8d3607c047aa7a7503ff1c1e0 SHA512 177d61a6ab76f02c443f6404e8234ae1adf70f0b5b8435bc37f133e00d05fcfbd594792808d228827b8e65dfdd9a6aa15e9e916a14cd48e8a6f172fa144a578e diff --git a/media-libs/sge/sge-030809.ebuild b/media-libs/sge/sge-030809-r1.ebuild index 8847d3d6aa9d..3148ce491859 100644 --- a/media-libs/sge/sge-030809.ebuild +++ b/media-libs/sge/sge-030809-r1.ebuild @@ -1,28 +1,27 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit toolchain-funcs -MY_P="sge${PV}" DESCRIPTION="Graphics extensions library for SDL" HOMEPAGE="http://www.etek.chalmers.se/~e8cal1/sge/" -SRC_URI="http://www.etek.chalmers.se/~e8cal1/sge/files/${MY_P}.tar.gz" +SRC_URI="http://www.etek.chalmers.se/~e8cal1/sge/files/sge${PV}.tar.gz" +S=${WORKDIR}/sge${PV} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~ia64 ppc x86" +KEYWORDS="amd64 x86" IUSE="doc examples image truetype" -RDEPEND="media-libs/libsdl +DEPEND=" + media-libs/libsdl image? ( media-libs/sdl-image ) - truetype? ( >=media-libs/freetype-2 )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MY_P}" + truetype? ( >=media-libs/freetype-2 ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-build.patch @@ -33,18 +32,14 @@ PATCHES=( src_prepare() { default - sed -i "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" Makefile || die - sed -i \ - -e '/^CC=/d' \ - -e '/^CXX=/d' \ - -e '/^AR=/d' \ - Makefile.conf || die - tc-export CC CXX AR PKG_CONFIG - # make sure the header gets regenerated everytime + sed "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" -i Makefile || die + sed -e '/^CC=/d' -e '/^CXX=/d' -e '/^AR=/d' -i Makefile.conf || die + # make sure the header gets regenerated every time rm -f sge_config.h } src_compile() { + tc-export CC CXX AR PKG_CONFIG emake \ USE_IMG=$(usex image y n) \ USE_FT=$(usex truetype y n) @@ -63,4 +58,6 @@ src_install() { dodoc -r examples docompress -x /usr/share/doc/${PF}/examples fi + + find "${ED}" -type f -name '*.a' -delete || die } |