Compare commits
	
		
			3 Commits
		
	
	
		
			202375b56e
			...
			2fb3e0f128
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 2fb3e0f128 | |||
| 022bc5a46c | |||
| ca940e4072 | 
@@ -1,10 +1,9 @@
 | 
				
			|||||||
# Copyright 1999-2013 Gentoo Foundation
 | 
					# Copyright 1999-2022 Gentoo Authors
 | 
				
			||||||
# Distributed under the terms of the GNU General Public License v2
 | 
					# Distributed under the terms of the GNU General Public License v2
 | 
				
			||||||
# $Header: $
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
EAPI=5
 | 
					EAPI=8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
inherit eutils multilib toolchain-funcs
 | 
					inherit multilib toolchain-funcs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format"
 | 
					DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format"
 | 
				
			||||||
HOMEPAGE="http://libb64.sourceforge.net"
 | 
					HOMEPAGE="http://libb64.sourceforge.net"
 | 
				
			||||||
@@ -17,14 +16,16 @@ KEYWORDS="~amd64 ~x86"
 | 
				
			|||||||
DEPEND="app-arch/unzip"
 | 
					DEPEND="app-arch/unzip"
 | 
				
			||||||
RDEPEND=""
 | 
					RDEPEND=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#PATCHES=( "${FILESDIR}/${P}-build-shared-lib.patch" )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
