diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /media-libs/urt | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'media-libs/urt')
-rw-r--r-- | media-libs/urt/Manifest | 2 | ||||
-rw-r--r-- | media-libs/urt/urt-3.1b-r3.ebuild | 27 |
2 files changed, 15 insertions, 14 deletions
diff --git a/media-libs/urt/Manifest b/media-libs/urt/Manifest index 0cb3b3db44c8..b7df5f70623c 100644 --- a/media-libs/urt/Manifest +++ b/media-libs/urt/Manifest @@ -8,5 +8,5 @@ AUX urt-3.1b-rle-fixes.patch 5108 BLAKE2B 0aca69e90f54386a654d1a20958239c988b48d AUX urt-3.1b-solaris.patch 281 BLAKE2B 55cc8b4824624c5b9f6db6ff6e62c841950c222981de896c8c6e9d66a8dbb1cbe5b90e54e3f24b07bea23c508c260e0639720b4103ada81fea3277e06ca63939 SHA512 6403f48e858af2f8a177588e231367c09f8c939fc614198a10e45ca83ec000f9d5baf67681c5a65fe75177d59d34ab10c19c3621ac0eda6382793ed3b6bd8d84 AUX urt-3.1b-tempfile.patch 597 BLAKE2B 9f032e0b4dab232d4540a5e7043ff73ace2e6fcdc69e0b2ba1ecedc7f2b62902e0dfadaa78a2e1cddf6f0c173767afe36ee20af0a586072472c77d8f7d81212a SHA512 83784725f216d387771698b0f29c6d5b2bd5e79e5f6deb091905bbb87839824314217641df760cfb18ce87c9d58196860a4c9d12f08da6020fc80a2e7d40347f DIST urt-3.1b.tar.Z 1016405 BLAKE2B 68742773591e2ae28702efb4286939c4000d32edd93110548abc25ab62bfa85e36354f20de6aa74c805ea1c4c8dfa23219c9e6fb08e1c73d90d2625404583aa1 SHA512 6c9070cd106f1d696d22f862cc1c4e10325fafc7bae51e8bb1fb98f6bf8babe21a133e21b3acc0c11cf1b28a23123c8ee7bb064c9d86301b14a1c217fbe1a12d -EBUILD urt-3.1b-r3.ebuild 2347 BLAKE2B 8570eb525f1bcf36f9f3912691bfbe63724e3a3d1eeb324f67235459c8186190fc47cbb4da269b2740bc1f0d40596b8c4cfb58bf8c8a498eefb5b13065e7fd29 SHA512 08fd522346aaab593e1c02d62fcb6e4a1e60d45973d2040224fcf6470cdc375b8bfdded73fe961e6cbadfcea9f0fb45f74064b8e70506aa61f5b37a8ea78f049 +EBUILD urt-3.1b-r3.ebuild 2373 BLAKE2B c60b28a56aff709c549f5d0184c8f3aff75022fafd624c7e8ad09ca27a08d33e6f9f5279b3998bb21754ed00d1a6b914f091805e241db7a5a27fed20ba2413ad SHA512 8cd65d6534ad28a32d0294dec03363a69d8528e132e9d1677fc6a24570bed7ae0833c8ce4a3d38175e6d1b0f9f7eef969acc79cab6a1d56616d6a64890731d2a MISC metadata.xml 225 BLAKE2B a54914e6c67f39dfe7ff921407b1ec063e68eab8292fbc6863e5bb41481f26cf474b7d3281669ea23545cedbed586350a99c305fb3d3a888a3848de13aeac5a4 SHA512 3fd10f5461db46d8be442335e29cdcfba7425e0d93443d45e4238c6767669ce5a0371fd4eb31df6129c089fd90e5433ed9d4366d288d6d2e8ac673bf435d4256 diff --git a/media-libs/urt/urt-3.1b-r3.ebuild b/media-libs/urt/urt-3.1b-r3.ebuild index 99e08abf1455..4bb63a9695dd 100644 --- a/media-libs/urt/urt-3.1b-r3.ebuild +++ b/media-libs/urt/urt-3.1b-r3.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit flag-o-matic multilib toolchain-funcs +EAPI=7 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="the Utah Raster Toolkit is a library for dealing with raster images" HOMEPAGE="https://www.cs.utah.edu/gdc/projects/urt/" SRC_URI="ftp://ftp.iastate.edu/pub/utah-raster/${P}.tar.Z" +S="${WORKDIR}" LICENSE="URT gif? ( free-noncomm )" SLOT="0/3.1b-r2" @@ -24,11 +26,6 @@ DEPEND=" X? ( x11-base/xorg-proto ) " -S=${WORKDIR} - -urt_config() { - use $1 && echo "#define $2" || echo "##define $2" -} PATCHES=( "${FILESDIR}"/${P}-rle-fixes.patch "${FILESDIR}"/${P}-compile-updates.patch @@ -40,13 +37,17 @@ PATCHES=( "${FILESDIR}"/${P}-implicit-function-declarations.patch ) +urt_config() { + use $1 && echo "#define $2" || echo "##define $2" +} + src_prepare() { - rm -f bin/README + rm -f bin/README || die default # punt bogus manpage #109511 - rm -f man/man1/template.1 + rm -f man/man1/template.1 || die # stupid OS X declares a stack_t type already #107428 sed -i -e 's:stack_t:_urt_stack:g' tools/clock/rleClock.c || die @@ -56,9 +57,9 @@ src_prepare() { src_configure() { append-cflags -fPIC - sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr + sed -i -e '/^CFLAGS/s: -O : :' makefile.hdr || die - cp "${FILESDIR}"/gentoo-config config/gentoo + cp "${FILESDIR}"/gentoo-config config/gentoo || die cat >> config/gentoo <<-EOF $(urt_config X X11) $(urt_config postscript POSTSCRIPT) @@ -69,7 +70,7 @@ src_configure() { $(has_version media-libs/giflib && urt_config gif GIF) EOF - ./Configure config/gentoo || die "config" + ./Configure config/gentoo || die "configure failed" } src_compile() { @@ -82,7 +83,7 @@ src_compile() { src_install() { mkdir -p man-dest/man{1,3,5} # this just installs it into some local dirs - make install || die + emake install use tools && dobin bin/* |