[dolphin-emu] 03/33: Add watch file and use uscan to download + repack tarball

James Cowgill jcowgill-guest at moszumanska.debian.org
Sun Jan 11 22:39:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch master
in repository dolphin-emu.

commit 8c8cfa5586ef8cc3e5ca36570615c031e73a96f5
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Sat Oct 25 19:56:50 2014 +0100

    Add watch file and use uscan to download + repack tarball
---
 debian/copyright | 27 ++++++++++++++++++++++++++-
 debian/rules     | 22 +---------------------
 debian/watch     |  4 +++-
 3 files changed, 30 insertions(+), 23 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 98621bc..9fb6041 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,30 @@ Source: http://dolphin-emu.org/
 Upstream-Name: Dolphin Emulator
 Upstream-Contact: http://forums.dolphin-emu.org/
                   http://code.google.com/p/dolphin-emu/people/list
+Files-Excluded:
+ Externals/Bochs_disasm/PowerPCDisasm.*
+ Externals/GLES3
+ Externals/GLew
+ Externals/LZO
+ Externals/OpenAL
+ Externals/SDL
+ Externals/SFML
+ Externals/SOIL
+ Externals/gettext
+ Externals/libiconv-1.14
+ Externals/libjpeg
+ Externals/libpng
+ Externals/libusb
+ Externals/miniupnpc
+ Externals/msvcrt
+ Externals/polarssl
+ Externals/portaudio
+ Externals/soundtouch
+ Externals/wxWidgets3
+ Externals/zlib
+ Installer
+ Source/Android/libs/android-support-v13.jar
+ Source/Core/Common/Src/Crypto/aes*
 
 Files: *
 Copyright: 2003-2013, Dolphin Emulator Project
@@ -296,7 +320,8 @@ License: LGPL-2.1
 
 Files: debian/*
 Copyright:
- 2013, Brandon Barnes <winterknight at email.com>
+ 2014, James Cowgill <james410 at cowgill.org.uk>
+ 2013-2014, Brandon Barnes <winterknight at email.com>
  2010-2013, Glenn Rice <glennricster at gmail.com>
 License: GPL-2
 
diff --git a/debian/rules b/debian/rules
index 8afe49f..199a4ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,25 +39,5 @@ override_dh_auto_install:
 	dh_auto_install
 	find $(CURDIR)/debian/tmp -type d -empty -delete
 
-DOLPHIN_ARC_DIR=dolphin-emu-$(STABLE_VERSION)
-DOLPHIN_GIT_DIR=dolphin-emu
-
 get-orig-source:
-	@test -d $(DOLPHIN_ARC_DIR) -o -d $(DOLPHIN_GIT_DIR) && \
-		echo "Please remove directories $(DOLPHIN_ARC_DIR) and/or $(DOLPHIN_GIT_DIR) and try again." || \
-		true
-	test '!' -d $(DOLPHIN_ARC_DIR) && test '!' -d $(DOLPHIN_GIT_DIR)
-	git clone https://code.google.com/p/dolphin-emu/ $(DOLPHIN_GIT_DIR)
-	(cd $(DOLPHIN_GIT_DIR) && \
-		git archive --prefix=$(DOLPHIN_ARC_DIR)/ $(GITREV) |\
-		tar -x -C ..)
-	(cd $(DOLPHIN_ARC_DIR) && rm -rf .g* .h*)
-	(cd $(DOLPHIN_ARC_DIR)/Externals && \
-		rm -rf GLES3 GLew LZO OpenAL SDL SFML SOIL gettext libiconv-1.14 libjpeg \
-		libpng libusb miniupnpc msvcrt polarssl portaudio soundtouch wxWidgets3 zlib && \
-		rm Bochs_disasm/PowerPCDisasm.*)
-	(cd $(DOLPHIN_ARC_DIR)/Source/Core/Common/Src/Crypto && \
-		rm aes*)
-	(cd $(DOLPHIN_ARC_DIR) && rm -rf Installer)
-	tar c $(DOLPHIN_ARC_DIR) | xz > dolphin-emu_$(STABLE_VERSION).orig.tar.xz
-	rm -rf $(DOLPHIN_ARC_DIR) $(DOLPHIN_GIT_DIR)
+	uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --repack --compression=xz --download-current-version
diff --git a/debian/watch b/debian/watch
index 29aab98..4700eb4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1 +1,3 @@
-# Upstream source is only provided in a git repository at https://code.google.com/p/dolphin-emu/
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/dolphin-$1\.tar\.gz/ \
+  https://github.com/dolphin-emu/dolphin/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/dolphin-emu.git



More information about the Pkg-games-commits mailing list