src_prepare() {
 | 
					src_prepare() {
 | 
				
			||||||
	# Respect compiler environment
 | 
						# Respect compiler environment
 | 
				
			||||||
	tc-export CC CXX
 | 
						tc-export CC CXX
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# Build shared library instead of static
 | 
						# Build shared library instead of static
 | 
				
			||||||
	epatch "${FILESDIR}/${P}-build-shared-lib.patch"
 | 
						eapply -p0 "${FILESDIR}/${P}-build-shared-lib.patch"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	epatch_user
 | 
						eapply_user
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
src_compile() {
 | 
					src_compile() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +0,0 @@
 | 
				
			|||||||
DIST SDL_net-1.2.7.tar.gz 373866 BLAKE2B 4ba9aa62e9358d491983a452960059a3d3d01cb1d28233ed9e925f6bb7fb937c6d9582827b159f57f01c575bc060d0ea727f7ff7fa0eee2a3092f16a0279dec1 SHA512 d255297df97bda4ab27710120404254aba83418a62899210df36d228d0dc61324cda5910e61520c6fda8c4d6104966da7f6af9311564a2180dbcd0a007cbe069
 | 
					 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,45 +0,0 @@
 | 
				
			|||||||
# Copyright 1999-2021 Gentoo Foundation
 | 
					 | 
				
			||||||
# Distributed under the terms of the GNU General Public License v2
 | 
					 | 
				
			||||||
# $Header: $
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
EAPI=5
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Pinkbyte: needed for eautoreconf, epatch
 | 
					 | 
				
			||||||
inherit autotools eutils
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
MY_P=${P/sdl-/SDL_}
 | 
					 | 
				
			||||||
DESCRIPTION="Simple Direct Media Layer Network Support Library"
 | 
					 | 
				
			||||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_net/index.html"
 | 
					 | 
				
			||||||
SRC_URI="http://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
LICENSE="LGPL-2.1"
 | 
					 | 
				
			||||||
SLOT="0"
 | 
					 | 
				
			||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
 | 
					 | 
				
			||||||
IUSE="ipv6 static-libs"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
DEPEND=">=media-libs/libsdl-1.2.5"
 | 
					 | 
				
			||||||
RDEPEND="${DEPEND}"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
S=${WORKDIR}/${MY_P}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_prepare() {
 | 
					 | 
				
			||||||
	# Pinkbyte: patch for IPv6
 | 
					 | 
				
			||||||
	use ipv6 && epatch "${FILESDIR}/${P}-ipv6-new.patch"
 | 
					 | 
				
			||||||
	eautoreconf
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_configure() {
 | 
					 | 
				
			||||||
	econf \
 | 
					 | 
				
			||||||
		--disable-dependency-tracking \
 | 
					 | 
				
			||||||
		$(use_enable static-libs static) \
 | 
					 | 
				
			||||||
		$(use_enable ipv6)
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_install() {
 | 
					 | 
				
			||||||
	emake DESTDIR="${D}" install || die "make install failed"
 | 
					 | 
				
			||||||
	dodoc CHANGES README
 | 
					 | 
				
			||||||
	if ! use static-libs ; then
 | 
					 | 
				
			||||||
		find "${D}" -type f -name '*.la' -exec rm {} + \
 | 
					 | 
				
			||||||
			|| die "la removal failed"
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1 +0,0 @@
 | 
				
			|||||||
DIST spotlighter-0.3.tar.gz 432482 SHA256 a40062230ec66b5312d59c84a26a1a183f7bd5b02dfd9ddbc98189466dcfa92b SHA512 9773747981ff02a39999410883c94cd794b64b48f348fdac1bcae33ab4816328e411a528b0aa2c27e94cee72347657d8e19185d65d238d29d5127fa372243cfc WHIRLPOOL f6de353d99713fa40ac67487591237095ec043fbc25d1295e16f2db4bd101a7e46b2dfed1b202984adc91b4a2bb057343a26d70b49138f6b0365e3fee180d894
 | 
					 | 
				
			||||||
@@ -1,56 +0,0 @@
 | 
				
			|||||||
# Copyright 1999-2013 Gentoo Foundation
 | 
					 | 
				
			||||||
# Distributed under the terms of the GNU General Public License v2
 | 
					 | 
				
			||||||
# $Header: $
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# TODO: Check for work with new cairo
 | 
					 | 
				
			||||||
# with current stable - it segfaults
 | 
					 | 
				
			||||||
# Also this deps possibly not needed:
 | 
					 | 
				
			||||||
#	sci-libs/gsl
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
EAPI=5
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
inherit eutils
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
DESCRIPTION="Shows a movable and resizable spotlight on the screen"
 | 
					 | 
				
			||||||
HOMEPAGE="http://code.google.com/p/ardesia/"
 | 
					 | 
				
			||||||
SRC_URI="http://ardesia.googlecode.com/files/${P}.tar.gz"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
LICENSE="GPL-3"
 | 
					 | 
				
			||||||
SLOT="0"
 | 
					 | 
				
			||||||
KEYWORDS="~amd64 ~x86"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
COMMON_DEPEND="sys-devel/gettext
 | 
					 | 
				
			||||||
	x11-libs/gtk+:3"
 | 
					 | 
				
			||||||
DEPEND="${COMMON_DEPEND}
 | 
					 | 
				
			||||||
	dev-util/intltool"
 | 
					 | 
				
			||||||
RDEPEND="${COMMON_DEPEND}
 | 
					 | 
				
			||||||
	dev-libs/atk
 | 
					 | 
				
			||||||
	media-libs/fontconfig"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_prepare() {
 | 
					 | 
				
			||||||
	# Upstream test is broken in case when
 | 
					 | 
				
			||||||
	# both GTK+-2 and GTK+-3 installed
 | 
					 | 
				
			||||||
	sed -i -e '/pkg_config_args=/s/gthread-2.0//' configure || die 'sed on configure failed'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	# Fix desktop file
 | 
					 | 
				
			||||||
	sed -i \
 | 
					 | 
				
			||||||
		-e '/Version/d' \
 | 
					 | 
				
			||||||
		-e '/Icon/s/.svg//' \
 | 
					 | 
				
			||||||
		-e '/Categories/s/$/;/' \
 | 
					 | 
				
			||||||
		desktop/spotlighter.desktop.in || die 'sed on desktop/spotlighter.desktop.in failed'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	sed -i -e '/#ifdef ENABLE_NLS/a#include <locale.h>/' src/spotlighter.h || die 'sed on spotlighter.h failed'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	epatch_user
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_configure() {
 | 
					 | 
				
			||||||
	# Disable compiling GTK+ test program
 | 
					 | 
				
			||||||
	econf --disable-gtktest
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
src_install() {
 | 
					 | 
				
			||||||
	# --docdir in configure does not work, so - use it here
 | 
					 | 
				
			||||||
	emake DESTDIR="${D}" spotlighterdocdir="${EPREFIX}/usr/share/doc/${PF}" install
 | 
					 | 
				
			||||||
	dodoc TODO
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user