summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-12 03:59:45 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-12 03:59:45 +0000
commitd8679f0250762892ab1e1a6d71badc2e9d42a526 (patch)
tree2c5893ffb5a88532e043973210221d10ce07f808 /libre
parent10cc2a54e50ad4aeffd7152937670c8673a096f9 (diff)
Sat Apr 12 03:57:05 UTC 2014
Diffstat (limited to 'libre')
-rw-r--r--libre/acpi_call-libre-lts/PKGBUILD45
-rw-r--r--libre/handbrake-svn/PKGBUILD168
-rw-r--r--libre/icedove-libre/PKGBUILD136
-rw-r--r--libre/linux-libre-lts/PKGBUILD424
-rw-r--r--libre/mcomix-libre/PKGBUILD56
-rw-r--r--libre/mcomix-libre/mcomix.install31
-rw-r--r--libre/mcomix-libre/zoom.patch17
-rw-r--r--libre/mesa-libcl/PKGBUILD55
-rw-r--r--libre/tp_smapi-libre-lts/PKGBUILD61
9 files changed, 0 insertions, 993 deletions
diff --git a/libre/acpi_call-libre-lts/PKGBUILD b/libre/acpi_call-libre-lts/PKGBUILD
deleted file mode 100644
index 2c3816004..000000000
--- a/libre/acpi_call-libre-lts/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 106771 2014-03-07 14:36:15Z bpiotrowski $
-# Maintainer: Maxime Gauduin <alucryd@gmail.com>
-# Contributor: mortzu <me@mortzu.de>
-# Contributor: fnord0 <fnord0@riseup.net>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-
-_pkgname=acpi_call-lts
-pkgname=acpi_call-libre-lts
-pkgver=1.1.0
-pkgrel=4
-_extramodules=extramodules-3.10-LIBRE-LTS
-pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call (built for the linux-libre-lts kernel package)'
-arch=('i686' 'x86_64')
-url="http://github.com/mkottman/${_pkgname%-*}"
-license=('GPL')
-depends=('linux-libre-lts>=3.10.26')
-makedepends=('linux-libre-lts-headers>=3.10.26')
-replaces="${_pkgname}"
-conflicts="${_pkgname}"
-provides=("${_pkgname%-*}" "${_pkgname}=${pkgver}")
-install="${_pkgname%-*}.install"
-source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
-
-build() {
- cd ${_pkgname%-*}-${pkgver}
-
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
-
- make KVERSION="${_kernver}"
-}
-
-package() {
- cd ${_pkgname%-*}-${pkgver}
-
- install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d}
- install -m 644 ${_pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/
- gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/${_pkgname%-*}.ko
- echo ${_pkgname%-*} > "${pkgdir}"/usr/lib/modules-load.d/${_pkgname}.conf
-
- install -dm 755 "${pkgdir}"/usr/share/${_pkgname}
- cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/${_pkgname}/
-}
-
-# vim: ts=2 sw=2 et:
diff --git a/libre/handbrake-svn/PKGBUILD b/libre/handbrake-svn/PKGBUILD
deleted file mode 100644
index 19803de3c..000000000
--- a/libre/handbrake-svn/PKGBUILD
+++ /dev/null
@@ -1,168 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor (Arch): Giovanni Scafora <giovanni@archlinux.org>
-# Contributor (Arch): Sebastien Piccand <sebcactus gmail com>
-
-pkgname=('handbrake-svn' 'handbrake-cli-svn')
-_pkgver=0.9.9.1
-pkgver=6103
-url="http://handbrake.fr/"
-license=('GPL')
-
-pkgrel=1
-arch=('i686' 'x86_64')
-makedepends=('intltool' 'python2' 'gcc-libs' 'libnotify'
- 'gst-plugins-base' 'gtk3' 'dbus-glib')
-
-# The format is: handbrake_name:[system_name|tarball]
-# This list should pretty closely correspond to `grep contrib/ make/include/main.defs`
-# _config_loc
-# format: "ignored:pacman_pkgname"
-# For packages that optionally use the system's versions. The
-# build system is not modified, in order that if the module version
-# is used, it fails early (assuming the network is down).
-# _config_mod
-# format: "module_name:file_name"
-# For packages that are built as modules.
-# _config_sys
-# format: "module_name:pacman_pkgname"
-# For modules that we *force* to be the system versions.
-# _config_ign
-# format: "ignored"
-# For modules that are optional, but we don't want to download.
-declare -ag _contrib_{loc,sys,mod,ign}
-_contrib_loc+=('pkgconfig') # FEATURE.local_pkgconfig
-_contrib_loc+=('autoconf' # FEATURE.local_autotools
- 'automake'
- 'libtool'
- 'm4')
-_contrib_loc+=('bzip2') # HAS.bz2
-_contrib_loc+=('fontconfig'
- 'freetype:freetype2'
- 'fribidi'
- 'libxml2'
- 'libass'
- 'libogg'
- 'libvorbis'
- 'libtheora'
- 'libsamplerate')
-# XXX: I can't get it to set LDFLAGS right to use system fdk-aac
-_contrib_mod+=('fdk-aac:fdk-aac-v0.1.1-6-gbae4553.tar.bz2') # FEATURE.fdk_aac (sys:libfdk-aac)
-# XXX: I can't get it to set LDFLAGS right to use system mp4v2
-_contrib_mod+=('mp4v2:mp4v2-trunk-r355.tar.bz2') # FEATURE.mp4v2 (sys:libmp4v2)
-# libmkv is patched to add features
-_contrib_mod+=('libmkv:libmkv-0.6.5-0-g82075ae.tar.gz') # FEATURE.libmkv
-_contrib_ign+=('x265') # FEATURE.x265
-_contrib_sys+=('lame') # always
-# Using system ffmpeg will break PGS subtitle processing
-# https://forum.handbrake.fr/viewtopic.php?f=13&t=27581
-_contrib_mod+=('ffmpeg:libav-v10_beta1.tar.bz2') # always
-_contrib_sys+=('libdvdread') # always
-# XXX: I don't even know, but system libdvdnav doesn't work
-_contrib_mod+=('libdvdnav:libdvdnav-a5c1325.tar.bz2') # always
-_contrib_sys+=('libbluray') # always
-_contrib_ign+=('libmfx') # FEATURE.qsv
-_contrib_sys+=('x264') # always
-_contrib_loc+=('zlib') # HAS.libz
-_contrib_loc+=('yasm') # FEATURE.local_yasm
-
-makedepends+=("${_contrib_loc[@]#*:}" "${_contrib_sys[@]#*:}")
-
-source=("https://repo.parabolagnulinux.org/other/handbrake/HandBrake-svn${pkgver}.tar.gz")
-for _f in "${_contrib_mod[@]#*:}"; do
- source+=("http://download.handbrake.fr/handbrake/contrib/${_f}")
- noextract+=("${_f}")
-done; unset _f
-sha256sums=('59aac48702c8b55d78e8cba3f94b4cc42f8077bce6d775d1560891628ed532a1'
- 'f08584d59a02db5facf548ae860c64d2870db63477f605af763c161a1508dcbc'
- '5b7d4e62df506b1246463da82cc2f02415eb462e6ccd5848f98f5cdcfc1f3d4f'
- '7314a296c68f42b826164074a96e247e52d8ef9287c21ebc5fe1bf9e73643e97'
- '41e7b81c4bf49acf4f5e74a61ffe2a593d22df5326997aa4fb253b5de1410773'
- 'd190ce2ca4d1d9878145acd9c1b8ac76636c3b6d12066e8cc87ee674f943fb2a')
-
-mksource=("HandBrake-svn${pkgver}::svn://svn.handbrake.fr/HandBrake/trunk")
-mkmd5sums=('SKIP')
-
-prepare() {
- cd "$srcdir/HandBrake-svn$pkgver"
-
- # Use Python 2
- sed -i 's/python /python2 /' gtk/src/Makefile.am
-
- local contrib
- # Use more system libs
- for contrib in "${_contrib_sys[@]}"; do
- sed -i \
- -e "s/MODULES += contrib\/${contrib%:*}\$/#& # provided by ${contrib#*:}/" \
- make/include/main.defs
- done
- # Use the pre-downloaded files
- mkdir -p download
- for contrib in "${_contrib_mod[@]}"; do
- ln -srf "${srcdir}/${contrib[@]#*:}" download/
- done
-
- # Fix libhb to work with the stable release of libmp4v2
- if in_array libmp4v2 "${makedepends[@]}"; then
- local arg='\([^,)]*\)'
- sed -i \
- -e "s/MP4Close(${arg})/MP4Close(\1, 0)/" \
- -e "s/MP4Create(${arg},${arg},${arg})/MP4Create(\1,\3)/" \
- -e "s/MP4Optimize(${arg},${arg},${arg})/MP4Optimize(\1,\2)/" \
- -e "s/MP4Read(${arg},${arg})/MP4Read(\1)/" \
- libhb/decmetadata.c libhb/muxmp4.c
- fi
-
- # Fix configure.ac to work with automake 1.13
- if in_array automake "${makedepends[@]}"; then
- cd gtk
- sed -i \
- -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
- -e '/AM_PROG_CC_STDC/d' \
- -e 's/$pkg_gudev"/gmodule-2.0 $pkg_gudev"/' \
- configure.ac
- autoreconf -vi
- fi
-}
-
-build() {
- cd "$srcdir/HandBrake-svn$pkgver"
-
- ./configure \
- --prefix=/usr \
- --force \
- --disable-gtk-update-checks
- cd build
- make -j1
-}
-
-package_handbrake-svn() {
- pkgdesc="Multithreaded video transcoder"
- depends=('bzip2' 'gcc-libs' 'gst-plugins-base' 'libnotify' 'dbus-glib'
- 'fribidi' 'libass' 'gtk3' 'fontconfig' 'freetype2' 'libxml2'
- 'libogg' 'libvorbis' 'libtheora' 'libsamplerate' 'libbluray'
- 'x264' 'desktop-file-utils' 'hicolor-icon-theme')
- optdepends=('gst-plugins-good: for video previews'
- 'gst-libav: for video previews')
- install=$pkgname.install
- provides=("${pkgname%-svn}-${_pkgver}")
- conflicts=("${pkgname%-svn}")
-
- cd "$srcdir/HandBrake-svn$pkgver/build"
-
- make -j1 DESTDIR="$pkgdir" install
- rm "$pkgdir/usr/bin/HandBrakeCLI"
-}
-
-package_handbrake-cli-svn() {
- pkgdesc="Multithreaded video transcoder (CLI)"
- depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'libxml2' 'libtheora'
- 'libsamplerate' 'libbluray' 'x264')
- provides=("${pkgname%-svn}-${_pkgver}")
- conflicts=("${pkgname%-svn}")
-
- cd "$srcdir/HandBrake-svn$pkgver/build"
- install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD
deleted file mode 100644
index 4cc94a66e..000000000
--- a/libre/icedove-libre/PKGBUILD
+++ /dev/null
@@ -1,136 +0,0 @@
-# Maintainer : André Silva <emulatorman@parabola.nu>
-# Contributor : Márcio Silva <coadde@parabola.nu>
-
-# We're getting this from Debian Sid
-_debname=icedove
-_debver=24.3.0
-_debrel=deb2
-_debrepo=http://ftp.debian.org/debian/pool/main/
-debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; }
-
-_pkgname=${_debname}
-pkgname=${_debname}-libre
-epoch=1
-pkgver=${_debver}.${_debrel}
-pkgrel=1
-pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird."
-arch=('i686' 'x86_64' 'mips64el')
-license=('MPL' 'GPL' 'LGPL')
-url="http://packages.debian.org/sid/${_pkgname}"
-depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification')
-makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt' 'jquery-ui')
-optdepends=('libcanberra: for sound support')
-replaces=('thunderbird')
-conflicts=('thunderbird')
-provides=('thunderbird')
-install=${_pkgname}.install
-source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.xz"
- "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel#deb}.debian.tar.xz"
- mozconfig
- vendor.js
- ${_pkgname}.desktop)
-options=(!emptydirs)
-md5sums=('cbf58e11a8eb1ded01167fa927ce9cc0'
- '36df0b60bd80a0097783b432a895ca13'
- 'c46cf2a671c8fdefcabd4c87e38f3d40'
- '5a53179d14ae9631b7afe5e4d0fc0b25'
- 'e785e0c267f4435ae1a9aa0b03bcacfb')
-
-prepare() {
- export DEBIAN_BUILD="comm-esr24"
-
- export QUILT_PATCHES=debian/patches
- export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
- export QUILT_DIFF_ARGS='--no-timestamps'
-
- mv debian "${srcdir}/${DEBIAN_BUILD}"
- cd "${srcdir}/${DEBIAN_BUILD}"
-
- mv debian/${_pkgname}-branding "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}"
-
- cp -a debian/app-icons/${_pkgname}big.svg debian/app-icons/${_pkgname}_icon.svg
- for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
- install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/mailicon${i/x*/}.png"
- done
- for i in 48x48 64x64; do
- install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/content/icon${i/x*/}.png"
- done
-
- # Fix orthographic issue ("Icdove" to "Icedove") in MOZ_APP_BASENAME line for confvars.sh.
- sed -i 's|Icdove|Icedove|' debian/patches/debian-hacks/Icedove-branding.patch
-
- quilt push -av
-
- # Fix paths on makefile
- sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/|topsrcdir = @top_srcdir@|;
- s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|;
- s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|;
- ' mail/branding/icedove/Makefile.in
-
- sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/[.][.]|topsrcdir = @top_srcdir@|;
- s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|;
- s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|;
- ' mail/branding/icedove/locales/Makefile.in
-
- # Fix package-manifest.in
- sed -i '\|; Phishing Protection| s|$|\n#ifdef MOZ_SAFE_BROWSING|;
- \|@BINPATH@/components/url-classifier[.]xpt| s|$|\n#endif|
- ' mail/installer/package-manifest.in
-
- # Fix branding
- sed -i 's|Icedove Mail/News|Icedove|' mail/branding/icedove/locales/en-US/brand.{dtd,properties}
-
- # Replace common URLs
- sed -i '\|extensions[.]getAddons[.]get[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g;
- \|extensions[.]getAddons[.]search[.]browseURL| s|https://addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g;
- \|extensions[.]getAddons[.]search[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g;
- \|extensions[.]webservice[.]discoverURL| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g;
- ' mail/app/profile/all-thunderbird.js
-
- cp "${srcdir}/mozconfig" .mozconfig
-
- # configure script misdetects the preprocessor without an optimization level
- # https://bugs.archlinux.org/task/34644
- sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' mozilla/configure
-
- # Add symlinks to use jquery files built for us
- ln -s /usr/share/javascript/jquery/jquery.min.js mail/jquery
- ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js mail/jquery
-}
-
-build() {
- export DEBIAN_BUILD="comm-esr24"
-
- cd "${srcdir}/${DEBIAN_BUILD}"
-
- export LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/lib/${_pkgname}"
- export PYTHON="/usr/bin/python2"
-
- make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
-}
-
-package() {
- export DEBIAN_BUILD="comm-esr24"
-
- cd "${srcdir}/${DEBIAN_BUILD}"
-
- make -j1 -f client.mk DESTDIR="${pkgdir}" install
-
- install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/usr/lib/${_pkgname}/defaults/preferences/vendor.js"
-
- for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
- install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${pkgdir}/usr/share/icons/hicolor/$i/apps/${_pkgname}.png"
- done
- install -Dm644 "debian/app-icons/${_pkgname}_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg"
-
- install -Dm644 "${srcdir}/${_pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
-
- rm -rf "${pkgdir}"/usr/lib/${_pkgname}/{dictionaries,hyphenation,searchplugins}
- ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${_pkgname}/dictionaries"
- ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${_pkgname}/hyphenation"
- ln -sf /usr/lib/mozilla/searchplugins "${pkgdir}/usr/lib/${_pkgname}/searchplugins"
-
- # We don't want the development stuff
- rm -r "${pkgdir}"/usr/{include,lib/${_pkgname}-devel,share/idl}
-}
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
deleted file mode 100644
index e656470f8..000000000
--- a/libre/linux-libre-lts/PKGBUILD
+++ /dev/null
@@ -1,424 +0,0 @@
-# $Id: PKGBUILD 207131 2014-03-07 13:50:49Z bpiotrowski $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-# Maintainer: Thomas Baechler <thomas@archlinux.org>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-# Contributor (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar>
-# Contributor (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org>
-# Contributor (Parabola): Michał Masłowski <mtjm@mtjm.eu>
-# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel
-#pkgbase=linux-libre-custom # Build kernel with a different name
-_basekernel=3.10
-_sublevel=33
-pkgver=${_basekernel}.${_sublevel}
-pkgrel=1
-_lxopkgver=${_basekernel}.33 # nearly always the same as pkgver
-arch=('i686' 'x86_64' 'mips64el')
-url="http://linux-libre.fsfla.org/"
-license=('GPL2')
-makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
-options=('!strip')
-source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
- "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz"
- # the main kernel config files
- 'config.i686' 'config.x86_64'
- # standard config files for mkinitcpio ramdisk
- "${pkgbase}.preset"
- 'Kbuild'
- 'Kbuild.platforms'
- 'boot-logo.patch'
- 'change-default-console-loglevel.patch'
- 'criu-no-expert.patch'
- "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.xz")
-md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c'
- 'dea9cb694f12a794604edcfac1d76add'
- '85ce008eaacbb2fc54b81116d35cf946'
- '16867e648e4b9f89bec949cb643888c2'
- 'c072b17032e80debc6a8626299245d46'
- '2967cecc3af9f954ccc822fd63dca6ff'
- '8267264d9a8966e57fdacd1fa1fc65c4'
- '04b21c79df0a952c22d681dd4f4562df'
- 'f3def2cefdcbb954c21d8505d23cc83c'
- 'd50c1ac47394e9aec637002ef3392bd1'
- '441a56631bb3c96836061030e58ee1f2')
-if [ "$CARCH" != "mips64el" ]; then
- # don't use the Loongson-specific patches on non-mips64el arches.
- unset source[${#source[@]}-1]
- unset md5sums[${#md5sums[@]}-1]
-fi
-
-_kernelname=${pkgbase#linux-libre}
-_localversionname=-LIBRE-LTS
-
-prepare() {
- cd "${srcdir}/linux-${_basekernel}"
-
- if [ "${_basekernel}" != "${pkgver}" ]; then
- patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu"
- fi
-
- # add freedo as boot logo
- patch -Np1 -i "${srcdir}/boot-logo.patch"
-
- # add latest fixes from stable queue, if needed
- # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
-
- # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
- # remove this when a Kconfig knob is made available by upstream
- # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
- patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
-
- # allow criu without expert option set
- # patch from fedora
- patch -Np1 -i "${srcdir}/criu-no-expert.patch"
-
- if [ "$CARCH" == "mips64el" ]; then
- sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre-lts|" Makefile
- sed -r "s|^( SUBLEVEL = ).*|\1$_sublevel|" \
- < "${srcdir}/lxo-config.patch" > lxo-config.patch
- msg2 "Adding loongson-community patches"
- patch -Np1 -i ${srcdir}/${_basekernel}*-*-loongson-community.patch
- patch -Np0 -i lxo-config.patch
-
- # ensure N32, add localversion, remove uevent helper as per
- # https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README
- # and make USB storage support builtin (e.g. for booting from USB
- # disks without slowly loading an initramfs)
- sed -ri \
- -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \
- -e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \
- -e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" \
- -e "s;(CONFIG_USB(_COMMON|_EHCI_HCD|_OHCI_HCD|_STORAGE.*|_UAS)?)=.*;\1=y;g" \
- ./.config
- else
- cat "${srcdir}/config.${CARCH}" > ./.config # simpler
- fi
-
- if [ "${_kernelname}" != "" ]; then
- sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" ./.config
- sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
- fi
-
- # set extraversion to pkgrel
- sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
-
- # don't run depmod on 'make install'. We'll do this ourselves in packaging
- sed -i '2iexit 0' scripts/depmod.sh
-}
-
-build() {
- cd "${srcdir}/linux-${_basekernel}"
-
- # get kernel version
- make prepare
-
- # load configuration
- # Configure the kernel. Replace the line below with one of your choice.
- #make menuconfig # CLI menu for configuration
- #make nconfig # new CLI menu for configuration
- #make xconfig # X-based configuration
- #make oldconfig # using old config from previous kernel version
- # ... or manually edit .config
-
- # rewrite configuration
- yes "" | make config >/dev/null
-
- # save configuration for later reuse
- if [ "${CARCH}" = "x86_64" ]; then
- cat .config > "${startdir}/config.x86_64.last"
- else
- cat .config > "${startdir}/config.i686.last"
- fi
-
- ####################
- # stop here
- # this is useful to configure the kernel
- #msg "Stopping build"; return 1
- ####################
-
- # build!
- if [ "$CARCH" == "mips64el" ]; then
- # The build system passes it directly to linker, disable to avoid
- # having unknown -Wl,... options.
- export LDFLAGS=""
- # bzImage is arch-specific and not supported on mips; vmlinux is
- # useful for oprofile.
- make ${MAKEFLAGS} LOCALVERSION= vmlinux vmlinuz modules
- else
- make ${MAKEFLAGS} LOCALVERSION= bzImage modules
- fi
-}
-
-_package() {
- pkgdesc="The ${pkgbase^} kernel and modules - stable longtime supported kernel package suitable for servers"
- [ "${pkgbase}" = "linux-libre" ] && groups=('base')
- depends=('coreutils' 'linux-libre-firmware' 'kmod')
- optdepends=('crda: to set the correct wireless channels of your country')
- provides=("kernel26${_kernelname}=${pkgver}" "linux${_kernelname}=${pkgver}")
- conflicts=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}")
- replaces=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}")
- backup=("etc/mkinitcpio.d/${pkgbase}.preset")
- install=${pkgbase}.install
- if [ "$CARCH" != "mips64el" ]; then
- provides+=("linux-libre${_kernelname}-kmod-alx")
- conflicts+=("linux-libre${_kernelname}-kmod-alx")
- replaces+=("linux-libre${_kernelname}-kmod-alx")
- fi
- if [ "$CARCH" = "mips64el" ]; then
- optdepends+=('mkinitcpio: to make the initramfs (needs reinstall of this package)')
- conflicts+=('mkinitcpio<0.7')
- else
- depends+=('mkinitcpio>=0.7')
- fi
-
- cd "${srcdir}/linux-${_basekernel}"
-
- KARCH=x86
- [ $CARCH = "mips64el" ] && KARCH=mips
-
- # get kernel version
- _kernver="$(make LOCALVERSION= kernelrelease)"
- _basekernel=${_kernver%%-*}
- _basekernel=${_basekernel%.*}
-
- mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
- make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
-
- if [ "$CARCH" == "mips64el" ]; then
- cp vmlinuz "${pkgdir}/boot/vmlinuz-${pkgbase}"
- cp vmlinux "${pkgdir}/boot/vmlinux-${pkgbase}"
- else
- cp arch/${KARCH}/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"
- fi
-
- # add vmlinux
- install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
-
- # set correct depmod command for install
- cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
- true && install=${install}.pkg
- sed \
- -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
- -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
- -i "${startdir}/${install}"
-
- # install mkinitcpio preset file for kernel
- install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
- sed \
- -e "1s|'linux*.*'|'${pkgbase}'|" \
- -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
- -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
- -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
- -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
-
- # mkinitcpio 0.7 relies on bzImage to find the kernel version
- if [ "$CARCH" == "mips64el" ]; then
- sed -e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|" \
- -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
- fi
-
- # remove build and source links
- rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
- # remove the firmware
- rm -rf "${pkgdir}/lib/firmware"
- # gzip -9 all modules to save 100MB of space
- find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
- # make room for external modules
- ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
- # add real version for building modules and running depmod from post_install/upgrade
- mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}/version"
-
- # Now we call depmod...
- depmod -b "$pkgdir" -F System.map "$_kernver"
-
- # move module tree /lib -> /usr/lib
- mv "$pkgdir/lib" "$pkgdir/usr"
-}
-
-_package-headers() {
- pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel"
- provides=("kernel26${_kernelname}-headers=${pkgver}" "linux${_kernelname}-headers=${pkgver}")
- conflicts=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers")
- replaces=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers")
-
- KARCH=x86
- [ $CARCH = "mips64el" ] && KARCH=mips
-
- # in case of repackaging this is empty
- if [ -z "${_kernver}" ]; then
- cd "${srcdir}/linux-${_basekernel}"
- _kernver="$(make LOCALVERSION= kernelrelease)"
- fi
-
- install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
-
- cd "${pkgdir}/usr/lib/modules/${_kernver}"
- ln -sf ../../../src/linux-${_kernver} build
-
- cd "${srcdir}/linux-${_basekernel}"
- install -D -m644 Makefile \
- "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
- install -D -m644 kernel/Makefile \
- "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
- install -D -m644 .config \
- "${pkgdir}/usr/src/linux-${_kernver}/.config"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
-
- for i in acpi asm-generic config crypto drm generated keys linux math-emu \
- media net pcmcia scsi sound trace uapi video xen; do
- cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
- done
-
- # copy arch includes for external modules
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}"
- cp -a arch/${KARCH}/include "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
-
- # copy files necessary for later builds
- cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
- cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
-
- if [ "$CARCH" = "mips64el" ]; then
- cp arch/${KARCH}/Kbuild "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
- cp -a arch/${KARCH}/loongson "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
- cp ${srcdir}/Kbuild.platforms "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
- fi
-
- # fix permissions on scripts dir
- chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
-
- cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
-
- if [ "${CARCH}" = "i686" ]; then
- cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
- fi
-
- cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
-
- # add headers for lirc package
- # pci
- for i in bt8xx cx88 saa7134; do
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
- cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
- done
- # usb
- for i in cpia2 em28xx pwc sn9c102; do
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
- cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
- done
- # i2c
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
- cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
- for i in cx25840; do
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
- cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
- done
-
- # add docbook makefile
- install -D -m644 Documentation/DocBook/Makefile \
- "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
-
- # add dm headers
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
- cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
-
- # add inotify.h
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
- cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
-
- # add wireless headers
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
- cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
-
- # add dvb headers for external modules
- # in reference to:
- # http://bugs.archlinux.org/task/9912
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
- cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
- # and...
- # http://bugs.archlinux.org/task/11194
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
- cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
-
- # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
- # in reference to:
- # http://bugs.archlinux.org/task/13146
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
- cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
- cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
-
- # add dvb headers
- # in reference to:
- # http://bugs.archlinux.org/task/20402
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
- cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
- cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
- cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"
-
- # add xfs and shmem for aufs building
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
- cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
-
- # copy in Kconfig files
- for i in `find . -name "Kconfig*"`; do
- mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
- cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
- done
-
- chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
- find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
-
- # strip scripts directory
- find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
- case "$(file -bi "${binary}")" in
- *application/x-sharedlib*) # Libraries (.so)
- /usr/bin/strip ${STRIP_SHARED} "${binary}";;
- *application/x-archive*) # Libraries (.a)
- /usr/bin/strip ${STRIP_STATIC} "${binary}";;
- *application/x-executable*) # Binaries
- /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
- esac
- done
-
- # remove unneeded architectures
- rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
- if [ "$CARCH" = "mips64el" ]; then
- rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
- else
- rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/mips
- fi
-}
-
-_package-docs() {
- pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel"
- provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}")
- conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs")
- replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs")
-
- cd "${srcdir}/linux-${_basekernel}"
-
- mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
- cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
- find "${pkgdir}" -type f -exec chmod 444 {} \;
- find "${pkgdir}" -type d -exec chmod 755 {} \;
-
- # remove a file already in linux package
- rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
-}
-
-pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
-for _p in ${pkgname[@]}; do
- eval "package_${_p}() {
- _package${_p#${pkgbase}}
- }"
-done
-
-# vim:set ts=8 sts=2 sw=2 et:
diff --git a/libre/mcomix-libre/PKGBUILD b/libre/mcomix-libre/PKGBUILD
deleted file mode 100644
index 97c3bde0f..000000000
--- a/libre/mcomix-libre/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 106934 2014-03-10 18:30:38Z schuay $
-# Maintainer: schuay <jakob.gruber@gmail.com>
-# Contributor: Ray Powell <ray_al@xphoniexx.net>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-
-_pkgname=mcomix
-pkgname=mcomix-libre
-pkgver=1.00
-pkgrel=6
-pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, without nonfree unrar recommendation"
-arch=('any')
-url="http://sourceforge.net/projects/mcomix/"
-license=('GPL')
-depends=('pygtk' 'python2-pillow' 'xdg-utils' 'python2' \
- 'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools')
-makedepends=('gettext' 'intltool')
-conflicts=('mcomix' 'comix')
-replaces=('mcomix' 'comix')
-provides=("mcomix=${pkgver}")
-install='mcomix.install'
-source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2"
- 'zoom.patch')
-
-build() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- # https://www.archlinux.org/todo/replace-pil-with-pillow/
- sed -i 's/import Image/from PIL import Image/' mime/comicthumb
-
- # python2 fix
- for file in $(grep -Rl "/usr/bin/env python" .);
- do
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
- done
-
- # Fix zoom in, zoom out keyboard shortcuts:
- # https://sourceforge.net/p/mcomix/bugs/62/
- patch -Np1 < ${srcdir}/zoom.patch
-}
-
-package() {
- cd ${srcdir}/${_pkgname}-${pkgver}
-
- export PYTHONPATH=${pkgdir}/usr/lib/python2.7/site-packages/
- mkdir -p $PYTHONPATH
-
- python2 setup.py install --prefix=/usr --optimize=1 \
- --single-version-externally-managed --root=${pkgdir}
-
- install -Dm755 mime/comicthumb ${pkgdir}/usr/bin/comicthumb
- install -Dm644 mime/comicthumb.1.gz ${pkgdir}/usr/share/man/man1/comicthumb.1.gz
- install -Dm644 mime/comicbook.schemas ${pkgdir}/usr/share/gconf/schemas/mcomix.schemas
-}
-
-md5sums=('3a916dd9da17043ab59ccd17e26eb932'
- 'c80705bf6f132bfba20dcb84b79c9cb7')
diff --git a/libre/mcomix-libre/mcomix.install b/libre/mcomix-libre/mcomix.install
deleted file mode 100644
index 82047a202..000000000
--- a/libre/mcomix-libre/mcomix.install
+++ /dev/null
@@ -1,31 +0,0 @@
-pkgname=mcomix
-
-post_install() {
- if [ -f usr/sbin/gconfpkg ]; then
- usr/sbin/gconfpkg --install ${pkgname} &> /dev/null
- fi
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
- update-mime-database usr/share/mime &> /dev/null
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- echo 'In case of any issues with zoom keybindings, delete ~/.config/mcomix/keybindings.conf.'
- post_install $1
-}
-
-pre_remove() {
- if [ -f usr/sbin/gconfpkg ]; then
- usr/sbin/gconfpkg --uninstall ${pkgname} &> /dev/null
- fi
-}
-
-post_remove() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
- update-mime-database usr/share/mime &> /dev/null
-}
diff --git a/libre/mcomix-libre/zoom.patch b/libre/mcomix-libre/zoom.patch
deleted file mode 100644
index 26dc3ba6f..000000000
--- a/libre/mcomix-libre/zoom.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/mcomix-1.00/mcomix/event.py b/mcomix-1.00-mod/mcomix/event.py
-index bc8cf79..bf80ec2 100644
---- a/mcomix/event.py
-+++ b/mcomix/event.py
-@@ -117,8 +117,11 @@ class EventHandler:
-
- # Zooming commands for manual zoom mode
- manager.register('zoom in',
-- ['equal'],
-+ ['plus', 'KP_Add', 'equal'],
- self._window.actiongroup.get_action('zoom_in').activate)
-+ manager.register('zoom out',
-+ ['minus', 'KP_Subtract'],
-+ self._window.actiongroup.get_action('zoom_out').activate)
- # Zoom out is already defined as GTK menu hotkey
- manager.register('zoom original',
- ['KP_0'],
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
deleted file mode 100644
index 27bab3829..000000000
--- a/libre/mesa-libcl/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-# Contributor: André Silva <emulatorman@parabola.nu>
-
-pkgbase=mesa
-_pkgname=libcl
-pkgname=$pkgbase-$_pkgname
-_pkgflag=libre
-pkgver=10.1.0
-pkgrel=1
-pkgdesc='Mesa 3-D OpenCL library'
-url=http://${pkgbase}3d.sourceforge.net
-license=(MIT Khronos LGPL)
-arch=(mips64el x86_64 i686)
-depends=(
- libclc
- $pkgbase
-)
-optdepends='opencl-headers: headers necessary for OpenCL development'
-makedepends=(
- clang
- dri2proto
- dri3proto
- glproto
- imake
- libxml2
- presentproto
- python2
-)
-provides=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx)
-conflicts=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx)
-replaces=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx)
-source=ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2
-sha512sums=a8c57e50c360f3d4ebc850de6b24b87175100cedcbb48ceace2b228f654d29ffa97ec24118ad8e0f281fee80750568fdb2f8b58866713424889c69387e3a6adb
-
-build() {
- cd $srcdir/${pkgbase^}-$pkgver
- autoreconf -vfi
- ./configure --prefix=/usr\
- --enable-opencl\
- --enable-gallium-llvm\
- --enable-r600-llvm-compiler\
- --enable-dri3\
- --with-clang-libdir=/usr/lib\
- --with-llvm-shared-libs\
- --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast
- make V=0
-}
-
-package() {
- cd $srcdir/${pkgbase^}-$pkgver
- make -C src/gallium/targets/opencl DESTDIR=$pkgdir install
- install -vdm755 $pkgdir/usr/share/licenses/$pkgname
- install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname
- install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/libre/tp_smapi-libre-lts/PKGBUILD b/libre/tp_smapi-libre-lts/PKGBUILD
deleted file mode 100644
index 75ba8520d..000000000
--- a/libre/tp_smapi-libre-lts/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id: PKGBUILD 106775 2014-03-07 14:36:25Z bpiotrowski $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: xduugu
-# Contributor: nh2
-# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com>
-# Contributor: Nick B <Shirakawasuna ð gmail đ com>
-# Contributor: Christof Musik <christof ð senfdax đ de>
-# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de>
-# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com>
-# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
-
-pkgname=tp_smapi-libre-lts
-_pkgname=tp_smapi
-_extramodules=/usr/lib/modules/extramodules-3.10-LIBRE-LTS
-pkgver=0.41
-pkgrel=26
-pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre-lts kernel package)"
-arch=('i686' 'x86_64' 'mips64el')
-url='https://github.com/evgeni/tp_smapi'
-license=('GPL')
-depends=('linux-libre-lts>=3.10' 'linux-libre-lts<3.11')
-makedepends=('linux-libre-lts-headers>=3.10' 'linux-libre-lts-headers<3.11')
-replaces=('tp_smapi-lts')
-conflicts=('tp_smapi-lts')
-provides=("tp_smapi-lts=${pkgver}")
-install='tp_smapi-lts.install'
-source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('63c683415c764568f6bf17c7eabe4752')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- _kernver=$(< "${_extramodules}/version")
-
- sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \
- -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile
-
- make HDAPS=1
-}
-
-package() {
- _kernver=$(< "${_extramodules}/version")
-
- make -C "${_extramodules%/*}/${_kernver}/build" \
- INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \
- M="${srcdir}/${_pkgname}-${pkgver}" modules_install
-
- cd "${pkgdir}/${_extramodules%/*}"
- mv "${_kernver}/extra" "${_extramodules##*/}"
- rmdir "${_kernver}"
-
- # compress kernel modules
- find "${pkgdir}" -name "*.ko" -exec gzip -9 {} +
-
- # load module on startup
- echo tp_smapi > "${srcdir}/tp_smapi-lts.conf"
- install -Dm644 "${srcdir}/tp_smapi-lts.conf" "${pkgdir}/usr/lib/modules-load.d/tp_smapi-lts.conf"
-
- # update kernel version in install file
- sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/tp_smapi-lts.install"
-}