forked from hasufell/hasufell-repository
		
	Initial import
This commit is contained in:
		
						commit
						bc0f287aa0
					
				
							
								
								
									
										4
									
								
								metadata/about.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								metadata/about.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| homepage = https://github.com/hasufell/hasufell-repository | ||||
| owner = Julian Ospald <hasufell@posteo.de> | ||||
| status = third-party | ||||
| summary = hasufells user repository | ||||
							
								
								
									
										8
									
								
								metadata/categories.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								metadata/categories.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| app-virtualization | ||||
| dev-lang | ||||
| dev-util | ||||
| sci-mathematics | ||||
| x11-apps | ||||
| x11-plugins | ||||
| x11-themes | ||||
| x11-wm | ||||
							
								
								
									
										5
									
								
								metadata/layout.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								metadata/layout.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| layout = exheres | ||||
| eapi_when_unknown = exheres-0 | ||||
| eapi_when_unspecified = exheres-0 | ||||
| profile_eapi_when_unspecified = exheres-0 | ||||
| masters = arbor | ||||
							
								
								
									
										7
									
								
								metadata/repository_mask.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								metadata/repository_mask.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| ( | ||||
|     x11-wm/i3[~scm] | ||||
| ) [[ | ||||
|     *author = [ hasufell ] | ||||
|     *token = scm | ||||
|     *description = [ Mask scm versions ] | ||||
| ]] | ||||
| @ -0,0 +1,191 @@ | ||||
| # Copyright 2008 Bernd Steinhauser <berniyh@exherbo.org> | ||||
| # Copyright 2011, 2013 Ali Polatel <alip@exherbo.org> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require udev-rules | ||||
| 
 | ||||
| MY_PN=VirtualBox | ||||
| MY_PV=${PV/_/-} | ||||
| MY_PNV=${MY_PN}-${MY_PV} | ||||
| EXT_PN=Oracle_VM_VirtualBox_Extension_Pack | ||||
| # Oracle extension version number is sometimes different from the main version. | ||||
| # In that case the following line need tweaking | ||||
| EXT_PV=${MY_PV} | ||||
| SUMMARY="x86 and AMD64/Intel64 virtualization software" | ||||
| DESCRIPTION=" | ||||
| 
 | ||||
| Binary distribution of VirtualBox, a general-purpose full virtualizer for x86 | ||||
| hardware targeted at server, desktop and embedded use. | ||||
| 
 | ||||
| VirtualBox supports a large number of guest operating systems including -- but | ||||
| not limited to -- Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), | ||||
| DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD. | ||||
| 
 | ||||
