summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-27 03:39:40 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-27 03:39:40 +0000
commite32d80836b584e2625d5ff5a9347090bdd58da34 (patch)
tree491e167a6fc43599ac073ecf9edfb5d8ba5aa90a /libre
parent3f23b6bf0b09b0edd47e2c763b3be136bc2fe274 (diff)
Thu Feb 27 03:37:13 UTC 2014
Diffstat (limited to 'libre')
-rw-r--r--libre/icecat-adblock-plus/PKGBUILD11
-rw-r--r--libre/iceweasel-adblock-plus/PKGBUILD11
-rw-r--r--libre/ponysay-libre/PKGBUILD49
-rw-r--r--libre/xbmc-libre/PKGBUILD10
-rw-r--r--libre/xbmc-libre/xbmc.service1
5 files changed, 65 insertions, 17 deletions
diff --git a/libre/icecat-adblock-plus/PKGBUILD b/libre/icecat-adblock-plus/PKGBUILD
index b1ccb3b09..412535caf 100644
--- a/libre/icecat-adblock-plus/PKGBUILD
+++ b/libre/icecat-adblock-plus/PKGBUILD
@@ -1,11 +1,10 @@
-# $Id: PKGBUILD 104302 2014-01-17 11:39:31Z spupykin $
+# $Id: PKGBUILD 106267 2014-02-26 10:45:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
pkgname=icecat-adblock-plus
-pkgver=2.4.1
-_addons_file=230225
-pkgrel=1.1
+pkgver=2.5.1
+_addons_file=244872
+pkgrel=1
pkgdesc="plugin for icecat which block ads and banners"
arch=('any')
url="http://adblockplus.org/"
@@ -15,7 +14,7 @@ makedepends=('unzip')
provides=(firefox-adblock-plus=$pkgver)
noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi")
source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi)
-md5sums=('3fe51813290a0d7103b620e2813a8c0e')
+md5sums=('7e1c072961be0d108c81ab91bd89d687')
package() {
# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.`
diff --git a/libre/iceweasel-adblock-plus/PKGBUILD b/libre/iceweasel-adblock-plus/PKGBUILD
index 0a248955b..5d30cd52c 100644
--- a/libre/iceweasel-adblock-plus/PKGBUILD
+++ b/libre/iceweasel-adblock-plus/PKGBUILD
@@ -1,11 +1,10 @@
-# $Id: PKGBUILD 104302 2014-01-17 11:39:31Z spupykin $
+# $Id: PKGBUILD 106267 2014-02-26 10:45:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
pkgname=iceweasel-adblock-plus
-pkgver=2.4.1
-_addons_file=230225
-pkgrel=1.1
+pkgver=2.5.1
+_addons_file=244872
+pkgrel=1
pkgdesc="plugin for iceweasel which block ads and banners"
arch=('any')
url="http://adblockplus.org/"
@@ -15,7 +14,7 @@ makedepends=('unzip')
provides=(firefox-adblock-plus=$pkgver)
noextract=("adblock_plus-$pkgver-fx+tb+fn+sm.xpi")
source=(https://addons.mozilla.org/firefox/downloads/file/${_addons_file}/adblock_plus-$pkgver-fx+tb+fn+sm.xpi)
-md5sums=('3fe51813290a0d7103b620e2813a8c0e')
+md5sums=('7e1c072961be0d108c81ab91bd89d687')
package() {
# _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1-2 -d.`
diff --git a/libre/ponysay-libre/PKGBUILD b/libre/ponysay-libre/PKGBUILD
new file mode 100644
index 000000000..703a562d6
--- /dev/null
+++ b/libre/ponysay-libre/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Erkin Batu Altunbaş <erkinbatu@gmail.com>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+# Contributor (Parabola): Márcio Silva <coadde@parabola.nu>
+
+_pkgname=ponysay
+pkgname=ponysay-libre
+pkgver=3.0.1
+pkgrel=1
+pkgdesc="cowsay reimplemention for ponies, without nonfree pony graphics"
+url="http://erkin.github.com/ponysay/"
+arch=('any')
+license=('GPL3')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+depends=('python' 'bash')
+makedepends=('git')
+mksource=("ponysay-$pkgver.tar.gz::https://github.com/erkin/ponysay/tarball/$pkgver")
+source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz")
+mkmd5sums=('3fac23eb1a3a9d0640ecebd1919b4390')
+md5sums=('21451fee1a773eb76572cc1cafad8422')
+
+mksource() {
+ cd "$srcdir/erkin-ponysay-"*
+
+ # Generate a nonfree pony graphics list to replace it with empty files
+ # NOTE: empty files are necessary for the building checking only, --freedom=strict will not include them for the packaging
+ grep -rIl 'FREE: sharable' | cat > nonfree-pony-graphics-list.txt
+ grep -rIl 'FREE: no' | cat >> nonfree-pony-graphics-list.txt
+
+ # Remove nonfree pony graphics
+ rm -v $(grep -rIl 'FREE: sharable')
+ rm -v $(grep -rIl 'FREE: no')
+
+ # Generate empty files
+ for x in $(cat nonfree-pony-graphics-list.txt); do
+ touch $x
+ done
+
+ # Remove list
+ rm -v nonfree-pony-graphics-list.txt
+}
+
+package() {
+ cd "$srcdir/erkin-ponysay-"*
+
+ python3 setup.py --prefix=/usr --dest-dir=$pkgdir --freedom=strict --everything --with-pdf=/usr/share/doc/ponysay --without-pdf-compression install
+}
diff --git a/libre/xbmc-libre/PKGBUILD b/libre/xbmc-libre/PKGBUILD
index 15a664a15..cccfb7941 100644
--- a/libre/xbmc-libre/PKGBUILD
+++ b/libre/xbmc-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 106153 2014-02-24 09:49:46Z spupykin $
+# $Id: PKGBUILD 106277 2014-02-26 11:07:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
@@ -12,7 +12,7 @@ _pkgname=xbmc
pkgname=xbmc-libre
pkgver=12.3
_codename=Frodo
-pkgrel=9.1
+pkgrel=10
pkgdesc="A software media player and entertainment hub for digital media, without unrar support"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@@ -41,7 +41,7 @@ source=("https://repo.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}
"libass.patch::https://bugs.archlinux.org/index.php?getfile=11285")
mkmd5sums=('7ae385ebf8e5cfcb917393235e6efbdb')
md5sums=('7c71af50af55b097e4365a58b70754e8'
- '4d3cc17703a9a477a32db486c257a305'
+ 'a32b879d010a0060a8057bb8cb2f4c9e'
'02f7951824ee13103344f36009c0ef2a'
'7fd6399d2ffbdf06b724f0cc2efa0784')
@@ -131,7 +131,7 @@ package() {
done
install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service
-# install -Dm0644 $srcdir/polkit.rules $pkgdir/usr/share/polkit-1/rules.d/10-xbmc.rules
-# chmod 0700 $pkgdir/usr/share/polkit-1/rules.d/
+ install -Dm0644 $srcdir/polkit.rules $pkgdir/usr/share/polkit-1/rules.d/10-xbmc.rules
+ chmod 0700 $pkgdir/usr/share/polkit-1/rules.d/
}
# vim:set ts=2 sw=2 et:
diff --git a/libre/xbmc-libre/xbmc.service b/libre/xbmc-libre/xbmc.service
index 9987dfeb9..4353defa2 100644
--- a/libre/xbmc-libre/xbmc.service
+++ b/libre/xbmc-libre/xbmc.service
@@ -5,6 +5,7 @@ After = remote-fs.target
[Service]
User = xbmc
Group = xbmc
+PAMName=login
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch /usr/bin/xbmc-standalone -l /run/lirc/lircd -- :0 -nolisten tcp
Restart = on-abort