forked from hasufell/hasufell-repository
		
	Fix suggestions and bugs spotted by zlin
https://galileo.mailstation.de/gerrit/#/c/5864/
This commit is contained in:
		
							parent
							
								
									8b1c24e748
								
							
						
					
					
						commit
						22a67e22f1
					
				| @ -30,7 +30,7 @@ here_desktop_entry() { | ||||
|     doins "${TEMP}/${1}" | ||||
|     ) | ||||
| 
 | ||||
|     if ! desktop-file-validate ${IMAGE}/usr/share/applications/${1} ; then | ||||
|     if ! desktop-file-validate "${IMAGE}/usr/share/applications/${1}" ; then | ||||
|         eerror "${1} does not pass desktop file validation" | ||||
|         die_unless_nonfatal "${1} does not pass desktop file validation" | ||||
|     fi | ||||
|  | ||||
| @ -21,7 +21,7 @@ SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| MYOPTIONS=" | ||||
|     gnome | ||||
|     gnome [[ description = [ Compile with gnome3 support ] ]] | ||||
|     pulseaudio | ||||
|     xfce4-panel [[ description = [ Add support for XFCE panel ] ]] | ||||
| " | ||||
|  | ||||
| @ -31,8 +31,6 @@ DEFAULT_SRC_INSTALL_PARAMS=( | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_INSTALL_EXTRA_DOCS=( | ||||
|     README.md | ||||
|     CHANGELOG.md | ||||
|     CONTRIBUTING.md | ||||
| ) | ||||
| 
 | ||||
|  | ||||
| @ -18,7 +18,6 @@ DEPENDENCIES=" | ||||
| WORK=${WORKBASE}/sdk | ||||
| 
 | ||||
| src_compile() { | ||||
|     export CXX=${CXX} AR=${AR} RANLIB=${RANLIB} | ||||
|     emake -C ${PN}/projects/gnuc \ | ||||
|         LIBRARYDEST= | ||||
| } | ||||
|  | ||||
| @ -16,7 +16,9 @@ PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS=" | ||||
|     havege [[ description = [ Enable the HAVEGE random generator, | ||||
|                               not suitable for virtualized environments! ] ]] | ||||
|     threads | ||||
|     threads [[ description = [ Enables the threading abstraction layer | ||||
|                                via pthread. This is used if you do intend | ||||
|                                to use contexts between threads. ] ]] | ||||
|     x86_cpu_features: | ||||
|         sse2 | ||||
| " | ||||
| @ -25,7 +27,7 @@ DEPENDENCIES=" | ||||
|     build+run: | ||||
|         sys-libs/zlib | ||||
|     test: | ||||
|         dev-lang/perl | ||||
|         dev-lang/perl:* | ||||
| " | ||||
| 
 | ||||
| CMAKE_SRC_CONFIGURE_PARAMS=( | ||||
|  | ||||
| @ -16,7 +16,7 @@ DEPENDENCIES=" | ||||
|     run: | ||||
|         dev-python/python-application[python_abis:*(-)?] | ||||
|         dev-python/python-eventlib[python_abis:*(-)?] | ||||
|         dev-python/python-gnutls[python_abis:*(-)?][>=3.0.0] | ||||
|         dev-python/python-gnutls[>=3.0.0][python_abis:*(-)?] | ||||
|         net-twisted/TwistedCore[python_abis:*(-)?] | ||||
|         net-twisted/TwistedNames[python_abis:*(-)?] | ||||
| " | ||||
|  | ||||
| @ -20,7 +20,7 @@ DEPENDENCIES=" | ||||
|         virtual/pkg-config | ||||
|     build+run: | ||||
|         dev-db/sqlite:3 | ||||
|         dev-python/python-application[python_abis:*(-)?][>=2.0.0] | ||||
|         dev-python/python-application[>=2.0.0][python_abis:*(-)?] | ||||
|         media-libs/libvpx | ||||
|         media-libs/v4l-utils | ||||
|         media/ffmpeg[h264] | ||||
| @ -36,7 +36,7 @@ DEPENDENCIES=" | ||||
|         dev-python/python-dateutil[python_abis:*(-)?] | ||||
|         dev-python/python-eventlib[python_abis:*(-)?] | ||||
|         dev-python/python-gnutls[python_abis:*(-)?] | ||||
|         dev-python/python-msrplib[python_abis:*(-)?][>=0.19.0] | ||||
|         dev-python/python-msrplib[>=0.19.0][python_abis:*(-)?] | ||||
|         dev-python/python-otr[python_abis:*(-)?] | ||||
|         dev-python/python-xcaplib[python_abis:*(-)?] | ||||
|         dev-python/zopeinterface[python_abis:*(-)?] | ||||
|  | ||||
| @ -88,6 +88,6 @@ src_install() { | ||||
|     dobin gambatte_sdl/gambatte_sdl | ||||
|     option qt4 && dobin gambatte_qt/bin/gambatte_qt | ||||
| 
 | ||||
|     nonfatal dodoc README changelog | ||||
|     nonfatal emagicdocs | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -3,7 +3,7 @@ | ||||
| 
 | ||||
| # Purpose: an exlib dealing with installation of the love engine | ||||
| # Maintainer: Julian Ospald <hasufell@posteo.de> | ||||
| # Exports: src_prepare src_install pkg_postinst | ||||
| # Exports: src_prepare src_install | ||||
| # Side-effects: - adds build and runtime dependencies | ||||
| #               - sets $SUMMARY, $HOMEPAGE, $DOWNLOADS, $LICENCES, | ||||
| #                      $DEFAULT_SRC_CONFIGURE_PARAMS, | ||||
| @ -22,7 +22,7 @@ if [[ -n ${LOVE_AUTOCONF} ]]; then | ||||
|     require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] | ||||
| fi | ||||
| 
 | ||||
| export_exlib_phases src_prepare src_install pkg_postinst | ||||
| export_exlib_phases src_prepare src_install | ||||
| 
 | ||||
| SUMMARY="A framework for 2D games in Lua" | ||||
| HOMEPAGE="http://love2d.org/" | ||||
| @ -82,8 +82,3 @@ love_src_install() { | ||||
|     done | ||||
| } | ||||
| 
 | ||||
| # Exported 'pkg_postinst'. | ||||
| love_pkg_postinst() { | ||||
|     alternatives_pkg_postinst | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -5,7 +5,7 @@ require alternatives | ||||
| require setup-py [ import=distutils multibuild=false blacklist=3 ] | ||||
| require gtk-icon-cache | ||||
| 
 | ||||
| export_exlib_phases src_prepare src_install pkg_postinst | ||||
| export_exlib_phases src_prepare src_install | ||||
| 
 | ||||
| SUMMARY="Visual novel engine written in python" | ||||
| DESCRIPTION=" | ||||
| @ -104,7 +104,3 @@ EOF | ||||
|     done | ||||
| } | ||||
| 
 | ||||
| renpy_pkg_postinst() { | ||||
|     alternatives_pkg_postinst | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -10,7 +10,7 @@ LICENCES="DUKE3D GOG-EULA" | ||||
| SLOT="0" | ||||
| PLATFORMS="amd64 hppa ppc x86" | ||||
| MYOPTIONS="" | ||||
| RESTRICT="mirror bindist fetch" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|  | ||||
| @ -43,7 +43,12 @@ MYOPTIONS=" | ||||
|     tools [[ description = [ Build several tools for modding and | ||||
|                              development ] ]] | ||||
|     vpx [[ description = [ Enable support for WebM VP8 Codecs ] ]] | ||||
|     ( opl-musicpack sc55-musicpack ) [[ number-selected = at-most-one ]] | ||||
|     ( | ||||
|       opl-musicpack [[ description = [ Include optional OPL (AdLib) | ||||
|                                        music pack ] ]] | ||||
|       sc55-musicpack [[ description = [ Include optional Roland SC-55 | ||||
|                                         music pack ] ]] | ||||
|     ) [[ number-selected = at-most-one ]] | ||||
| " | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|  | ||||
| @ -46,8 +46,6 @@ src_prepare() { | ||||
| } | ||||
| 
 | ||||
| src_compile() { | ||||
|     export CC=${CC} CXX=${CXX} LD=${LD} AR=${AR} RANLIB=${RANLIB} | ||||
| 
 | ||||
|     emake -C ${MY_S} \ | ||||
|         V=1 \ | ||||
|         DEFAULT_BASEDIR="${OA_SHARE_DIR}" \ | ||||
|  | ||||
| @ -65,7 +65,7 @@ src_unpack() { | ||||
| } | ||||
| 
 | ||||
| src_compile() { | ||||
|     env -u TARGETS -u PLATFORM emake \ | ||||
|     edo env -u TARGETS -u PLATFORM emake \ | ||||
|         ARCH=$(option platform:amd64 "x86_64" "i386") \ | ||||
|         PLATFORM=linux \ | ||||
|         DEFAULT_BASEDIR="/usr/share/${PN}" \ | ||||
|  | ||||
| @ -68,8 +68,6 @@ src_prepare() { | ||||
| src_compile() { | ||||
|     local i | ||||
| 
 | ||||
|     export CC=${CC} CXX=${CXX} LD=${LD} AR=${AR} RANLIB=${RANLIB} | ||||
| 
 | ||||
|     # fixes parallel build issues | ||||
|     for i in sv-release cl-release sdl-release ; do | ||||
|         emake \ | ||||
|  | ||||
| @ -11,7 +11,7 @@ PLATFORMS="-* ~amd64 ~x86" | ||||
| MYOPTIONS=" | ||||
|     ( platform: amd64 x86 ) | ||||
| " | ||||
| RESTRICT="fetch bindist" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     run: | ||||
|  | ||||
| @ -11,7 +11,7 @@ LICENCES="all-rights-reserved" | ||||
| SLOT="0" | ||||
| PLATFORMS="-* ~x86" | ||||
| MYOPTIONS="" | ||||
| RESTRICT="fetch bindist" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|  | ||||
| @ -11,7 +11,7 @@ LICENCES="all-rights-reserved" | ||||
| SLOT="0" | ||||
| PLATFORMS="-* ~x86" | ||||
| MYOPTIONS="" | ||||
| RESTRICT="fetch bindist" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|  | ||||
| @ -26,7 +26,7 @@ MYOPTIONS=" | ||||
|     dlc2 [[ description = [ Install the Kickstarter Bonus Pet ] ]] | ||||
|     dlc3 [[ description = [ Install the Pre-Order Bonus Item and Pet ] ]] | ||||
| " | ||||
| RESTRICT="fetch bindist" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|  | ||||
| @ -11,7 +11,7 @@ DOWNLOADS="manual: ${GOG_SH}" | ||||
| LICENCES="all-rights-reserved GOG-EULA" | ||||
| SLOT="0" | ||||
| PLATFORMS="-* ~amd64 ~x86" | ||||
| RESTRICT="fetch mirror" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| MYOPTIONS=" | ||||
|     ( platform: amd64 x86 ) | ||||
|  | ||||
| @ -21,9 +21,7 @@ DOWNLOADS="" | ||||
| LICENCES="GPL-2 GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-3.0 CC0 OFL-1.1" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS=" | ||||
|     editor | ||||
| " | ||||
| MYOPTIONS="" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
| @ -40,7 +38,6 @@ DEPENDENCIES=" | ||||
|         x11-dri/glu | ||||
|         x11-dri/mesa | ||||
|         x11-libs/libX11 | ||||
|         editor? ( x11-libs/qt:4[opengl] ) | ||||
| " | ||||
| 
 | ||||
| CMAKE_SRC_CONFIGURE_PARAMS=( | ||||
| @ -49,10 +46,6 @@ CMAKE_SRC_CONFIGURE_PARAMS=( | ||||
|     -DUSE_PCH_COMPILATION=OFF | ||||
| ) | ||||
| 
 | ||||
| CMAKE_SRC_CONFIGURE_OPTIONS=( | ||||
|     'editor EDITOR_SUPPORT' | ||||
| ) | ||||
| 
 | ||||
| pkg_postinst() { | ||||
|     gtk-icon-cache_pkg_postinst | ||||
|     freedesktop-desktop_pkg_postinst | ||||
|  | ||||
| @ -11,7 +11,7 @@ LICENCES="all-rights-reserved" | ||||
| SLOT="0" | ||||
| PLATFORMS="-* ~x86" | ||||
| MYOPTIONS="" | ||||
| RESTRICT="bindist fetch mirror" | ||||
| RESTRICT="fetch" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|  | ||||
| @ -59,7 +59,7 @@ DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( | ||||
|     "http zlib ${ROOT}/usr/$(exhost --target)" | ||||
|     "http zlib /usr/$(exhost --target)" | ||||
| ) | ||||
| 
 | ||||
| src_configure() { | ||||
|  | ||||
| @ -20,7 +20,7 @@ DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-makefile.patch ) | ||||
| 
 | ||||
| src_unpack() { | ||||
|     default | ||||
|     edo mv gennady-ja2-stracciatella-* ${WORK} | ||||
|     edo mv gennady-ja2-stracciatella-* "${WORK}" | ||||
| } | ||||
| 
 | ||||
| src_configure() { | ||||
|  | ||||
| @ -3,6 +3,7 @@ | ||||
| 
 | ||||
| MY_PNV="pgl-${PV}" | ||||
| 
 | ||||
| require systemd-service | ||||
| require gtk-icon-cache | ||||
| require sourceforge [ project=peerguardian suffix=tar.gz ] | ||||
| 
 | ||||
| @ -38,7 +39,7 @@ DEPENDENCIES=" | ||||
|         app-arch/p7zip [[ description = [ needed for blocklists packed as .7z ] ]] | ||||
|         net-apps/NetworkManager [[ description = [ pglinux provides a | ||||
|                                                    networkmanager script ]  ]] | ||||
|         virtual/cron | ||||
|         virtual/cron [[ description = [ to send daily reports ] ]] | ||||
|         virtual/mta [[ description = [ needed to send informational (blocklist | ||||
|                                        updates) and warning mails (if pglcmd.wd | ||||
|                                        detects a problem.) ] ]] | ||||
|  | ||||
| @ -37,15 +37,9 @@ DEFAULT_SRC_PREPARE_PATCHES=( | ||||
|     -p2 "${FILES}"/0002-Respect-system-LDFLAGS.patch | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_INSTALL_EXTRA_DOCS=( | ||||
|     README.md | ||||
| ) | ||||
| 
 | ||||
| src_compile() { | ||||
|     local STEAM_CRYPT_BACKEND= | ||||
| 
 | ||||
|     export CC=${CC} PKG_CONFIG=${PKG_CONFIG} | ||||
| 
 | ||||
|     if option providers:nss ; then | ||||
|         STEAM_CRYPT_BACKEND=nss | ||||
|     elif option providers:gcrypt ; then | ||||
|  | ||||
| @ -46,7 +46,8 @@ DEPENDENCIES=" | ||||
|             media/mpv | ||||
|             media/smplayer | ||||
|             media/vlc | ||||
|         ) [[ *description = [ video player backend ] ]] | ||||
|         ) [[ *description = [ video player backend, you probably want | ||||
|                               at least one ] ]] | ||||
| 
 | ||||
| 
 | ||||
| " | ||||
|  | ||||
| @ -287,19 +287,19 @@ inox_src_configure() { | ||||
|         enable_hidpi=0 | ||||
| 
 | ||||
|         # inox specific | ||||
| 		enable_webrtc=0 | ||||
| 		enable_google_now=0 | ||||
| 		enable_remoting=0 | ||||
| 		safe_browsing_mode=0 | ||||
| 		enable_rlz=0 | ||||
| 		enable_hangout_services_extension=0 | ||||
| 		branding=Chromium | ||||
| 		google_chrome_build=0 | ||||
| 		enable_web_speech=1 | ||||
| 		enable_wifi_bootstrapping=0 | ||||
| 		enable_speech_input=0 | ||||
| 		enable_pre_sync_backup=0 | ||||
| 		enable_print_preview=0 | ||||
|         enable_webrtc=0 | ||||
|         enable_google_now=0 | ||||
|         enable_remoting=0 | ||||
|         safe_browsing_mode=0 | ||||
|         enable_rlz=0 | ||||
|         enable_hangout_services_extension=0 | ||||
|         branding=Chromium | ||||
|         google_chrome_build=0 | ||||
|         enable_web_speech=1 | ||||
|         enable_wifi_bootstrapping=0 | ||||
|         enable_speech_input=0 | ||||
|         enable_pre_sync_backup=0 | ||||
|         enable_print_preview=0 | ||||
|     ) | ||||
| 
 | ||||
|     if [[ ${CHROMIUM_CHANNEL} == "stable" ]]; then | ||||
|  | ||||
| @ -31,8 +31,8 @@ src_configure() { | ||||
|         --with-gmp="/usr" \ | ||||
|         --with-mpfr="/usr" \ | ||||
|         --disable-static \ | ||||
|         CC=${CC} \ | ||||
|         CXX=${CXX} \ | ||||
|         AR=${AR} | ||||
|         CC="${CC}" \ | ||||
|         CXX="${CXX}" \ | ||||
|         AR="${AR}" | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -22,7 +22,6 @@ DEFAULT_SRC_INSTALL_PARAMS=( | ||||
| ) | ||||
| 
 | ||||
| src_prepare() { | ||||
|     export CC=$(exhost --tool-prefix)cc | ||||
|     append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -45,7 +45,7 @@ DEPENDENCIES=" | ||||
| " | ||||
| 
 | ||||
| DEFAULT_SRC_COMPILE_PARAMS=( | ||||
|     LIBNAME=${LIBDIR} | ||||
|     LIBNAME=lib | ||||
|     LIBEXECDIR=/usr/$(exhost --target)/libexec/rc | ||||
|     OS=Linux | ||||
| ) | ||||
| @ -85,12 +85,12 @@ src_compile() { | ||||
| 
 | ||||
|     MAKE_ARGS=" | ||||
|         ${DEFAULT_SRC_COMPILE_PARAMS[@]} | ||||
|         MKNET=$(option newnet) | ||||
|         MKNET=$(option newnet yes no) | ||||
|         MKSELINUX=no | ||||
|         MKAUDIT=no | ||||
|         MKPAM=$(optionv pam) | ||||
|         MKSTATICLIBS=no | ||||
|         MKTOOLS=$(option tools) | ||||
|         MKTOOLS=$(option tools yes no) | ||||
|     " | ||||
| 
 | ||||
|     emake ${MAKE_ARGS} | ||||
|  | ||||
| @ -25,7 +25,7 @@ DEPENDENCIES=" | ||||
|         dev-python/python-cjson[python_abis:*(-)?] | ||||
|         dev-python/python-dateutil[python_abis:*(-)?] | ||||
|         dev-python/python-eventlib[python_abis:*(-)?] | ||||
|         dev-python/python-sipsimple[python_abis:*(-)?][>=3.0.0] | ||||
|         dev-python/python-sipsimple[>=3.0.0][python_abis:*(-)?] | ||||
|         dev-python/zopeinterface[python_abis:*(-)?] | ||||
|         net-twisted/TwistedCore[python_abis:*(-)?] | ||||
| " | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user