| Some of the features of VirtualBox are: | ||||
|  * Modularity | ||||
|  * Virtual machine descriptions in XML | ||||
|  * Guest Additions for Windows and Linux | ||||
|  * Shared folders | ||||
|  * Virtual USB Controllers | ||||
|  * Remote Desktop Protocol | ||||
|  * USB over RDP | ||||
| " | ||||
| HOMEPAGE="http://www.virtualbox.org/" | ||||
| DOWNLOADS=" | ||||
| listed-only: | ||||
|     platform:amd64? ( http://download.virtualbox.org/virtualbox/${PV%_*}/${MY_PNV}-Linux_amd64.run ) | ||||
|     platform:x86? ( http://download.virtualbox.org/virtualbox/${PV%_*}/${MY_PNV}-Linux_x86.run ) | ||||
|     http://download.virtualbox.org/virtualbox/${PV%_*}/${EXT_PN}-${EXT_PV}.vbox-extpack -> ${EXT_PN}-${MY_PV}.tar.gz | ||||
| " | ||||
| 
 | ||||
| LICENCES="GPL-2 VirtualBox" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS=" | ||||
|     systemd [[ description = [ Autoload virtualbox kernel modules using systemd ] ]] | ||||
|     platform: | ||||
|         amd64 | ||||
|         x86 | ||||
| " | ||||
| 
 | ||||
| RESTRICT="strip" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     run: | ||||
|         !app-virtualization/virtualbox-ose | ||||
|         dev-libs/glib:2 | ||||
|         group/usb | ||||
|         group/vboxusers | ||||
|         media-libs/SDL[>=1.2.7] | ||||
|         media-libs/fontconfig | ||||
|         media-libs/freetype:2 | ||||
|         media-libs/libpng | ||||
|         x11-libs/libICE | ||||
|         x11-libs/libSM | ||||
|         x11-libs/libX11 | ||||
|         x11-libs/libXcursor | ||||
|         x11-libs/libXext | ||||
|         x11-libs/libXfixes | ||||
|         x11-libs/libXi | ||||
|         x11-libs/libXinerama | ||||
|         x11-libs/libXmu | ||||
|         x11-libs/libXrandr | ||||
|         x11-libs/libXrender | ||||
|         x11-libs/libXt | ||||
| " | ||||
| 
 | ||||
| pkg_setup() { | ||||
|     exdirectory --allow /opt | ||||
|     exdirectory --allow /etc/modules-load.d | ||||
| } | ||||
| 
 | ||||
| src_unpack() { | ||||
|     edo cp "${FETCHEDDIR}"/${MY_PNV}-Linux_${PLATFORM}.run "${WORKBASE}" | ||||
|     edo chmod u+x "${WORKBASE}"/${MY_PNV}-Linux_${PLATFORM}.run | ||||
|     edo sh "${WORKBASE}"/${MY_PNV}-Linux_${PLATFORM}.run --noexec --target "${WORK}" | ||||
|     edo mkdir "${WORK}"/opt | ||||
|     edo cd "${WORK}"/opt | ||||
|     edo mv "${WORK}"/${MY_PN}.tar.bz2 "${WORK}"/opt | ||||
|     unpack ./${MY_PN}.tar.bz2 | ||||
|     edo rm ${MY_PN}.tar.bz2 | ||||
| 
 | ||||
|     # Extension Pack | ||||
|     edo mkdir "${WORK}"/${EXT_PN} | ||||
|     edo pushd "${WORK}"/${EXT_PN} | ||||
|     unpack ${EXT_PN}-${MY_PV}.tar.gz | ||||
|     edo popd | ||||
| } | ||||
| 
 | ||||
| src_prepare() { | ||||
|     # Some things should not be installed to /opt, but to the dirs we should | ||||
|     # use for them, so we'll move them to another place. | ||||
|     edo mkdir -p "${WORK}"/{doc,apps,icons} | ||||
|     edo mv "${WORK}"/opt/virtualbox.desktop "${WORK}"/apps | ||||
|     edo mv "${WORK}"/opt/VBox.png "${WORK}"/icons | ||||
|     edo mv "${WORK}"/opt/UserManual.pdf "${WORK}"/doc | ||||
|     edo mv "${WORK}"/opt/src "${WORK}" | ||||
| } | ||||
| 
 | ||||
| src_install() { | ||||
|     insinto /etc/vbox | ||||
|     hereins vbox.cfg <<EOF | ||||
| # VirtualBox installation directory | ||||
| INSTALL_DIR='/opt/${MY_PN}' | ||||
| # VirtualBox version | ||||
| INSTALL_VER='${PV%_*}' | ||||
| EOF | ||||
| 
 | ||||
|     insinto /usr/share/applications/ | ||||
|     doins "${WORK}"/apps/virtualbox.desktop | ||||
| 
 | ||||
|     insinto /usr/share/pixmaps/ | ||||
|     newins "${WORK}"/icons/VBox.png virtualbox.png | ||||
| 
 | ||||
|     dodoc "${WORK}"/doc/UserManual.pdf | ||||
| 
 | ||||
|     insinto /usr/src/${PNV} | ||||
|     doins -r "${WORK}"/src/* | ||||
| 
 | ||||
|     dodir /opt/${MY_PN} /usr/bin | ||||
|     edo mv "${WORK}"/opt/* "${IMAGE}"/opt/${MY_PN} | ||||
|     for links in {VBoxHeadless,VBoxManage,VBoxSDL,VBoxVRDP,VirtualBox,vboxwebsrv,VBoxBalloonCtrl,VBoxAutostart}; do | ||||
|         dosym /opt/${MY_PN}/VBox.sh /usr/bin/${links} | ||||
|     done | ||||
|     dosym /opt/${MY_PN}/rdesktop-vrdp /usr/bin/rdesktop-vrdp | ||||
| 
 | ||||
|     # Install Extension Pack | ||||
|     edo pushd "${WORK}"/${EXT_PN} | ||||
|     insinto /opt/${MY_PN}/ExtensionPacks/${EXT_PN} | ||||
|     doins ExtPack* PXE-Intel.rom | ||||
|     if option platform:amd64; then | ||||
|         doins -r linux.amd64 | ||||
|     elif option platform:x86; then | ||||
|         doins -r linux.x86 | ||||
|     else | ||||
|         die "unsupported platform" | ||||
|     fi | ||||
|     edo popd | ||||
| 
 | ||||
|     # VirtualBox needs to be setuid | ||||
|     edo chmod 4711 "${IMAGE}"/opt/${MY_PN}/{VirtualBox,VBoxManage} | ||||
|     edo chmod 4711 "${IMAGE}"/opt/${MY_PN}/{VBoxNetAdpCtl,VBoxNetDHCP} | ||||
| 
 | ||||
|     insinto "${UDEVRULESDIR}" | ||||
|     hereins 10-vboxdrv.rules <<EOF | ||||
| KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660" | ||||
| KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660" | ||||
| SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/opt/${MY_PN}/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass} usb" | ||||
| SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/opt/${MY_PN}/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass} usb" | ||||
| SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/opt/${MY_PN}/VBoxCreateUSBNode.sh --remove \$major \$minor" | ||||
| SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/opt/${MY_PN}/VBoxCreateUSBNode.sh --remove \$major \$minor" | ||||
| EOF | ||||
| 
 | ||||
|     if option systemd; then | ||||
|         insinto /etc/modules-load.d | ||||
|         hereins ${PN}.conf <<EOF | ||||
| vboxdrv | ||||
| vboxnetflt | ||||
| vboxnetadp | ||||
| vboxpci | ||||
| EOF | ||||
|     fi | ||||
| 
 | ||||
|     # Fix for 2.2.0 | ||||
|     for symlink in VBox{DDU,REM,RT,VMM,XPCOM}.so; do | ||||
|         dosym /opt/${MY_PN}/${symlink} /opt/${MY_PN}/components | ||||
|     done | ||||
| } | ||||
| 
 | ||||
| pkg_postinst() { | ||||
|     ewarn "This exheres does not build the kernel modules for VirtualBox, you will have to do this" | ||||
|     ewarn "on your own. The source code has been installed to /usr/src/${PNV}" | ||||
| 
 | ||||
|     if [[ -f /etc/udev/rules.d/60-virtualbox.rules ]]; then | ||||
|         ewarn "Old rules file /etc/udev/rules.d/60-virtualbox.rules found." | ||||
|         ewarn "You should remove this file." | ||||
|     fi | ||||
| 
 | ||||
|     elog "In order to expose USB devices to VirtualBox guests, your user must be a member of" | ||||
|     elog "the 'usb' group." | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										36
									
								
								packages/dev-util/cunit/cunit-2.1_p2.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								packages/dev-util/cunit/cunit-2.1_p2.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 1.12 1.11 1.10 ] ] | ||||
| 
 | ||||
| MY_PN='CUnit' | ||||
| MY_PV="${PV/_p/-}" | ||||
| MY_P="${MY_PN}-${MY_PV}" | ||||
| 
 | ||||
| SUMMARY="CUnit - C Unit Test Framework" | ||||
| DOWNLOADS="mirror://sourceforge/cunit/${MY_P}-src.tar.bz2" | ||||
| HOMEPAGE="http://cunit.sourceforge.net" | ||||
| 
 | ||||
| SLOT="0" | ||||
| LICENCES="LGPL-2" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS="ncurses" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build+run: | ||||
|         ncurses? ( sys-libs/ncurses ) | ||||
| " | ||||
| 
 | ||||
| WORK=${WORKBASE}/${MY_P} | ||||
| 
 | ||||
| DEFAULT_SRC_CONFIGURE_PARAMS=( --disable-static ) | ||||
| DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( | ||||
|     'ncurses curses' | ||||
| ) | ||||
| 
 | ||||
| src_prepare() { | ||||
| 	edo sed -e "/^docdir/d" -i doc/Makefile.am | ||||
| 	edo sed -e '/^dochdrdir/{s:$(prefix)/doc/@PACKAGE@:$(docdir):}' -i doc/headers/Makefile.am | ||||
| 	edo sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in | ||||
| 	eautoreconf | ||||
| } | ||||
| @ -0,0 +1,33 @@ | ||||
| commit afadc8d05674a0e3e2fcf6dfbcf5f3c8f9133119 | ||||
| Author: hasufell <hasufell@hasufell.de> | ||||
| Date:   Sun May 18 19:32:59 2014 +0200 | ||||
| 
 | ||||
|     Respect CFLAGS/CXXFLAGS/LDFLAGS, fixes #66 | ||||
|      | ||||
|     Even in linking command CFLAGS should be respected, no matter | ||||
|     if all objects have already been compiled or not. Some flags | ||||
|     affect both linking and object compilation and users shouldn't | ||||
|     be required to figure them out. This is standard in most build | ||||
|     systems anyway. | ||||
|      | ||||
|     Reorderd the linker line a bit, so it matches common practice, | ||||
|     although this doesn't matter technically (except that LDFLAGS | ||||
|     must go before libraries we link against). | ||||
| 
 | ||||
| diff --git a/Makefile.in b/Makefile.in
 | ||||
| index a522ac1..6dda689 100644
 | ||||
| --- a/Makefile.in
 | ||||
| +++ b/Makefile.in
 | ||||
| @@ -104,10 +104,10 @@ $(FLINT_LIB): $(LOBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) |
 | ||||
|  	$(AT)$(foreach dir, $(BUILD_DIRS), mkdir -p build/$(dir); BUILD_DIR=../build/$(dir); export BUILD_DIR; MOD_DIR=$(dir); export MOD_DIR; $(MAKE) -f ../Makefile.subdirs -C $(dir) shared || exit $$?;) | ||||
|  	$(AT)if [ "$(WANT_NTL)" -eq "1" ]; then \ | ||||
|  	  $(MAKE) build/interfaces/NTL-interface.lo; \ | ||||
| -	  $(CXX) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) build/interfaces/NTL-interface.lo $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LIBS2) -o $(FLINT_LIB); \
 | ||||
| +	  $(CXX) $(CXXFLAGS) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) build/interfaces/NTL-interface.lo $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) -o $(FLINT_LIB) $(LDFLAGS) $(LIBS2); \
 | ||||
|  	fi | ||||
|  	$(AT)if [ "$(WANT_NTL)" -ne "1" ]; then \ | ||||
| -	  $(CC) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) $(LIBS2) -o $(FLINT_LIB); \
 | ||||
| +	  $(CC) $(CFLAGS) $(ABI_FLAG) -shared $(EXTRA_SHARED_FLAGS) $(LOBJS) $(MOD_LOBJS) $(EXT_OBJS) -o $(FLINT_LIB) $(LDFLAGS) $(LIBS2); \
 | ||||
|  	fi | ||||
|   | ||||
|  libflint.a: $(OBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) | build build/interfaces | ||||
| @ -0,0 +1,44 @@ | ||||
| From 27eb23c1844029ee64907500bd8aa87097ffcd32 Mon Sep 17 00:00:00 2001 | ||||
| From: hasufell <hasufell@hasufell.de> | ||||
| Date: Sun, 18 May 2014 18:46:24 +0200 | ||||
| Subject: [PATCH] Allow to control LIBDIR | ||||
| 
 | ||||
| Some distributions have lib32/lib64 and need to control | ||||
| the destination properly. | ||||
| ---
 | ||||
|  Makefile.in | 8 +++++--- | ||||
|  1 file changed, 5 insertions(+), 3 deletions(-) | ||||
| 
 | ||||
| diff --git a/Makefile.in b/Makefile.in
 | ||||
| index c16f838..b6ea4c9 100644
 | ||||
| --- a/Makefile.in
 | ||||
| +++ b/Makefile.in
 | ||||
| @@ -4,6 +4,8 @@ else
 | ||||
|    $(DLPATH):=$(DLPATH_ADD) | ||||
|  endif | ||||
|   | ||||
| +LIBDIR=lib
 | ||||
| +
 | ||||
|  QUIET_CC  = @echo '   ' CC  ' ' $@; | ||||
|  QUIET_CXX = @echo '   ' CXX ' ' $@; | ||||
|  QUIET_AR  = @echo '   ' AR  ' ' $@; | ||||
| @@ -169,13 +171,13 @@ else
 | ||||
|  endif | ||||
|   | ||||
|  install: library | ||||
| -	mkdir -p $(DESTDIR)$(PREFIX)/lib
 | ||||
| +	mkdir -p $(DESTDIR)$(PREFIX)/$(LIBDIR)
 | ||||
|  	mkdir -p $(DESTDIR)$(PREFIX)/include/flint | ||||
|  	$(AT)if [ "$(FLINT_SHARED)" -eq "1" ]; then \ | ||||
| -		cp $(FLINT_LIB) $(DESTDIR)$(PREFIX)/lib; \
 | ||||
| +		cp $(FLINT_LIB) $(DESTDIR)$(PREFIX)/$(LIBDIR); \
 | ||||
|  	fi | ||||
|  	$(AT)if [ "$(FLINT_STATIC)" -eq "1" ]; then \ | ||||
| -		cp libflint.a $(DESTDIR)$(PREFIX)/lib; \
 | ||||
| +		cp libflint.a $(DESTDIR)$(PREFIX)/$(LIBDIR); \
 | ||||
|  	fi | ||||
|  	cp $(HEADERS) $(DESTDIR)$(PREFIX)/include/flint | ||||
|  	$(AT)if [ ! -z $(EXT_HEADERS) ]; then \ | ||||
| -- 
 | ||||
| 1.9.3 | ||||
| 
 | ||||
							
								
								
									
										19
									
								
								packages/sci-mathematics/flint/files/flint-2.4.4-test.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								packages/sci-mathematics/flint/files/flint-2.4.4-test.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| commit 5e3d4a0504158f70d227e7cfc03985fe9a646797 | ||||
| Author: hasufell <hasufell@hasufell.de> | ||||
| Date:   Wed Jul 2 12:58:50 2014 +0200 | ||||
| 
 | ||||
|     Fix NTL test build | ||||
| 
 | ||||
| diff --git a/Makefile.in b/Makefile.in
 | ||||
| index 6dda689..e9de7da 100644
 | ||||
| --- a/Makefile.in
 | ||||
| +++ b/Makefile.in
 | ||||
| @@ -214,7 +214,7 @@ build/interfaces/NTL-interface.o: interfaces/NTL-interface.cpp NTL-interface.h
 | ||||
|  	$(QUIET_CXX) $(CXX) $(CFLAGS) $(INCS) -c $< -o $@; | ||||
|   | ||||
|  build/interfaces/test/t-NTL-interface$(EXEEXT): interfaces/test/t-NTL-interface.cpp | ||||
| -	$(QUIET_CXX) $(CXX) $(CFLAGS) $(INCS) $< build/interfaces/NTL-interface.o -o $@ $(LIBS);
 | ||||
| +	$(QUIET_CXX) $(CXX) $(CFLAGS) $(INCS) $< build/interfaces/NTL-interface.lo -o $@ $(LIBS);
 | ||||
|   | ||||
|  print-%: | ||||
|  	@echo '$*=$($*)' | ||||
| @ -0,0 +1,54 @@ | ||||
| From 3506d617ef9dfc5184aa99be05a25e4f73d6c3f6 Mon Sep 17 00:00:00 2001 | ||||
| From: hasufell <hasufell@hasufell.de> | ||||
| Date: Sun, 18 May 2014 18:47:27 +0200 | ||||
| Subject: [PATCH] Quote variables that could contain whitespaces | ||||
| 
 | ||||
| Make does NOT take care of this in this context. It's | ||||
| not a variable assignment and installation would fail | ||||
| if DESTDIR contains any whitespace. | ||||
| ---
 | ||||
|  Makefile.in | 22 +++++++++++----------- | ||||
|  1 file changed, 11 insertions(+), 11 deletions(-) | ||||
| 
 | ||||
| diff --git a/Makefile.in b/Makefile.in
 | ||||
| index b6ea4c9..a522ac1 100644
 | ||||
| --- a/Makefile.in
 | ||||
| +++ b/Makefile.in
 | ||||
| @@ -171,23 +171,23 @@ else
 | ||||
|  endif | ||||
|   | ||||
|  install: library | ||||
| -	mkdir -p $(DESTDIR)$(PREFIX)/$(LIBDIR)
 | ||||
| -	mkdir -p $(DESTDIR)$(PREFIX)/include/flint
 | ||||
| +	mkdir -p "$(DESTDIR)$(PREFIX)/$(LIBDIR)"
 | ||||
| +	mkdir -p "$(DESTDIR)$(PREFIX)/include/flint"
 | ||||
|  	$(AT)if [ "$(FLINT_SHARED)" -eq "1" ]; then \ | ||||
| -		cp $(FLINT_LIB) $(DESTDIR)$(PREFIX)/$(LIBDIR); \
 | ||||
| +		cp $(FLINT_LIB) "$(DESTDIR)$(PREFIX)/$(LIBDIR)"; \
 | ||||
|  	fi | ||||
|  	$(AT)if [ "$(FLINT_STATIC)" -eq "1" ]; then \ | ||||
| -		cp libflint.a $(DESTDIR)$(PREFIX)/$(LIBDIR); \
 | ||||
| +		cp libflint.a "$(DESTDIR)$(PREFIX)/$(LIBDIR)"; \
 | ||||
|  	fi | ||||
| -	cp $(HEADERS) $(DESTDIR)$(PREFIX)/include/flint
 | ||||
| +	cp $(HEADERS) "$(DESTDIR)$(PREFIX)/include/flint"
 | ||||
|  	$(AT)if [ ! -z $(EXT_HEADERS) ]; then \ | ||||
| -		cp $(EXT_HEADERS) $(DESTDIR)$(PREFIX)/include/flint; \
 | ||||
| +		cp $(EXT_HEADERS) "$(DESTDIR)$(PREFIX)/include/flint"; \
 | ||||
|  	fi | ||||
| -	mkdir -p $(DESTDIR)$(FLINT_CPIMPORT_DIR)
 | ||||
| -	cp qadic/CPimport.txt $(DESTDIR)$(FLINT_CPIMPORT_DIR)
 | ||||
| -	mkdir -p $(DESTDIR)$(PREFIX)/include/flint/flintxx
 | ||||
| -	cp flintxx/*.h $(DESTDIR)$(PREFIX)/include/flint/flintxx
 | ||||
| -	cp *xx.h $(DESTDIR)$(PREFIX)/include/flint
 | ||||
| +	mkdir -p "$(DESTDIR)$(FLINT_CPIMPORT_DIR)"
 | ||||
| +	cp qadic/CPimport.txt "$(DESTDIR)$(FLINT_CPIMPORT_DIR)"
 | ||||
| +	mkdir -p "$(DESTDIR)$(PREFIX)/include/flint/flintxx"
 | ||||
| +	cp flintxx/*.h "$(DESTDIR)$(PREFIX)/include/flint/flintxx"
 | ||||
| +	cp *xx.h "$(DESTDIR)$(PREFIX)/include/flint"
 | ||||
|   | ||||
|  build: | ||||
|  	mkdir -p build | ||||
| -- 
 | ||||
| 1.9.3 | ||||
| 
 | ||||
							
								
								
									
										40
									
								
								packages/sci-mathematics/flint/flint-2.4.4.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								packages/sci-mathematics/flint/flint-2.4.4.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,40 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| SUMMARY="Fast Library for Number Theory" | ||||
| HOMEPAGE="http://www.flintlib.org/" | ||||
| DOWNLOADS="http://www.flintlib.org/${PNV}.tar.gz" | ||||
| 
 | ||||
| LICENCES="GPL-2" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build+run: | ||||
|         dev-libs/gmp | ||||
| 	    dev-libs/mpfr | ||||
| " | ||||
| 
 | ||||
| DEFAULT_SRC_PREPARE_PATCHES=( | ||||
|     "${FILES}"/${PN}-2.4.4-libdir.patch | ||||
|     "${FILES}"/${PN}-2.4.4-whitespaces.patch | ||||
|     "${FILES}"/${PN}-2.4.4-cflags-ldflags.patch | ||||
|     "${FILES}"/${PN}-2.4.4-test.patch | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_COMPILE_PARAMS=( verbose ) | ||||
| DEFAULT_SRC_TEST_PARAMS=( AT= QUIET_CC= QUIET_CXX= QUIET_AR= ) | ||||
| DEFAULT_SRC_INSTALL_PARAMS=( DESTDIR="${IMAGE}" LIBDIR="${LIBDIR}" ) | ||||
| 
 | ||||
| src_configure() { | ||||
|     # NOT an autotools script | ||||
| 	edo ./configure \ | ||||
| 		--prefix="/usr" \ | ||||
| 		--with-gmp="/usr" \ | ||||
| 		--with-mpfr="/usr" \ | ||||
| 		--disable-static \ | ||||
| 		CC=${CC} \ | ||||
| 		CXX=${CXX} \ | ||||
| 		AR=${AR} | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										53
									
								
								packages/x11-apps/pnmixer/pnmixer-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								packages/x11-apps/pnmixer/pnmixer-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,53 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require github [ user=nicklan ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ] gtk-icon-cache | ||||
| 
 | ||||
| SUMMARY="Volume mixer for the system tray" | ||||
| HOMEPAGE="https://github.com/nicklan/pnmixer" | ||||
| 
 | ||||
| LICENCES="GPL-3" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS=" | ||||
|     debug | ||||
|     libnotify | ||||
| " | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|         sys-devel/gettext | ||||
|         virtual/pkg-config | ||||
|     build+run: | ||||
|         dev-libs/glib:2 | ||||
|         sys-sound/alsa-lib | ||||
|         x11-libs/gtk+:3 | ||||
|         x11-libs/libX11 | ||||
|         libnotify? ( x11-libs/libnotify ) | ||||
| " | ||||
| 
 | ||||
| DEFAULT_SRC_CONFIGURE_PARAMS=( | ||||
|     '--enable-minimal-flags' | ||||
|     '--with-gtk3' | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( | ||||
|     'debug' | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( | ||||
|     'libnotify' | ||||
| ) | ||||
| 
 | ||||
| src_prepare() { | ||||
|     default | ||||
|     eautoreconf | ||||
|     edo glib-gettextize --force --copy | ||||
| } | ||||
| 
 | ||||
| src_install() { | ||||
|     default | ||||
|     insinto /usr/share/icons/hicolor/128x128/apps | ||||
|     newins pixmaps/${PN}-about.png ${PN}.png | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										36
									
								
								packages/x11-apps/terminator/terminator-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								packages/x11-apps/terminator/terminator-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@hasufell.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| if ever is_scm; then | ||||
|     SCM_REPOSITORY="http://bazaar.launchpad.net/~gnome-terminator/terminator/" | ||||
|     require scm-bzr | ||||
| fi | ||||
| 
 | ||||
| require gtk-icon-cache freedesktop-desktop distutils | ||||
| 
 | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     run: | ||||
|         dev-libs/keybinder[python] | ||||
|         dev-libs/vte:0[python] | ||||
|         dev-python/notify-python | ||||
|         gnome-bindings/pygobject:2 | ||||
|         gnome-bindings/pygtk:2 | ||||
|     build: | ||||
|         dev-util/intltool | ||||
| " | ||||
| 
 | ||||
| pkg_preinst() { | ||||
|     gtk-icon-cache_pkg_preinst | ||||
| } | ||||
| 
 | ||||
| pkg_postinst() { | ||||
|     gtk-icon-cache_pkg_postinst | ||||
|     freedesktop-desktop_pkg_postinst | ||||
| } | ||||
| 
 | ||||
| pkg_postrm() { | ||||
|     gtk-icon-cache_pkg_postrm | ||||
|     freedesktop-desktop_pkg_postrm | ||||
| } | ||||
							
								
								
									
										22
									
								
								packages/x11-plugins/pidgin-otr/pidgin-otr-4.0.1.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								packages/x11-plugins/pidgin-otr/pidgin-otr-4.0.1.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| SUMMARY="Pidgin plugin for OTR encrypted messaging" | ||||
| HOMEPAGE="http://www.cypherpunks.ca/otr/" | ||||
| DOWNLOADS="http://www.cypherpunks.ca/otr/${PNV}.tar.gz" | ||||
| 
 | ||||
| LICENCES="GPL-2" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|         dev-util/intltool | ||||
|         virtual/pkg-config | ||||
|     build+run: | ||||
|         dev-libs/libgcrypt:0 | ||||
|         net-im/pidgin[gtk] | ||||
|         net-libs/libotr[>=4.0.0] | ||||
|         x11-libs/gtk+:2 | ||||
| " | ||||
| 
 | ||||
| @ -0,0 +1,22 @@ | ||||
| # Copyright 2014 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| SUMMARY="GTK+ 3 port of Clearlooks, the default theme for GNOME 2" | ||||
| HOMEPAGE="https://github.com/jpfleury/clearlooks-phenix" | ||||
| DOWNLOADS="https://github.com/jpfleury/clearlooks-phenix/archive/${PV}.tar.gz -> ${PNV}.tar.gz" | ||||
| 
 | ||||
| LICENCES="GPL-3" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     run: | ||||
|         x11-libs/gtk+:3[>=3.14.0] | ||||
|         gnome-desktop/gtk-engines | ||||
| " | ||||
| 
 | ||||
| src_install() { | ||||
| 	insinto /usr/share/themes/Clearlooks-Phenix | ||||
| 	doins -r * | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										27
									
								
								packages/x11-wm/i3/i3-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								packages/x11-wm/i3/i3-scm.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,27 @@ | ||||
| # Copyright 2011-2013 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require i3 github [ user=hasufell pn=i3wm branch=next ] | ||||
| 
 | ||||
| UPSTREAM_CHANGELOG="http://code.stapelberg.de/git/i3/log/" | ||||
| UPSTREAM_DOCUMENTATION=" | ||||
|     ( | ||||
|         http://build.i3wm.org/docs/               [[ description = [ Development version documentation list ] ]] | ||||
|         http://build.i3wm.org/docs/userguide.html [[ description = [ Development version user’s guide ] ]] | ||||
|     ) [[ *lang = en ]] | ||||
| " | ||||
| 
 | ||||
| PLATFORMS="~amd64" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|         app-doc/asciidoc[>=8.3.0] | ||||
|         app-text/xmlto | ||||
|     build+run: | ||||
|         x11-utils/xcb-util-cursor | ||||
| " | ||||
| 
 | ||||
| DEFAULT_SRC_COMPILE_PARAMS+=( | ||||
|     all mans | ||||
| ) | ||||
| 
 | ||||
							
								
								
									
										79
									
								
								packages/x11-wm/i3/i3.exlib
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								packages/x11-wm/i3/i3.exlib
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,79 @@ | ||||
| # Copyright 2011-2012 Quentin "Sardem FF7" Glidic <sardemff7+exherbo@sardemff7.net> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require freedesktop-desktop | ||||
| 
 | ||||
| export_exlib_phases src_install | ||||
| 
 | ||||
| SUMMARY="A tiling window manager, completely written from scratch" | ||||
| DESCRIPTION=" | ||||
| i3 was created because wmii, our favorite window manager at the time, didn’t provide some features | ||||
| we wanted (multi-monitor done right, for example), had some bugs, didn’t progress since quite | ||||
| some time and wasn’t easy to hack at all (source code comments/documentation completely lacking). | ||||
| Still, we think the wmii developers and contributors did a great job. Thank you for inspiring us | ||||
| to create i3. | ||||
| 
 | ||||
| Please be aware that i3 is primarily targeted at advanced users and developers. | ||||
| " | ||||
| HOMEPAGE="http://i3wm.org/" | ||||
| 
 | ||||
| LICENCES="BSD-3" | ||||
| SLOT="0" | ||||
| 
 | ||||
| MYOPTIONS="" | ||||
| 
 | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
|     build: | ||||
|         dev-lang/perl:* | ||||
|         virtual/pkg-config | ||||
|         x11-proto/xcb-proto[>=1.3] | ||||
|     build+run: | ||||
|         dev-libs/libev | ||||
|         dev-libs/yajl[>=2.0.1] | ||||
|         x11-libs/libxcb[>=1.1.93] | ||||
|         x11-libs/pango | ||||
|         x11-libs/startup-notification | ||||
|         x11-utils/xcb-util | ||||
|         x11-utils/xcb-util-cursor | ||||
|         x11-utils/xcb-util-keysyms | ||||
|         x11-utils/xcb-util-wm | ||||
|     recommendation: | ||||
|         x11-plugins/i3status [[ | ||||
|             description = [ Default source for i3bar ] | ||||
|         ]] | ||||
|     suggestion: | ||||
|         x11-misc/dmenu [[ | ||||
|             description = [ Default program launcher ] | ||||
|         ]] | ||||
|         ( | ||||
|             dev-perl/AnyEvent-I3 | ||||
|             dev-perl/JSON-XS | ||||
|         ) [[ | ||||
|             *description = [ Used by the tree saving utility ] | ||||
|             *group-name = [ i3-save-tree ] | ||||
|         ]] | ||||
| " | ||||
| 
 | ||||
| if ever at_least scm; then | ||||
|     DEPENDENCIES+=" | ||||
|         build+run: | ||||
|             x11-libs/libxkbcommon[X] | ||||
|     " | ||||
| else | ||||
|     DEPENDENCIES+=" | ||||
|         build+run: | ||||
|             x11-libs/libX11 | ||||
|     " | ||||
| fi | ||||
| 
 | ||||
| DEFAULT_SRC_COMPILE_PARAMS=( | ||||
|     V=1 | ||||
| ) | ||||
| 
 | ||||
| i3_src_install() { | ||||
|     default | ||||
| 
 | ||||
|     doman man/*.1 | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										1
									
								
								profiles/repo_name
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								profiles/repo_name
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| hasufell | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user